mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
20 lines
555 B
Text
20 lines
555 B
Text
FROM centos:centos6
|
|
|
|
RUN yum update -y -q
|
|
RUN yum groupinstall -y Development Tools
|
|
RUN yum install -y \
|
|
gcc gcc-c++ git make curl zlib-devel openssl-devel
|
|
|
|
ENV LANG en_US.UTF-8
|
|
ENV LC_ALL en_US.UTF-8
|
|
RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8
|
|
|
|
ENV RUBY_VERSION 2.3.7
|
|
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.7 \
|
|
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
|
|
&& make \
|
|
&& make install
|
|
|
|
RUN gem install bundler
|