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

Arm profile platform should be linux/arm64 #1497

Open
birnbera opened this issue Jan 29, 2025 · 1 comment
Open

Arm profile platform should be linux/arm64 #1497

birnbera opened this issue Jan 29, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@birnbera
Copy link

Description of the bug

In #1425 config was added for ARM compatible docker images. However, in the corresponding arm profile, it still sets the docker platform as linux/amd64:

docker.runOptions = '-u $(id -u):$(id -g) --platform=linux/amd64'

Since arm.config references images that are ARM-only, when you try to run with the arm profile, you get errors from the docker engine, like:

docker: image with reference community.wave.seqera.io/library/grep_sed_tar:4b2523b1c76a5494 was found but does not match the specified platform: wanted linux/amd64, actual: linux/arm64.

Getting rid of the extra docker.runOptions from the arm profile fixes the issue.

Command used and terminal output

Relevant files

No response

System information

No response

@birnbera birnbera added the bug Something isn't working label Jan 29, 2025
@birnbera
Copy link
Author

I'd be happy to make this simple PR. If I should, would it be considered a patch PR to master since it's technically a bug in the released version or would I make a PR against dev? Also, for patches, the instructions to bump the version seem inadequate given the large number of places where the version is referenced, such nf-test snap files and the CHANGELOG.

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

1 participant