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

Create Docker images for ARM processors #83

Closed
McPringle opened this issue Apr 10, 2024 · 2 comments · Fixed by #125
Closed

Create Docker images for ARM processors #83

McPringle opened this issue Apr 10, 2024 · 2 comments · Fixed by #125
Labels
enhancement New feature or request hackergarten Possible issues for Hackergarten events help wanted Extra attention is needed
Milestone

Comments

@McPringle
Copy link
Owner

No description provided.

@McPringle McPringle added the enhancement New feature or request label Apr 10, 2024
@McPringle McPringle added this to the v2 milestone Apr 10, 2024
@McPringle McPringle added help wanted Extra attention is needed hackergarten Possible issues for Hackergarten events labels Apr 30, 2024
@McPringle McPringle pinned this issue May 22, 2024
@McPringle
Copy link
Owner Author

eins78 added a commit to eins78/apus that referenced this issue May 30, 2024
eins78 added a commit to eins78/apus that referenced this issue May 30, 2024
eins78 added a commit to eins78/apus that referenced this issue May 30, 2024
@McPringle McPringle reopened this May 30, 2024
@eins78
Copy link
Contributor

eins78 commented May 30, 2024

We tried building with QEMU and buildx and the emulation made the process very slow (after an hour it was still downloading dependencies).

Because the build artefact is a platform independent jar, and the Dockerfile is a multi-stage build, a possible solution could be a 2-step build:

  • build an intermediate image with the stage that produce the jar, using the the native platform
  • build the images for all desired platforms by copying the jar in from the intermediate image.

See https://docs.docker.com/build/building/multi-stage/#use-an-external-image-as-a-stage

@McPringle McPringle modified the milestones: v2, v3 Jul 22, 2024
@McPringle McPringle modified the milestones: v3, v4 Aug 10, 2024
McPringle added a commit that referenced this issue Oct 20, 2024
McPringle added a commit that referenced this issue Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hackergarten Possible issues for Hackergarten events help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants