-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Update ruby #18374
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
Merged
Update ruby #18374
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
Changes: - docker-library/ruby@3a813c1: Update 3.2 to 3.2.7
Diff for be981d9:diff --git a/_bashbrew-cat b/_bashbrew-cat
index a5d4bc5..ce5acf3 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -31,34 +31,34 @@ Architectures: amd64, arm32v7, arm64v8, i386
GitCommit: 1ea0c595e6a6e477a66142b8ed40c82c2af3a28a
Directory: 3.1/slim-bullseye
-Tags: 3.2.6-alpine3.20, 3.2-alpine3.20
+Tags: 3.2.7-alpine3.20, 3.2-alpine3.20
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 1ea0c595e6a6e477a66142b8ed40c82c2af3a28a
+GitCommit: 3a813c18eea9fa2060e02d238e39382b15618995
Directory: 3.2/alpine3.20
-Tags: 3.2.6-alpine3.21, 3.2-alpine3.21, 3.2.6-alpine, 3.2-alpine
+Tags: 3.2.7-alpine3.21, 3.2-alpine3.21, 3.2.7-alpine, 3.2-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 1ea0c595e6a6e477a66142b8ed40c82c2af3a28a
+GitCommit: 3a813c18eea9fa2060e02d238e39382b15618995
Directory: 3.2/alpine3.21
-Tags: 3.2.6-bookworm, 3.2-bookworm, 3.2.6, 3.2
+Tags: 3.2.7-bookworm, 3.2-bookworm, 3.2.7, 3.2
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1ea0c595e6a6e477a66142b8ed40c82c2af3a28a
+GitCommit: 3a813c18eea9fa2060e02d238e39382b15618995
Directory: 3.2/bookworm
-Tags: 3.2.6-bullseye, 3.2-bullseye
+Tags: 3.2.7-bullseye, 3.2-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1ea0c595e6a6e477a66142b8ed40c82c2af3a28a
+GitCommit: 3a813c18eea9fa2060e02d238e39382b15618995
Directory: 3.2/bullseye
-Tags: 3.2.6-slim-bookworm, 3.2-slim-bookworm, 3.2.6-slim, 3.2-slim
+Tags: 3.2.7-slim-bookworm, 3.2-slim-bookworm, 3.2.7-slim, 3.2-slim
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1ea0c595e6a6e477a66142b8ed40c82c2af3a28a
+GitCommit: 3a813c18eea9fa2060e02d238e39382b15618995
Directory: 3.2/slim-bookworm
-Tags: 3.2.6-slim-bullseye, 3.2-slim-bullseye
+Tags: 3.2.7-slim-bullseye, 3.2-slim-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1ea0c595e6a6e477a66142b8ed40c82c2af3a28a
+GitCommit: 3a813c18eea9fa2060e02d238e39382b15618995
Directory: 3.2/slim-bullseye
Tags: 3.3.7-alpine3.20, 3.3-alpine3.20
diff --git a/_bashbrew-list b/_bashbrew-list
index d3fd5e8..f889634 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -34,15 +34,15 @@ ruby:3.2-bullseye
ruby:3.2-slim
ruby:3.2-slim-bookworm
ruby:3.2-slim-bullseye
-ruby:3.2.6
-ruby:3.2.6-alpine
-ruby:3.2.6-alpine3.20
-ruby:3.2.6-alpine3.21
-ruby:3.2.6-bookworm
-ruby:3.2.6-bullseye
-ruby:3.2.6-slim
-ruby:3.2.6-slim-bookworm
-ruby:3.2.6-slim-bullseye
+ruby:3.2.7
+ruby:3.2.7-alpine
+ruby:3.2.7-alpine3.20
+ruby:3.2.7-alpine3.21
+ruby:3.2.7-bookworm
+ruby:3.2.7-bullseye
+ruby:3.2.7-slim
+ruby:3.2.7-slim-bookworm
+ruby:3.2.7-slim-bullseye
ruby:3.3
ruby:3.3-alpine
ruby:3.3-alpine3.20
diff --git a/ruby_3.2-alpine/Dockerfile b/ruby_3.2-alpine/Dockerfile
index 9e3b079..5057bee 100644
--- a/ruby_3.2-alpine/Dockerfile
+++ b/ruby_3.2-alpine/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2024/10/30/ruby-3-2-6-released/
-ENV RUBY_VERSION 3.2.6
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 671134022238c2c4a9d79dc7d1e58c909634197617901d25863642f735a27ecb
+# https://www.ruby-lang.org/en/news/2025/02/04/ruby-3-2-7-released/
+ENV RUBY_VERSION 3.2.7
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.7.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 fc159b0d4a8ce412948fb69e61493839a0b3e1d5c919180f27036f1c948cfbe2
# 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
@@ -115,19 +115,6 @@ RUN set -eux; \
make -j "$(nproc)"; \
make install; \
\
-# temporary backwards compatibility shim (will go away in the next patch release; please update/adjust accordingly); see:
-# - https://github.com/docker-library/ruby/pull/493
-# - https://github.com/docker-library/ruby/pull/497
- apk add --no-cache --virtual .ruby-493-backcompat \
- bzip2 \
- ca-certificates \
- gmp-dev \
- libffi-dev \
- procps \
- yaml-dev \
- zlib-dev \
- ; \
- \
rm -rf /tmp/rust; \
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
diff --git a/ruby_3.2-alpine3.20/Dockerfile b/ruby_3.2-alpine3.20/Dockerfile
index f8148ff..0c6e08f 100644
--- a/ruby_3.2-alpine3.20/Dockerfile
+++ b/ruby_3.2-alpine3.20/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2024/10/30/ruby-3-2-6-released/
-ENV RUBY_VERSION 3.2.6
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 671134022238c2c4a9d79dc7d1e58c909634197617901d25863642f735a27ecb
+# https://www.ruby-lang.org/en/news/2025/02/04/ruby-3-2-7-released/
+ENV RUBY_VERSION 3.2.7
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.7.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 fc159b0d4a8ce412948fb69e61493839a0b3e1d5c919180f27036f1c948cfbe2
# 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
@@ -115,19 +115,6 @@ RUN set -eux; \
make -j "$(nproc)"; \
make install; \
\
-# temporary backwards compatibility shim (will go away in the next patch release; please update/adjust accordingly); see:
-# - https://github.com/docker-library/ruby/pull/493
-# - https://github.com/docker-library/ruby/pull/497
- apk add --no-cache --virtual .ruby-493-backcompat \
- bzip2 \
- ca-certificates \
- gmp-dev \
- libffi-dev \
- procps \
- yaml-dev \
- zlib-dev \
- ; \
- \
rm -rf /tmp/rust; \
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
diff --git a/ruby_3.2-bullseye/Dockerfile b/ruby_3.2-bullseye/Dockerfile
index 8c1b3ba..8780b71 100644
--- a/ruby_3.2-bullseye/Dockerfile
+++ b/ruby_3.2-bullseye/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2024/10/30/ruby-3-2-6-released/
-ENV RUBY_VERSION 3.2.6
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 671134022238c2c4a9d79dc7d1e58c909634197617901d25863642f735a27ecb
+# https://www.ruby-lang.org/en/news/2025/02/04/ruby-3-2-7-released/
+ENV RUBY_VERSION 3.2.7
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.7.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 fc159b0d4a8ce412948fb69e61493839a0b3e1d5c919180f27036f1c948cfbe2
# 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.2-slim-bullseye/Dockerfile b/ruby_3.2-slim-bullseye/Dockerfile
index fc12063..0c6e0ba 100644
--- a/ruby_3.2-slim-bullseye/Dockerfile
+++ b/ruby_3.2-slim-bullseye/Dockerfile
@@ -20,10 +20,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2024/10/30/ruby-3-2-6-released/
-ENV RUBY_VERSION 3.2.6
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 671134022238c2c4a9d79dc7d1e58c909634197617901d25863642f735a27ecb
+# https://www.ruby-lang.org/en/news/2025/02/04/ruby-3-2-7-released/
+ENV RUBY_VERSION 3.2.7
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.7.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 fc159b0d4a8ce412948fb69e61493839a0b3e1d5c919180f27036f1c948cfbe2
# 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
@@ -108,20 +108,6 @@ RUN set -eux; \
make -j "$(nproc)"; \
make install; \
\
-# temporary backwards compatibility shim (will go away in the next patch release; please update/adjust accordingly); see:
-# - https://github.com/docker-library/ruby/pull/493
-# - https://github.com/docker-library/ruby/pull/497
- savedAptMark="$savedAptMark \
- bzip2 \
- libffi-dev \
- libgmp-dev \
- libssl-dev \
- libyaml-dev \
- procps \
- zlib1g-dev \
- "; \
- apt-get install -y --no-install-recommends $savedAptMark; \
- \
rm -rf /tmp/rust; \
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark > /dev/null; \
diff --git a/ruby_3.2-slim/Dockerfile b/ruby_3.2-slim/Dockerfile
index 0c3aeb3..b8adaa1 100644
--- a/ruby_3.2-slim/Dockerfile
+++ b/ruby_3.2-slim/Dockerfile
@@ -20,10 +20,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2024/10/30/ruby-3-2-6-released/
-ENV RUBY_VERSION 3.2.6
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 671134022238c2c4a9d79dc7d1e58c909634197617901d25863642f735a27ecb
+# https://www.ruby-lang.org/en/news/2025/02/04/ruby-3-2-7-released/
+ENV RUBY_VERSION 3.2.7
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.7.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 fc159b0d4a8ce412948fb69e61493839a0b3e1d5c919180f27036f1c948cfbe2
# 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
@@ -108,20 +108,6 @@ RUN set -eux; \
make -j "$(nproc)"; \
make install; \
\
-# temporary backwards compatibility shim (will go away in the next patch release; please update/adjust accordingly); see:
-# - https://github.com/docker-library/ruby/pull/493
-# - https://github.com/docker-library/ruby/pull/497
- savedAptMark="$savedAptMark \
- bzip2 \
- libffi-dev \
- libgmp-dev \
- libssl-dev \
- libyaml-dev \
- procps \
- zlib1g-dev \
- "; \
- apt-get install -y --no-install-recommends $savedAptMark; \
- \
rm -rf /tmp/rust; \
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark > /dev/null; \
diff --git a/ruby_3.2/Dockerfile b/ruby_3.2/Dockerfile
index d6b96fc..091fc56 100644
--- a/ruby_3.2/Dockerfile
+++ b/ruby_3.2/Dockerfile
@@ -13,10 +13,10 @@ RUN set -eux; \
ENV LANG C.UTF-8
-# https://www.ruby-lang.org/en/news/2024/10/30/ruby-3-2-6-released/
-ENV RUBY_VERSION 3.2.6
-ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.xz
-ENV RUBY_DOWNLOAD_SHA256 671134022238c2c4a9d79dc7d1e58c909634197617901d25863642f735a27ecb
+# https://www.ruby-lang.org/en/news/2025/02/04/ruby-3-2-7-released/
+ENV RUBY_VERSION 3.2.7
+ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.7.tar.xz
+ENV RUBY_DOWNLOAD_SHA256 fc159b0d4a8ce412948fb69e61493839a0b3e1d5c919180f27036f1c948cfbe2
# 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: |
As a reminder, and as seen in the diff above, this includes docker-library/ruby#497 (comment) (less packages in |
tianon
approved these changes
Feb 4, 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: