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

Multi-Arch Image with arm64 #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

DWSR
Copy link

@DWSR DWSR commented Jan 13, 2023

Bumps to Go 1.19 and builds a multi-arch image for arm64 and amd64.

@erwinvaneyk
Copy link
Owner

Thanks for the PR, @DWSR !

I checked out your change, but locally my setup (Docker 20.10.22) does run into an error with your changes:

$ make docker-build
docker buildx build . --tag erwinvaneyk/cert-completer:latest --platform linux/amd64,linux/arm64 --load
[+] Building 0.0s (0/0)
ERROR: docker exporter does not currently support exporting manifest lists

We might either want to work around that or document the limitations. What do you think?

@DWSR
Copy link
Author

DWSR commented Feb 10, 2023

@erwinvaneyk Can you confirm that it works if you export DOCKER_CLI_EXPERIMENTAL=enabled and then run the command?

@erwinvaneyk
Copy link
Owner

@DWSR apologies for the long delay, it got buried in my notification. But, no, even with that env setup it does not work. This seems to be a known and long-running issue: docker/buildx#59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants