Add Dockerfiles of images for omnibus-gitlab's tests

This commit is contained in:
Balasankar C 2017-05-18 14:23:29 +00:00 committed by Marin Jankovski
parent ce51bcef65
commit 4b782f299b
8 changed files with 123 additions and 0 deletions

View file

@ -0,0 +1,15 @@
FROM debian:wheezy
RUN apt-get update -q \
&& apt-get install -y gcc git make libc6-dev curl zlib1g-dev libssl-dev \
&& rm -rf /var/lib/apt/lists/*
ENV RUBY_VERSION 2.3.3
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.3.3 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler