Skip to content

Update ruby#20324

Merged
yosifkit merged 1 commit intodocker-library:masterfrom
docker-library-bot:ruby
Nov 19, 2025
Merged

Update ruby#20324
yosifkit merged 1 commit intodocker-library:masterfrom
docker-library-bot:ruby

Conversation

@tianon
Copy link
Copy Markdown
Member

@tianon tianon commented Nov 19, 2025

Changes:

Changes:

- docker-library/ruby@8416c3f: Merge pull request docker-library/ruby#517 from infosiftr/4.0
- docker-library/ruby@7e8d616: Update to 4.0.0-preview2
@github-actions
Copy link
Copy Markdown

Diff for c5935d6:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index de77dba..24a474a 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -91,32 +91,32 @@ Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
 GitCommit: 7b7c8319337974e0df7e809c2360027d873ab259
 Directory: 3.4/trixie
 
-Tags: 3.5.0-preview1-alpine3.21, 3.5-rc-alpine3.21
+Tags: 4.0.0-preview2-alpine3.21, 4.0-rc-alpine3.21
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: f0bf5f365387703579af740f915b6f32c4ee4c28
-Directory: 3.5-rc/alpine3.21
+GitCommit: 7e8d616d1a178acd0f6e570c9f208f8c5e1a11d6
+Directory: 4.0-rc/alpine3.21
 
-Tags: 3.5.0-preview1-alpine3.22, 3.5-rc-alpine3.22, 3.5.0-preview1-alpine, 3.5-rc-alpine
+Tags: 4.0.0-preview2-alpine3.22, 4.0-rc-alpine3.22, 4.0.0-preview2-alpine, 4.0-rc-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 7d367fd4559ed09fedea90e1184638b36cfb64d2
-Directory: 3.5-rc/alpine3.22
+GitCommit: 7e8d616d1a178acd0f6e570c9f208f8c5e1a11d6
+Directory: 4.0-rc/alpine3.22
 
-Tags: 3.5.0-preview1-bookworm, 3.5-rc-bookworm
+Tags: 4.0.0-preview2-bookworm, 4.0-rc-bookworm
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 26c507eea2fc314ad774636f40acac38233bf942
-Directory: 3.5-rc/bookworm
+GitCommit: 7e8d616d1a178acd0f6e570c9f208f8c5e1a11d6
+Directory: 4.0-rc/bookworm
 
-Tags: 3.5.0-preview1-slim-bookworm, 3.5-rc-slim-bookworm
+Tags: 4.0.0-preview2-slim-bookworm, 4.0-rc-slim-bookworm
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 26c507eea2fc314ad774636f40acac38233bf942
-Directory: 3.5-rc/slim-bookworm
+GitCommit: 7e8d616d1a178acd0f6e570c9f208f8c5e1a11d6
+Directory: 4.0-rc/slim-bookworm
 
-Tags: 3.5.0-preview1-slim-trixie, 3.5-rc-slim-trixie, 3.5.0-preview1-slim, 3.5-rc-slim
+Tags: 4.0.0-preview2-slim-trixie, 4.0-rc-slim-trixie, 4.0.0-preview2-slim, 4.0-rc-slim
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 26c507eea2fc314ad774636f40acac38233bf942
-Directory: 3.5-rc/slim-trixie
+GitCommit: 7e8d616d1a178acd0f6e570c9f208f8c5e1a11d6
+Directory: 4.0-rc/slim-trixie
 
-Tags: 3.5.0-preview1-trixie, 3.5-rc-trixie, 3.5.0-preview1, 3.5-rc
+Tags: 4.0.0-preview2-trixie, 4.0-rc-trixie, 4.0.0-preview2, 4.0-rc
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 26c507eea2fc314ad774636f40acac38233bf942
-Directory: 3.5-rc/trixie
+GitCommit: 7e8d616d1a178acd0f6e570c9f208f8c5e1a11d6
+Directory: 4.0-rc/trixie
diff --git a/_bashbrew-list b/_bashbrew-list
index cf8e661..0ac8248 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -61,24 +61,24 @@ ruby:3.4.7-slim
 ruby:3.4.7-slim-bookworm
 ruby:3.4.7-slim-trixie
 ruby:3.4.7-trixie
-ruby:3.5-rc
-ruby:3.5-rc-alpine
-ruby:3.5-rc-alpine3.21
-ruby:3.5-rc-alpine3.22
-ruby:3.5-rc-bookworm
-ruby:3.5-rc-slim
-ruby:3.5-rc-slim-bookworm
-ruby:3.5-rc-slim-trixie
-ruby:3.5-rc-trixie
-ruby:3.5.0-preview1
-ruby:3.5.0-preview1-alpine
-ruby:3.5.0-preview1-alpine3.21
-ruby:3.5.0-preview1-alpine3.22
-ruby:3.5.0-preview1-bookworm
-ruby:3.5.0-preview1-slim
-ruby:3.5.0-preview1-slim-bookworm
-ruby:3.5.0-preview1-slim-trixie
-ruby:3.5.0-preview1-trixie
+ruby:4.0-rc
+ruby:4.0-rc-alpine
+ruby:4.0-rc-alpine3.21
+ruby:4.0-rc-alpine3.22
+ruby:4.0-rc-bookworm
+ruby:4.0-rc-slim
+ruby:4.0-rc-slim-bookworm
+ruby:4.0-rc-slim-trixie
+ruby:4.0-rc-trixie
+ruby:4.0.0-preview2
+ruby:4.0.0-preview2-alpine
+ruby:4.0.0-preview2-alpine3.21
+ruby:4.0.0-preview2-alpine3.22
+ruby:4.0.0-preview2-bookworm
+ruby:4.0.0-preview2-slim
+ruby:4.0.0-preview2-slim-bookworm
+ruby:4.0.0-preview2-slim-trixie
+ruby:4.0.0-preview2-trixie
 ruby:alpine
 ruby:alpine3.21
 ruby:alpine3.22
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index e416d7e..8194bf1 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -10,12 +10,12 @@ ruby:3.3-alpine3.21
 ruby:3.3-bookworm
 ruby:3.3-slim
 ruby:3.3-slim-bookworm
-ruby:3.5-rc
-ruby:3.5-rc-alpine
-ruby:3.5-rc-alpine3.21
-ruby:3.5-rc-bookworm
-ruby:3.5-rc-slim
-ruby:3.5-rc-slim-bookworm
+ruby:4.0-rc
+ruby:4.0-rc-alpine
+ruby:4.0-rc-alpine3.21
+ruby:4.0-rc-bookworm
+ruby:4.0-rc-slim
+ruby:4.0-rc-slim-bookworm
 ruby:alpine
 ruby:alpine3.21
 ruby:bookworm
diff --git a/ruby_3.5-rc-alpine/Dockerfile b/ruby_4.0-rc-alpine/Dockerfile
similarity index 93%
rename from ruby_3.5-rc-alpine/Dockerfile
rename to ruby_4.0-rc-alpine/Dockerfile
index 4120620..92223e7 100644
--- a/ruby_3.5-rc-alpine/Dockerfile
+++ b/ruby_4.0-rc-alpine/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
 
 ENV LANG C.UTF-8
 
-# https://www.ruby-lang.org/en/news/2025/04/18/ruby-3-5-0-preview1-released/
-ENV RUBY_VERSION 3.5.0-preview1
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 c6cc1e9f23fe4719b024b8305345ca0cff4e1bc159f3ebff86cb5b87969863aa
+# https://www.ruby-lang.org/en/news/2025/11/17/ruby-4-0-0-preview2-released/
+ENV RUBY_VERSION 4.0.0-preview2
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0-preview2.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 0b92b15466d77a9d7e59e4a75f050d42cd50fe96c951d2b3b9f8029394cd9a43
 
 # 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
diff --git a/ruby_3.5-rc-alpine3.21/Dockerfile b/ruby_4.0-rc-alpine3.21/Dockerfile
similarity index 93%
rename from ruby_3.5-rc-alpine3.21/Dockerfile
rename to ruby_4.0-rc-alpine3.21/Dockerfile
index abfabe7..be1dfcf 100644
--- a/ruby_3.5-rc-alpine3.21/Dockerfile
+++ b/ruby_4.0-rc-alpine3.21/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
 
 ENV LANG C.UTF-8
 
-# https://www.ruby-lang.org/en/news/2025/04/18/ruby-3-5-0-preview1-released/
-ENV RUBY_VERSION 3.5.0-preview1
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 c6cc1e9f23fe4719b024b8305345ca0cff4e1bc159f3ebff86cb5b87969863aa
+# https://www.ruby-lang.org/en/news/2025/11/17/ruby-4-0-0-preview2-released/
+ENV RUBY_VERSION 4.0.0-preview2
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0-preview2.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 0b92b15466d77a9d7e59e4a75f050d42cd50fe96c951d2b3b9f8029394cd9a43
 
 # 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
diff --git a/ruby_3.5-rc-bookworm/Dockerfile b/ruby_4.0-rc-bookworm/Dockerfile
similarity index 92%
rename from ruby_3.5-rc-bookworm/Dockerfile
rename to ruby_4.0-rc-bookworm/Dockerfile
index abb1e8a..a0ab988 100644
--- a/ruby_3.5-rc-bookworm/Dockerfile
+++ b/ruby_4.0-rc-bookworm/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
 
 ENV LANG C.UTF-8
 
-# https://www.ruby-lang.org/en/news/2025/04/18/ruby-3-5-0-preview1-released/
-ENV RUBY_VERSION 3.5.0-preview1
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 c6cc1e9f23fe4719b024b8305345ca0cff4e1bc159f3ebff86cb5b87969863aa
+# https://www.ruby-lang.org/en/news/2025/11/17/ruby-4-0-0-preview2-released/
+ENV RUBY_VERSION 4.0.0-preview2
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0-preview2.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 0b92b15466d77a9d7e59e4a75f050d42cd50fe96c951d2b3b9f8029394cd9a43
 
 # 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
diff --git a/ruby_3.5-rc-slim-bookworm/Dockerfile b/ruby_4.0-rc-slim-bookworm/Dockerfile
similarity index 93%
rename from ruby_3.5-rc-slim-bookworm/Dockerfile
rename to ruby_4.0-rc-slim-bookworm/Dockerfile
index 9f359ea..8902a69 100644
--- a/ruby_3.5-rc-slim-bookworm/Dockerfile
+++ b/ruby_4.0-rc-slim-bookworm/Dockerfile
@@ -20,10 +20,10 @@ RUN set -eux; \
 
 ENV LANG C.UTF-8
 
-# https://www.ruby-lang.org/en/news/2025/04/18/ruby-3-5-0-preview1-released/
-ENV RUBY_VERSION 3.5.0-preview1
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 c6cc1e9f23fe4719b024b8305345ca0cff4e1bc159f3ebff86cb5b87969863aa
+# https://www.ruby-lang.org/en/news/2025/11/17/ruby-4-0-0-preview2-released/
+ENV RUBY_VERSION 4.0.0-preview2
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0-preview2.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 0b92b15466d77a9d7e59e4a75f050d42cd50fe96c951d2b3b9f8029394cd9a43
 
 # 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
diff --git a/ruby_3.5-rc-slim/Dockerfile b/ruby_4.0-rc-slim/Dockerfile
similarity index 93%
rename from ruby_3.5-rc-slim/Dockerfile
rename to ruby_4.0-rc-slim/Dockerfile
index 12f1096..84ad5cb 100644
--- a/ruby_3.5-rc-slim/Dockerfile
+++ b/ruby_4.0-rc-slim/Dockerfile
@@ -20,10 +20,10 @@ RUN set -eux; \
 
 ENV LANG C.UTF-8
 
-# https://www.ruby-lang.org/en/news/2025/04/18/ruby-3-5-0-preview1-released/
-ENV RUBY_VERSION 3.5.0-preview1
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 c6cc1e9f23fe4719b024b8305345ca0cff4e1bc159f3ebff86cb5b87969863aa
+# https://www.ruby-lang.org/en/news/2025/11/17/ruby-4-0-0-preview2-released/
+ENV RUBY_VERSION 4.0.0-preview2
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0-preview2.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 0b92b15466d77a9d7e59e4a75f050d42cd50fe96c951d2b3b9f8029394cd9a43
 
 # 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
diff --git a/ruby_3.5-rc/Dockerfile b/ruby_4.0-rc/Dockerfile
similarity index 92%
rename from ruby_3.5-rc/Dockerfile
rename to ruby_4.0-rc/Dockerfile
index 33b582a..686f2bf 100644
--- a/ruby_3.5-rc/Dockerfile
+++ b/ruby_4.0-rc/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
 
 ENV LANG C.UTF-8
 
-# https://www.ruby-lang.org/en/news/2025/04/18/ruby-3-5-0-preview1-released/
-ENV RUBY_VERSION 3.5.0-preview1
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 c6cc1e9f23fe4719b024b8305345ca0cff4e1bc159f3ebff86cb5b87969863aa
+# https://www.ruby-lang.org/en/news/2025/11/17/ruby-4-0-0-preview2-released/
+ENV RUBY_VERSION 4.0.0-preview2
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0-preview2.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 0b92b15466d77a9d7e59e4a75f050d42cd50fe96c951d2b3b9f8029394cd9a43
 
 # 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

Relevant Maintainers:

@yosifkit yosifkit merged commit af5185c into docker-library:master Nov 19, 2025
29 checks passed
@yosifkit yosifkit deleted the ruby branch November 19, 2025 23:29
junojense pushed a commit to DDVTECH/docker-image-library that referenced this pull request Dec 3, 2025
Changes:

- docker-library/ruby@8416c3f: Merge pull request docker-library/ruby#517 from infosiftr/4.0
- docker-library/ruby@7e8d616: Update to 4.0.0-preview2

Co-authored-by: Docker Library Bot <doi+docker-library-bot@docker.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants