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

Docker image build hang for arm/v7 #314

Closed
CorentinTh opened this issue Nov 5, 2024 · 4 comments
Closed

Docker image build hang for arm/v7 #314

CorentinTh opened this issue Nov 5, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@CorentinTh
Copy link
Owner

Related to #312

The build of the image hangs for armv7 on node:22-alpine image, it's a known issue (nodejs/docker-node#2077)

It seems to work with non-alpine images (like node:22-slim), I'm testing to have a multi-stage Dockerfile to build on non-alpine and release on alpine

@CorentinTh CorentinTh added the bug Something isn't working label Nov 5, 2024
@CorentinTh CorentinTh self-assigned this Nov 5, 2024
@Zoobdude
Copy link
Contributor

Zoobdude commented Nov 5, 2024

Sorry to cause such a headache. Thanks for trouble shooting though 😅

@CorentinTh
Copy link
Owner Author

No problem @Zoobdude ✌️

@CorentinTh
Copy link
Owner Author

So the multi-staged build using the slim image for build and keeping the alpine for prod worked great, we now have arm/v7 support 🔥

The build : https://github.com/CorentinTh/enclosed/actions/runs/11684227994/job/32535032203
Docker hub : https://hub.docker.com/r/corentinth/enclosed/tags?name=1.9.2

image

@Zoobdude
Copy link
Contributor

Zoobdude commented Nov 5, 2024

Thanks very much @CorentinTh :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants