all-ruby icon indicating copy to clipboard operation
all-ruby copied to clipboard

Update base-image to bookworm

Open hsbt opened this issue 1 year ago • 3 comments

hsbt avatar Feb 09 '24 06:02 hsbt

ruby-0.49             /all-ruby/bin/ruby-0.49: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
                  exit 127

bookworm don't have libssl1.1 or compat package. We need to handle it for Ruby 0.x and 1.1*.

hsbt avatar Feb 09 '24 07:02 hsbt

I fixed that with https://github.com/akr/all-ruby/pull/17/commits/07c5a7284ab6adca2ccc715de412f035df258822

hsbt avatar Feb 10 '24 02:02 hsbt

$ podman run --rm ghcr.io/ruby/all-ruby:bookworm /all-ruby/all-ruby -v
WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)
ruby-0.49             /all-ruby/lib/formatter.rb:21: [BUG] Segmentation fault at 0x0000000000000000
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux-gnu]

This image is broken with podman on macOS.

hsbt avatar Feb 13 '24 06:02 hsbt