-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
ARM 64 Docker Image Builds broken since 2.6x #23281
Comments
/cc @geoand |
I have no idea about goafabric/quarkus-build-aarch64:java11-21.3.0. Might be better to report the problem where this image is handled (it's not managed by us). |
@cescoffier But the problem is not the BUILDER Image, this works perfectly fine until 2.5.3. Also other people seemed to recognize this: --- dockerfile ---- FROM ghcr.io/graalvm/graalvm-ce:java11-21.3.0@sha256:d3877ce3bae9538032f02d88fb5ea5019d5686a15dd15615fb4e9c65970c72cc AS build |
also just found this issue for 2.7, maybe it's related ... |
We had to change the base image because of the missing run-java script in the runtime images we were using. This caused several regression, and requires the users to customize the java command to tune the GC and memory limits to works well in containers. The rollback is temporary. We are working on getting the run-java script in the runtime image, but we don't have an ETA (March/April are the target). |
@goafabric I just looked at the image we currently use:
I inspected their manifests and they are both multi-architectures:
So, it should not be a problem. |
Reading other comments, it's |
I found a temporary workaround by reverting to the old baseimage through the maven properties |
Yes, but you need to be aware that you use a large base image. |
Used this graalvm-ce image and it finally worked. So glad as I spent days trying to build a native executable for linux on my M1 mac |
Any news? |
Yes, the 2.0 is multi-archs. |
Btw, I'm going to close this issue, as we now provide multi arch's images. |
Describe the bug
While Quarkus is sadly still missing,
support for building ARM64 Images.
This could be relatively simply fixed by suppling your own builder image, e.g.:
<quarkus.native.builder-image>goafabric/quarkus-build-aarch64:java11-21.3.0</quarkus.native.builder-image>
While this worked perfectly fine until 2.5.3,
it's now broken since 2.6x.
The build process puts out a warning that the final Image will be AMD64 and not ARM64.
Judging from another bug report here, there seems to be a change in the Base Images, Quarkus supplies.
It seems that this was multi-arch before and now seems to be solely AMD64.
The Container will of course then crash during bootstrap.
Expected behavior
Bug is fixed, to be able to use the workaround again.
Or direct support form ARM64 Images is implemented
Actual behavior
Wrong Baseimage is used, Application crashes
How to Reproduce?
No response
Output of
uname -a
orver
Darwin MacBook-Air-von-Andreas.local 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:29:10 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T8101 arm64
Output of
java -version
openjdk version "11.0.10" 2021-01-19 LTS
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.6.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)maven
Additional information
No response
The text was updated successfully, but these errors were encountered: