-
Notifications
You must be signed in to change notification settings - Fork 574
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
Cannot access Internet while building an image on arm64 #471
Comments
Related issues: |
@jamezrin Don't think this issue is directly related to the GitHub Actions as you find out and should be fixed upstream instead. Either Node.js or QEMU related. If you have a simple reproducer, can you post it in docker/buildx#564 please? Thanks. I will try to repro on my side with https://github.com/jamezrin/timeit-webapp/tree/master/packages/backend |
I made some tests on my side and was able to repro. It seems there is something odd with yarn on RUN yarn install --frozen-lockfile --network-timeout 1000000
|
Add docker github packages push on release New workflow: docker-github-packages New steps: - Checkout repository (based on actions/checkout@v3) - Set up QEMU (based on docker/setup-qemu-action@v2) - Set up BuildX (based on docker/setup-buildx-action) - Log in to the Container registry (based on docker/login-action@v2) - Extract metadata (tags, labels) for Docker (based on docker/metadata-action@v4) - Build and push Docker image (based on docker/build-push-action@v4) docker/Dockerfile - disalbe silent mode for yarn install - yarn network-timeout set to 240000 (docker/build-push-action#471)
Add docker github packages push on release New workflow: docker-github-packages New steps: - Checkout repository (based on actions/checkout@v3) - Set up QEMU (based on docker/setup-qemu-action@v2) - Set up BuildX (based on docker/setup-buildx-action) - Log in to the Container registry (based on docker/login-action@v2) - Extract metadata (tags, labels) for Docker (based on docker/metadata-action@v4) - Build and push Docker image (based on docker/build-push-action@v4) docker/Dockerfile - disalbe silent mode for yarn install - yarn network-timeout set to 240000 (docker/build-push-action#471)
Add docker github packages push on release New workflow: docker-github-packages Purr release: new version 3.12.0 New steps: - Checkout repository (based on actions/checkout@v3) - Set up QEMU (based on docker/setup-qemu-action@v2) - Set up BuildX (based on docker/setup-buildx-action) - Log in to the Container registry (based on docker/login-action@v2) - Extract metadata (tags, labels) for Docker (based on docker/metadata-action@v4) - Build and push Docker image (based on docker/build-push-action@v4) docker/Dockerfile - disalbe silent mode for yarn install - yarn network-timeout set to 240000 (docker/build-push-action#471)
Troubleshooting
When building an image on an arm64 platform, the Dockerfile cannot access the internet, so things like installing dependencies fail.
Behaviour
Steps to reproduce this issue
Build an image with the arm64 platform.
Expected behaviour
It should behave like the amd64 platform, having complete access to the network.
Actual behaviour
Any connection inside the Dockerfile fails, so the image build fails.
Configuration
Logs
logs_1137.zip
The text was updated successfully, but these errors were encountered: