Skip to content
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

Update Debian base images #95

Open
bodand opened this issue Sep 29, 2024 · 3 comments · May be fixed by #96
Open

Update Debian base images #95

bodand opened this issue Sep 29, 2024 · 3 comments · May be fixed by #96

Comments

@bodand
Copy link

bodand commented Sep 29, 2024

I might have missed the reasoning if it is explained somewhere, but I'm just going to ask instead of looking around more.

The Debian base for (at least) TruffleRuby is Debian 10 (Buster) which is EOL, and only supported by ELTS. Is there a reason this is used for the Debian images, and if possible can it be updated to oldstable (11 Bullseye) or even stable (12 Bookworm)?

@aminya
Copy link

aminya commented Oct 12, 2024

I have noticed that I cannot use the artficats built by the Debian Docker image published on the ghcr.io in the normal buster debian image. In reality, the published Debian image is more up-to-date.

The GraalVM image used is actually 24.1.0, unlike the source code that specifies 24.0.2, and the Debian base image is apparently 20240917. The libc of the published image has a different ABI, and the repositories include libssl3, which is absent from the actual debian-buster repositories. The reason is that they override the base and versions using ARG.

@brahimhaddou Can you provide the full source code and arguments for the published images?

ARG GRAALVM_VERSION=24.0.2

ARG BASE_IMAGE=debian:buster-slim

vs

https://github.com/graalvm/container/pkgs/container/truffleruby-community/274944868?tag=24.1.0-debian-20240917

@bodand
Copy link
Author

bodand commented Oct 12, 2024

Huh, it really isn't. I, for some reason, didn't bother to check the actual container.

I was reading this https://github.com/graalvm/container/blob/master/truffleruby-community/README.md, and it said Debian 10, at which point I suspected it was the docs that was out of sync with the broader universe, as it has the tendency to, so I looked at the Dockerfile which also had buster. At this point I decided that it is what must be...

Running:

docker run -it --rm ghcr.io/graalvm/truffleruby-community:24.1.0-debian-20240917 cat /etc/os-release

Produces

PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Which is quite different from buster, so it's not the images that are not up to date, just the docs. A considerably better situation.

@aminya
Copy link

aminya commented Oct 12, 2024

Yes, I can confirm that it is debian:sid-slim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants