Skip to content

Commit

Permalink
Merge pull request #415 from sitano/ivan_ruby_bookworm
Browse files Browse the repository at this point in the history
Add debian:bookworm
  • Loading branch information
tianon authored Jun 13, 2023
2 parents d829e4c + ed1be47 commit 65c8de9
Show file tree
Hide file tree
Showing 19 changed files with 39 additions and 49 deletions.
3 changes: 1 addition & 2 deletions 3.0/bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions 3.0/buster/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions 3.0/slim-bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions 3.0/slim-buster/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions 3.1/buster/Dockerfile → 3.1/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions 3.1/bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions 3.1/slim-buster/Dockerfile → 3.1/slim-bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions 3.1/slim-bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions 3.2/buster/Dockerfile → 3.2/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions 3.2/bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions 3.2/slim-buster/Dockerfile → 3.2/slim-bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions 3.2/slim-bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions 3.3-rc/buster/Dockerfile → 3.3-rc/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions 3.3-rc/bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions 3.3-rc/slim-bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,8 @@ RUN set -eux; \
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark > /dev/null; \
find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \
| awk '/=>/ { print $(NF-1) }' \
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
| sort -u \
| grep -vE '^/usr/local/lib/' \
| xargs -r dpkg-query --search \
| cut -d: -f1 \
| sort -u \
Expand Down
12 changes: 6 additions & 6 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"3.1": {
"sha256": "1b6d6010e76036c937b9671f4752f065aeca800a6c664f71f6c9a699453af94f",
"variants": [
"bookworm",
"slim-bookworm",
"bullseye",
"slim-bullseye",
"buster",
"slim-buster",
"alpine3.18",
"alpine3.17"
],
Expand Down Expand Up @@ -57,10 +57,10 @@
},
"sha256": "4b352d0f7ec384e332e3e44cdbfdcd5ff2d594af3c8296b5636c710975149e23",
"variants": [
"bookworm",
"slim-bookworm",
"bullseye",
"slim-bullseye",
"buster",
"slim-buster",
"alpine3.18",
"alpine3.17"
],
Expand Down Expand Up @@ -101,10 +101,10 @@
},
"sha256": "ae300b49e06c13087dd163b97eddd38db895dc8e0c9904284119795d75303fbb",
"variants": [
"bookworm",
"slim-bookworm",
"bullseye",
"slim-bullseye",
"buster",
"slim-buster",
"alpine3.18",
"alpine3.17"
],
Expand Down
13 changes: 10 additions & 3 deletions versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,16 @@ for version in "${versions[@]}"; do
sha256: env.shaVal,
variants: [
(
"bullseye",
"buster",
empty # trailing comma hack
# https://bugs.ruby-lang.org/issues/18658
# https://github.com/docker-library/ruby/pull/392#issuecomment-1329896174
if "3.0" == env.version then
"bullseye",
"buster"
else
"bookworm",
"bullseye",
empty # trailing comma hack
end
| ., "slim-" + .), # https://github.com/docker-library/ruby/pull/142#issuecomment-320012893
(
# Alpine 3.17+ defaults to OpenSSL 3 which is not supported by Ruby 3.0
Expand Down

0 comments on commit 65c8de9

Please sign in to comment.