1
0
Fork 0
mirror of https://github.com/docker-library/ruby.git synced 2022-11-09 11:41:34 -05:00

Update 2.7 to preview2 version

This commit is contained in:
Codruț Constantin Gușoi 2019-10-27 23:05:01 +00:00
parent 924602dc91
commit 7c4fcc4ac1
4 changed files with 7 additions and 7 deletions

View file

@ -12,8 +12,8 @@ RUN set -eux; \
} >> /usr/local/etc/gemrc } >> /usr/local/etc/gemrc
ENV RUBY_MAJOR 2.7-rc ENV RUBY_MAJOR 2.7-rc
ENV RUBY_VERSION 2.7.0-preview1 ENV RUBY_VERSION 2.7.0-preview2
ENV RUBY_DOWNLOAD_SHA256 8c546df3345398b3edc9d0ab097846f033783d33762889fd0f3dc8bb465c3354 ENV RUBY_DOWNLOAD_SHA256 fa39f088331f6d505154aa9d025aab177fdffedfbbabccd900b8c02e745bc077
# some of ruby's build scripts are written in ruby # some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built # we purge system ruby later to make sure our final image uses what we just built

View file

@ -9,8 +9,8 @@ RUN set -eux; \
} >> /usr/local/etc/gemrc } >> /usr/local/etc/gemrc
ENV RUBY_MAJOR 2.7-rc ENV RUBY_MAJOR 2.7-rc
ENV RUBY_VERSION 2.7.0-preview1 ENV RUBY_VERSION 2.7.0-preview2
ENV RUBY_DOWNLOAD_SHA256 8c546df3345398b3edc9d0ab097846f033783d33762889fd0f3dc8bb465c3354 ENV RUBY_DOWNLOAD_SHA256 fa39f088331f6d505154aa9d025aab177fdffedfbbabccd900b8c02e745bc077
# some of ruby's build scripts are written in ruby # some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built # we purge system ruby later to make sure our final image uses what we just built

View file

@ -23,8 +23,8 @@ RUN set -eux; \
} >> /usr/local/etc/gemrc } >> /usr/local/etc/gemrc
ENV RUBY_MAJOR 2.7-rc ENV RUBY_MAJOR 2.7-rc
ENV RUBY_VERSION 2.7.0-preview1 ENV RUBY_VERSION 2.7.0-preview2
ENV RUBY_DOWNLOAD_SHA256 8c546df3345398b3edc9d0ab097846f033783d33762889fd0f3dc8bb465c3354 ENV RUBY_DOWNLOAD_SHA256 fa39f088331f6d505154aa9d025aab177fdffedfbbabccd900b8c02e745bc077
# some of ruby's build scripts are written in ruby # some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built # we purge system ruby later to make sure our final image uses what we just built

View file

@ -21,7 +21,7 @@ latest_gem_version() {
rubygems='3.0.3' rubygems='3.0.3'
declare -A newEnoughRubygems=( declare -A newEnoughRubygems=(
[2.6]=1 # 2.6.3 => gems 3.0.3 (https://github.com/ruby/ruby/blob/v2_6_3/lib/rubygems.rb#L12) [2.6]=1 # 2.6.3 => gems 3.0.3 (https://github.com/ruby/ruby/blob/v2_6_3/lib/rubygems.rb#L12)
[2.7]=1 # 2.7.0-preview1 => gems 3.1.0.pre1 (https://github.com/ruby/ruby/blob/v2_7_0_preview1/lib/rubygems.rb#L12) [2.7]=1 # 2.7.0-preview2 => gems 3.1.0.pre1 (https://github.com/ruby/ruby/blob/v2_7_0_preview1/lib/rubygems.rb#L12)
) )
# TODO once all versions are in this family of "new enough", remove RUBYGEMS_VERSION code entirely # TODO once all versions are in this family of "new enough", remove RUBYGEMS_VERSION code entirely