-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Update ruby #20555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
LaurentGoderre
merged 1 commit into
docker-library:master
from
harshalbhakta:ruby-4-0-0
Dec 26, 2025
Merged
Update ruby #20555
LaurentGoderre
merged 1 commit into
docker-library:master
from
harshalbhakta:ruby-4-0-0
Dec 26, 2025
+23
−23
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8382c92 to
9482c7f
Compare
This comment has been minimized.
This comment has been minimized.
9482c7f to
ce78806
Compare
Diff for ce78806:diff --git a/_bashbrew-cat b/_bashbrew-cat
index e2db92d..0619632 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -66,57 +66,57 @@ Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
GitCommit: 0ef1f8966b43e97043ceef717e648d44f37896f7
Directory: 3.4/alpine3.22
-Tags: 3.4.8-alpine3.23, 3.4-alpine3.23, 3-alpine3.23, alpine3.23, 3.4.8-alpine, 3.4-alpine, 3-alpine, alpine
+Tags: 3.4.8-alpine3.23, 3.4-alpine3.23, 3-alpine3.23, alpine3.23, 3.4.8-alpine, 3.4-alpine, 3-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
GitCommit: 0ef1f8966b43e97043ceef717e648d44f37896f7
Directory: 3.4/alpine3.23
-Tags: 3.4.8-bookworm, 3.4-bookworm, 3-bookworm, bookworm
+Tags: 3.4.8-bookworm, 3.4-bookworm, 3-bookworm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
GitCommit: 0ef1f8966b43e97043ceef717e648d44f37896f7
Directory: 3.4/bookworm
-Tags: 3.4.8-slim-bookworm, 3.4-slim-bookworm, 3-slim-bookworm, slim-bookworm
+Tags: 3.4.8-slim-bookworm, 3.4-slim-bookworm, 3-slim-bookworm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
GitCommit: 0ef1f8966b43e97043ceef717e648d44f37896f7
Directory: 3.4/slim-bookworm
-Tags: 3.4.8-slim-trixie, 3.4-slim-trixie, 3-slim-trixie, slim-trixie, 3.4.8-slim, 3.4-slim, 3-slim, slim
+Tags: 3.4.8-slim-trixie, 3.4-slim-trixie, 3-slim-trixie, slim-trixie, 3.4.8-slim, 3.4-slim, 3-slim
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
GitCommit: 0ef1f8966b43e97043ceef717e648d44f37896f7
Directory: 3.4/slim-trixie
-Tags: 3.4.8-trixie, 3.4-trixie, 3-trixie, trixie, 3.4.8, 3.4, 3, latest
+Tags: 3.4.8-trixie, 3.4-trixie, 3-trixie, 3.4.8, 3.4, 3
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
GitCommit: 0ef1f8966b43e97043ceef717e648d44f37896f7
Directory: 3.4/trixie
-Tags: 4.0.0-preview3-alpine3.22, 4.0-rc-alpine3.22
+Tags: 4.0.0-alpine3.22, 4.0-alpine3.22
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 9f867edc28a17f696b183a4e1076339a007bd36d
-Directory: 4.0-rc/alpine3.22
+GitCommit: 12f8e3ca39458c5168b8736a47a68fcc7a047a02
+Directory: 4.0/alpine3.22
-Tags: 4.0.0-preview3-alpine3.23, 4.0-rc-alpine3.23, 4.0.0-preview3-alpine, 4.0-rc-alpine
+Tags: 4.0.0-alpine3.23, 4.0-alpine3.23, 4.0.0-alpine, 4.0-alpine, alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 9f867edc28a17f696b183a4e1076339a007bd36d
-Directory: 4.0-rc/alpine3.23
+GitCommit: 12f8e3ca39458c5168b8736a47a68fcc7a047a02
+Directory: 4.0/alpine3.23
-Tags: 4.0.0-preview3-bookworm, 4.0-rc-bookworm
+Tags: 4.0.0-bookworm, 4.0-bookworm, bookworm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 9f867edc28a17f696b183a4e1076339a007bd36d
-Directory: 4.0-rc/bookworm
+GitCommit: 12f8e3ca39458c5168b8736a47a68fcc7a047a02
+Directory: 4.0/bookworm
-Tags: 4.0.0-preview3-slim-bookworm, 4.0-rc-slim-bookworm
+Tags: 4.0.0-slim-bookworm, 4.0-slim-bookworm, slim-bookworm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 9f867edc28a17f696b183a4e1076339a007bd36d
-Directory: 4.0-rc/slim-bookworm
+GitCommit: 12f8e3ca39458c5168b8736a47a68fcc7a047a02
+Directory: 4.0/slim-bookworm
-Tags: 4.0.0-preview3-slim-trixie, 4.0-rc-slim-trixie, 4.0.0-preview3-slim, 4.0-rc-slim
+Tags: 4.0.0-slim-trixie, 4.0-slim-trixie, 4.0.0-slim, 4.0-slim, slim
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 9f867edc28a17f696b183a4e1076339a007bd36d
-Directory: 4.0-rc/slim-trixie
+GitCommit: 12f8e3ca39458c5168b8736a47a68fcc7a047a02
+Directory: 4.0/slim-trixie
-Tags: 4.0.0-preview3-trixie, 4.0-rc-trixie, 4.0.0-preview3, 4.0-rc
+Tags: 4.0.0-trixie, 4.0-trixie, 4-trixie, trixie, 4.0.0, 4.0, 4, latest
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 9f867edc28a17f696b183a4e1076339a007bd36d
-Directory: 4.0-rc/trixie
+GitCommit: 12f8e3ca39458c5168b8736a47a68fcc7a047a02
+Directory: 4.0/trixie
diff --git a/_bashbrew-list b/_bashbrew-list
index 65cc57b..a1bb0a2 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -61,24 +61,26 @@ ruby:3.4.8-slim
ruby:3.4.8-slim-bookworm
ruby:3.4.8-slim-trixie
ruby:3.4.8-trixie
-ruby:4.0-rc
-ruby:4.0-rc-alpine
-ruby:4.0-rc-alpine3.22
-ruby:4.0-rc-alpine3.23
-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-preview3
-ruby:4.0.0-preview3-alpine
-ruby:4.0.0-preview3-alpine3.22
-ruby:4.0.0-preview3-alpine3.23
-ruby:4.0.0-preview3-bookworm
-ruby:4.0.0-preview3-slim
-ruby:4.0.0-preview3-slim-bookworm
-ruby:4.0.0-preview3-slim-trixie
-ruby:4.0.0-preview3-trixie
+ruby:4
+ruby:4-trixie
+ruby:4.0
+ruby:4.0-alpine
+ruby:4.0-alpine3.22
+ruby:4.0-alpine3.23
+ruby:4.0-bookworm
+ruby:4.0-slim
+ruby:4.0-slim-bookworm
+ruby:4.0-slim-trixie
+ruby:4.0-trixie
+ruby:4.0.0
+ruby:4.0.0-alpine
+ruby:4.0.0-alpine3.22
+ruby:4.0.0-alpine3.23
+ruby:4.0.0-bookworm
+ruby:4.0.0-slim
+ruby:4.0.0-slim-bookworm
+ruby:4.0.0-slim-trixie
+ruby:4.0.0-trixie
ruby:alpine
ruby:alpine3.22
ruby:alpine3.23
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index 09b9ef9..9aa666c 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -1,3 +1,8 @@
+ruby:3
+ruby:3-alpine
+ruby:3-bookworm
+ruby:3-slim
+ruby:3-slim-bookworm
ruby:3.2
ruby:3.2-alpine
ruby:3.2-alpine3.22
@@ -10,12 +15,7 @@ ruby:3.3-alpine3.22
ruby:3.3-bookworm
ruby:3.3-slim
ruby:3.3-slim-bookworm
-ruby:4.0-rc
-ruby:4.0-rc-alpine
-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-alpine3.22
ruby:alpine
ruby:alpine3.22
ruby:bookworm
diff --git a/ruby_alpine/Dockerfile b/ruby_3-alpine/Dockerfile
similarity index 100%
copy from ruby_alpine/Dockerfile
copy to ruby_3-alpine/Dockerfile
diff --git a/ruby_bookworm/Dockerfile b/ruby_3-bookworm/Dockerfile
similarity index 100%
copy from ruby_bookworm/Dockerfile
copy to ruby_3-bookworm/Dockerfile
diff --git a/ruby_slim-bookworm/Dockerfile b/ruby_3-slim-bookworm/Dockerfile
similarity index 100%
copy from ruby_slim-bookworm/Dockerfile
copy to ruby_3-slim-bookworm/Dockerfile
diff --git a/ruby_slim/Dockerfile b/ruby_3-slim/Dockerfile
similarity index 100%
copy from ruby_slim/Dockerfile
copy to ruby_3-slim/Dockerfile
diff --git a/ruby_latest/Dockerfile b/ruby_3/Dockerfile
similarity index 100%
copy from ruby_latest/Dockerfile
copy to ruby_3/Dockerfile
diff --git a/ruby_4.0-rc-alpine3.22/Dockerfile b/ruby_4.0-alpine3.22/Dockerfile
similarity index 94%
rename from ruby_4.0-rc-alpine3.22/Dockerfile
rename to ruby_4.0-alpine3.22/Dockerfile
index bea69f5..db2db5a 100644
--- a/ruby_4.0-rc-alpine3.22/Dockerfile
+++ b/ruby_4.0-alpine3.22/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2025/12/18/ruby-4-0-0-preview3-released/
-ENV RUBY_VERSION 4.0.0-preview3
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0-preview3.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 8d7a503b2c4abcfacf0fa54ac56d37f7dd6d643a3a717661729cabbe947610a6
+# https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
+ENV RUBY_VERSION 4.0.0
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 a72bacee9de07283ebc19baa4ac243b193129f21aa4e168c7186fb1fe7d07fe1
# 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_4.0-rc-alpine/Dockerfile b/ruby_4.0-rc-alpine/Dockerfile
deleted file mode 100644
index 56f18c7..0000000
diff --git a/ruby_4.0-rc-bookworm/Dockerfile b/ruby_4.0-rc-bookworm/Dockerfile
deleted file mode 100644
index 117c9fb..0000000
diff --git a/ruby_4.0-rc-slim-bookworm/Dockerfile b/ruby_4.0-rc-slim-bookworm/Dockerfile
deleted file mode 100644
index 835bb9e..0000000
diff --git a/ruby_4.0-rc-slim/Dockerfile b/ruby_4.0-rc-slim/Dockerfile
deleted file mode 100644
index a895ceb..0000000
diff --git a/ruby_4.0-rc/Dockerfile b/ruby_4.0-rc/Dockerfile
deleted file mode 100644
index 6f27ac5..0000000
diff --git a/ruby_alpine/Dockerfile b/ruby_alpine/Dockerfile
index e433478..2156fab 100644
--- a/ruby_alpine/Dockerfile
+++ b/ruby_alpine/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2025/12/17/ruby-3-4-8-released/
-ENV RUBY_VERSION 3.4.8
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.8.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 53a8ec71111449cbbd42224d8d27c493fa6ded228636731051c48604d4255d68
+# https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
+ENV RUBY_VERSION 4.0.0
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 a72bacee9de07283ebc19baa4ac243b193129f21aa4e168c7186fb1fe7d07fe1
# 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
@@ -100,6 +100,7 @@ RUN set -eux; \
--disable-install-doc \
--enable-shared \
${rustArch:+--enable-yjit} \
+ ${rustArch:+--enable-zjit} \
; \
make -j "$(nproc)"; \
make install; \
diff --git a/ruby_bookworm/Dockerfile b/ruby_bookworm/Dockerfile
index 7c62c90..bed7627 100644
--- a/ruby_bookworm/Dockerfile
+++ b/ruby_bookworm/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2025/12/17/ruby-3-4-8-released/
-ENV RUBY_VERSION 3.4.8
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.8.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 53a8ec71111449cbbd42224d8d27c493fa6ded228636731051c48604d4255d68
+# https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
+ENV RUBY_VERSION 4.0.0
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 a72bacee9de07283ebc19baa4ac243b193129f21aa4e168c7186fb1fe7d07fe1
# 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
@@ -68,6 +68,7 @@ RUN set -eux; \
--disable-install-doc \
--enable-shared \
${rustArch:+--enable-yjit} \
+ ${rustArch:+--enable-zjit} \
; \
make -j "$(nproc)"; \
make install; \
diff --git a/ruby_latest/Dockerfile b/ruby_latest/Dockerfile
index 7b97058..8419128 100644
--- a/ruby_latest/Dockerfile
+++ b/ruby_latest/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2025/12/17/ruby-3-4-8-released/
-ENV RUBY_VERSION 3.4.8
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.8.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 53a8ec71111449cbbd42224d8d27c493fa6ded228636731051c48604d4255d68
+# https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
+ENV RUBY_VERSION 4.0.0
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 a72bacee9de07283ebc19baa4ac243b193129f21aa4e168c7186fb1fe7d07fe1
# 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
@@ -68,6 +68,7 @@ RUN set -eux; \
--disable-install-doc \
--enable-shared \
${rustArch:+--enable-yjit} \
+ ${rustArch:+--enable-zjit} \
; \
make -j "$(nproc)"; \
make install; \
diff --git a/ruby_slim-bookworm/Dockerfile b/ruby_slim-bookworm/Dockerfile
index 8bbc938..03f9a62 100644
--- a/ruby_slim-bookworm/Dockerfile
+++ b/ruby_slim-bookworm/Dockerfile
@@ -20,10 +20,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2025/12/17/ruby-3-4-8-released/
-ENV RUBY_VERSION 3.4.8
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.8.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 53a8ec71111449cbbd42224d8d27c493fa6ded228636731051c48604d4255d68
+# https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
+ENV RUBY_VERSION 4.0.0
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 a72bacee9de07283ebc19baa4ac243b193129f21aa4e168c7186fb1fe7d07fe1
# 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
@@ -93,6 +93,7 @@ RUN set -eux; \
--disable-install-doc \
--enable-shared \
${rustArch:+--enable-yjit} \
+ ${rustArch:+--enable-zjit} \
; \
make -j "$(nproc)"; \
make install; \
diff --git a/ruby_slim/Dockerfile b/ruby_slim/Dockerfile
index 801d4b3..3bb478a 100644
--- a/ruby_slim/Dockerfile
+++ b/ruby_slim/Dockerfile
@@ -20,10 +20,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2025/12/17/ruby-3-4-8-released/
-ENV RUBY_VERSION 3.4.8
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.8.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 53a8ec71111449cbbd42224d8d27c493fa6ded228636731051c48604d4255d68
+# https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
+ENV RUBY_VERSION 4.0.0
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.0.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 a72bacee9de07283ebc19baa4ac243b193129f21aa4e168c7186fb1fe7d07fe1
# 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
@@ -93,6 +93,7 @@ RUN set -eux; \
--disable-install-doc \
--enable-shared \
${rustArch:+--enable-yjit} \
+ ${rustArch:+--enable-zjit} \
; \
make -j "$(nproc)"; \
make install; \Relevant Maintainers: |
LaurentGoderre
approved these changes
Dec 26, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes:
docker-library/ruby@12f8e3c: Update 4.0.0-preview3 to 4.0.0