-
Notifications
You must be signed in to change notification settings - Fork 581
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 build hangs for linux/arm/v7
#1071
Comments
Ah, I found a workaround. For anyone who faces something similar, issue is something to do with the newer Node containers (V18 upwards). I believe it happens because the x86 host is building for a non-native platform, and QEMU emulation is very intensive, crashing the GitHub worker, but weirdly never exiting (I'd expect a Relevant issues: Example fix, in my project: Lissy93/dashy#1492 It's frustrating, because performance and security of Node 20+ is much better. But since this issue only happens during # Build stage
- FROM node:20.11.1-alpine AS BUILD_IMAGE
+ FROM node:18.19.1-alpine AS BUILD_IMAGE
...
# Run stage
FROM node:20.11.1-alpine3.19
... |
Node builds on certain platforms emulated with QEMU are broken when using a Node version greater than 18. See docker/build-push-action#1071 for more info.
Majorly due to this issue: docker/build-push-action#1071 Might re-consider it back if some relevant fix is found
Contributing guidelines
I've found a bug, and:
Description
Feel free to close this ticket if you don't think it's an issue with this action. But any pointers would also be much appreciated, I've been going round in circles for hours trying to get it to work.
I have the following workflow file which builds this Dockerfile, and it always used to work great.
But now it only works for
linux/amd64
andlinux/arm64
architectures, as soon as I addlinux/arm/v7
back in underplatforms
, the workflow just hangs forever midway through the ARM v7 step (specifically duringyarn install
) - here's an example runExpected behaviour
I expect
linux/arm/v7
to complete successfully, like it does forlinux/amd64
andlinux/arm64
Actual behaviour
The workflow just hangs indefinabley once it starts the
yarn install
on thelinux/arm/v7
step.Repository URL
https://github.com/Lissy93/dashy
Workflow run URL
https://github.com/Lissy93/dashy/actions/workflows/docker-build-publish.yml
YAML workflow
Workflow logs
logs_21336268151.zip or on GitHub at: https://github.com/Lissy93/dashy/actions/runs/8133127098/job/22224327445
Another example: here
BuildKit logs
No response
Additional info
Thank you for building and maintaining this action, it's been super useful 💙
The text was updated successfully, but these errors were encountered: