-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
add riscv64 support #509
base: main
Are you sure you want to change the base?
add riscv64 support #509
Conversation
I cannot recreate the error locally when building like this: docker buildx build --platform linux/riscv64 -t foo . docker run --platform linux/riscv64 foo java -version
openjdk version "21.0.2" 2024-01-16 LTS
OpenJDK Runtime Environment Temurin-21.0.2+13 (build 21.0.2+13-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.2+13 (build 21.0.2+13-LTS, mixed mode, sharing) CC @tianon @yosifkit as they may have some extra insight here
|
For what it's worth when I tried running on an Ubuntu 23.04 host (native riscv64) I had an issue with the repositories for sid:
|
I think this error is because GitHub actions runners aren't automatically setup with user-mode qemu like when using Docker Desktop. As far as adding Debian Unstable based builds, we wouldn't do it in images we directly maintain since it is actually unstable (https://wiki.debian.org/DebianUnstable)
|
Right okay, I'll see if I can implement some changes to set. the user-mode qemu when running non intel builds. As for the base image, it sounds like we're stuck until Ubuntu add support to their official images again. Do you know who I can reach out to resolve this? |
8658858
to
8965da6
Compare
Keeping in draft until I've had some people eyeball this one. Noting that Debian is the only official Linux image available right now. Apparently there are plans to add Ubuntu support at some point so we could switch once that's available