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:
parent
924602dc91
commit
7c4fcc4ac1
4 changed files with 7 additions and 7 deletions
|
@ -12,8 +12,8 @@ RUN set -eux; \
|
|||
} >> /usr/local/etc/gemrc
|
||||
|
||||
ENV RUBY_MAJOR 2.7-rc
|
||||
ENV RUBY_VERSION 2.7.0-preview1
|
||||
ENV RUBY_DOWNLOAD_SHA256 8c546df3345398b3edc9d0ab097846f033783d33762889fd0f3dc8bb465c3354
|
||||
ENV RUBY_VERSION 2.7.0-preview2
|
||||
ENV RUBY_DOWNLOAD_SHA256 fa39f088331f6d505154aa9d025aab177fdffedfbbabccd900b8c02e745bc077
|
||||
|
||||
# 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
|
||||
|
|
|
@ -9,8 +9,8 @@ RUN set -eux; \
|
|||
} >> /usr/local/etc/gemrc
|
||||
|
||||
ENV RUBY_MAJOR 2.7-rc
|
||||
ENV RUBY_VERSION 2.7.0-preview1
|
||||
ENV RUBY_DOWNLOAD_SHA256 8c546df3345398b3edc9d0ab097846f033783d33762889fd0f3dc8bb465c3354
|
||||
ENV RUBY_VERSION 2.7.0-preview2
|
||||
ENV RUBY_DOWNLOAD_SHA256 fa39f088331f6d505154aa9d025aab177fdffedfbbabccd900b8c02e745bc077
|
||||
|
||||
# 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
|
||||
|
|
|
@ -23,8 +23,8 @@ RUN set -eux; \
|
|||
} >> /usr/local/etc/gemrc
|
||||
|
||||
ENV RUBY_MAJOR 2.7-rc
|
||||
ENV RUBY_VERSION 2.7.0-preview1
|
||||
ENV RUBY_DOWNLOAD_SHA256 8c546df3345398b3edc9d0ab097846f033783d33762889fd0f3dc8bb465c3354
|
||||
ENV RUBY_VERSION 2.7.0-preview2
|
||||
ENV RUBY_DOWNLOAD_SHA256 fa39f088331f6d505154aa9d025aab177fdffedfbbabccd900b8c02e745bc077
|
||||
|
||||
# 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
|
||||
|
|
|
@ -21,7 +21,7 @@ latest_gem_version() {
|
|||
rubygems='3.0.3'
|
||||
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.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
|
||||
|
||||
|
|
Loading…
Reference in a new issue