gitlab-build-images/Dockerfile.omnibus-gitlab-trusty
Rémy Coutable b74990fdd5
Add a custom Docker image for Danger jobs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-07-26 13:09:21 +02:00

15 lines
471 B
Text

FROM ubuntu:14.04
RUN apt-get update -q \
&& apt-get install -y g++ gcc git make curl zlib1g-dev libssl-dev \
&& rm -rf /var/lib/apt/lists/*
ENV RUBY_VERSION 2.4.4
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.4.4 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler --no-document