Skip to content

Conversation

@sdwolfz
Copy link
Contributor

@sdwolfz sdwolfz commented Sep 27, 2020

Copied the files over from 2.7 and changed the versions and sha to be:

ENV RUBY_MAJOR 3.0-rc
ENV RUBY_VERSION 3.0.0-preview1
ENV RUBY_DOWNLOAD_SHA256 aa7cce0c99f4ea2145fef9b78d74a44857754396790cd23bad75d759811e7a2a

Not sure what the change in update.sh is supposed to be, but I followed the pattern anyway. Fingers crossed it works 🤞 .

Official release announcement:

Needs this change to pass tests:

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-preview2 => gems 3.1.0.pre1 (https://github.com/ruby/ruby/blob/v2_7_0_preview1/lib/rubygems.rb#L12)
[3.0]=1 # 3.0.0-preview1 => gems 3.2.0.rc.1 (https://github.com/ruby/ruby/blob/v3_0_0_preview1/lib/rubygems.rb#L11)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is verbatim what I have in my local working directory where I was experimenting with making this change. 😅 😍

@@ -0,0 +1,130 @@
FROM alpine:3.11
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file should be dropped completely -- we don't support newer releases on older base operating systems unless there's a really compelling reason to do so (and for Alpine 3.11 vs 3.12, there isn't a strong one we've seen).

tianon added a commit to docker-library/official-images that referenced this pull request Sep 28, 2020
@tianon
Copy link
Member

tianon commented Sep 28, 2020

Nice, looks great, thank you! 👍

@tianon tianon merged commit 0555f85 into docker-library:master Sep 28, 2020
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Sep 28, 2020
Changes:

- docker-library/ruby@0555f85: Merge pull request docker-library/ruby#326 from sdwolfz/ruby-3
- docker-library/ruby@57a8df4: Add ruby 3.0.0-preview1
@sdwolfz sdwolfz deleted the ruby-3 branch September 28, 2020 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants