-
Notifications
You must be signed in to change notification settings - Fork 660
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
ARM images for AWS public registry #4314
Comments
@bentsherman can you please have a look |
I managed to find the build infrastructure and build my own Docker image, so this isn't blocking me. My best guess is that something in the CI/CD chain doesn't have the right docker drivers to buildx an arm image, so it's just building two amd images, but I might be wrong. When I was doing the reverse (trying to build the arm image on an arm machine, only the build-arm target would work, the regular build target would fail). Again, could be something in how I'm downloading the images, but my understanding is that the tagging should sort that out. One thing I noticed is that the Dockerfile itself hard codes the TARGETPLATFORM as amd, but the Makefile should be overriding that. Maybe that's not working. |
Hi @daz10000 , can you try again? I think Paolo fixed something with the ECR images, and I just tried your example and it pulled the image successfully. |
nope. I've fixed the container for the rnaseq-nf pipeline, not this |
Hmm, it probably worked for me because I pulled from my laptop, need to try from an ARM instance instead |
Bug report
There's a chance I'm doing something boneheaded here, but I am trying to pull the latest seqera-labs AWS batch docker images from
public.ecr.aws/seqera-labs/nextflow:latest
from an AWS c6g linux/arm64/8 image, and getting linux/amd64 images.Expected behavior and actual behavior
The seqera-labs gallery suggests that arm images are available. From an arm64 machine, I am invoking this build with the Dockerfile below
docker build --platform linux/arm64 .
I would expect that to select the arm images (I couldn't see anything from the gallery that indicated architecture) but I'm assuming the docker build grabs the right one.
When I don't explicitly add the target, I get an architecture error - it clearly pulled the wrong version.
When I force the architecture explicitly, docker warns me
Steps to reproduce the problem
On an arm64 machine, using the Dockerfile above, try
docker build --platform linux/arm64 .
Program output
See above
Environment
Additional context
Hoping it's something dumb I've done. I'd be happy to try to build the image from scratch - looking at the source right now to figure out how it was probably built.
The text was updated successfully, but these errors were encountered: