-
Notifications
You must be signed in to change notification settings - Fork 231
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
create docker images for armv7 #596
Conversation
@@ -123,7 +123,7 @@ jobs: | |||
uses: docker/build-push-action@v5 | |||
with: | |||
context: . | |||
platforms: linux/amd64,linux/arm64 | |||
platforms: linux/amd64,linux/arm64,linux/arm/v7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is outside the scope of your interest but will this also support most 32-bit Raspberry Pis? I believe that only the early ones were v6: https://raspberrypi.stackexchange.com/a/139499
I read a bit more and you are right. Older Raspberrys would not be supported, the newer ones using arm64v8 would because linux/arm64/v8 gets treated like linux/arm64. I tried adding it in my private repo but unfortunately building fails with It could be made a requirement for solving #568 if it is important to you. |
Thank you for your contribution @snpz! |
As expected this does not work on a Raspberry Pi 4 with 32-bit userland:
Unless you are interested in investigating a new base image let's just wait for someone who is affected by lack of support to address this. |
@gaul I did some investigation already and it seems everybody has dropped 32-bit Support in newer image versions. The one that is currently used dropped 32-bit arm completely beginning with version 21 (https://adoptium.net/de/supported-platforms/), Version 17 still has docker images for armv7, but not for v6 (the older Pis). I did also come across: Maybe the best solution is to use a slim version of an os as base and installing java through the Dockerfile. Still does not clear up which java version to use, but one would not depend on other organizations to provide images supporting (older) architectures while the JRE itself would support them. I'm totally unexperienced with this though and won't be of much help. |
@snpz Thanks for investigating. Sorry I mean let's not worry about ARMv6 support for now. If someone is more motivated then they can do this work. |
When by #595 pushing images to dockerhub is working again, this fixes #591 and creates an additional docker image for architecture linux/arm/v7.