Bump ruby to 2.4.4

This commit is contained in:
Balasankar "Balu" C 2018-06-16 20:59:16 +05:30
parent ade5adcc54
commit 8841aa79c3
9 changed files with 28 additions and 30 deletions

View file

@ -1,7 +1,7 @@
FROM ubuntu:18.04 FROM ubuntu:18.04
RUN apt-get update -q \ RUN apt-get update -q \
&& apt-get install -y g++-6 gcc-6 git make curl zlib1g-dev libssl1.0-dev locales \ && apt-get install -y g++ gcc git make curl zlib1g-dev libssl1.0-dev locales \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
@ -9,13 +9,11 @@ RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
ENV CC /usr/bin/gcc-6
ENV CXX /usr/bin/g++-6
ENV RUBY_VERSION 2.3.7 ENV RUBY_VERSION 2.4.4
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \ | tar -xzC /tmp \
&& cd /tmp/ruby-2.3.7 \ && cd /tmp/ruby-2.4.4 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\ && ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \ && make \
&& make install && make install

View file

@ -9,10 +9,10 @@ ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8 RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8
ENV RUBY_VERSION 2.3.7 ENV RUBY_VERSION 2.4.4
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \ | tar -xzC /tmp \
&& cd /tmp/ruby-2.3.7 \ && cd /tmp/ruby-2.4.4 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\ && ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \ && make \
&& make install && make install

View file

@ -9,10 +9,10 @@ ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8 RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8
ENV RUBY_VERSION 2.3.7 ENV RUBY_VERSION 2.4.4
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \ | tar -xzC /tmp \
&& cd /tmp/ruby-2.3.7 \ && cd /tmp/ruby-2.4.4 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\ && ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \ && make \
&& make install && make install

View file

@ -10,10 +10,10 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
ENV RUBY_VERSION 2.3.7 ENV RUBY_VERSION 2.4.4
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \ | tar -xzC /tmp \
&& cd /tmp/ruby-2.3.7 \ && cd /tmp/ruby-2.4.4 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\ && ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \ && make \
&& make install && make install

View file

@ -10,10 +10,10 @@ ENV LC_ALL en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE en_US:en
RUN localedef -i en_US -f UTF-8 en_US.UTF-8 RUN localedef -i en_US -f UTF-8 en_US.UTF-8
ENV RUBY_VERSION 2.3.7 ENV RUBY_VERSION 2.4.4
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \ | tar -xzC /tmp \
&& cd /tmp/ruby-2.3.7 \ && cd /tmp/ruby-2.4.4 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\ && ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \ && make \
&& make install && make install

View file

@ -11,10 +11,10 @@ ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
ENV RUBY_VERSION 2.3.7 ENV RUBY_VERSION 2.4.4
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \ | tar -xzC /tmp \
&& cd /tmp/ruby-2.3.7 \ && cd /tmp/ruby-2.4.4 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\ && ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \ && make \
&& make install && make install

View file

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

View file

@ -10,10 +10,10 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
ENV RUBY_VERSION 2.3.7 ENV RUBY_VERSION 2.4.4
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \ | tar -xzC /tmp \
&& cd /tmp/ruby-2.3.7 \ && cd /tmp/ruby-2.4.4 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\ && ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \ && make \
&& make install && make install

View file

@ -10,10 +10,10 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
ENV RUBY_VERSION 2.3.7 ENV RUBY_VERSION 2.4.4
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \ | tar -xzC /tmp \
&& cd /tmp/ruby-2.3.7 \ && cd /tmp/ruby-2.4.4 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\ && ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \ && make \
&& make install && make install