mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-08 17:42:56 +01:00
24 lines
760 B
Docker
24 lines
760 B
Docker
FROM debian:wheezy
|
|
|
|
RUN apt-get update -q \
|
|
&& apt-get install -y g++ gcc git make libc6-dev curl zlib1g-dev libssl-dev locales \
|
|
&& apt-get autoremove -yq \
|
|
&& apt-get clean -yqq \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen
|
|
RUN locale-gen C.UTF-8
|
|
ENV LANG C.UTF-8
|
|
ENV LANGUAGE C
|
|
ENV LC_ALL C.UTF-8
|
|
|
|
ENV RUBY_VERSION 2.6.5
|
|
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \
|
|
| tar -xzC /tmp \
|
|
&& cd "/tmp/ruby-${RUBY_VERSION}" \
|
|
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
|
|
&& make \
|
|
&& make install \
|
|
&& cd / \
|
|
&& rm -rf "/tmp/ruby-${RUBY_VERSION}" \
|
|
&& gem install bundler --no-document --version 2.2.3
|