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

Additional tags for result image #30

Open
antoinedeschenes opened this issue Apr 8, 2022 · 0 comments
Open

Additional tags for result image #30

antoinedeschenes opened this issue Apr 8, 2022 · 0 comments

Comments

@antoinedeschenes
Copy link

antoinedeschenes commented Apr 8, 2022

Image rust-buster-1-stable-x86_64 could also be tagged with rust-buster-1-stable-amd64 and
image rust-buster-1-stable-aarch64 could also be tagged with rust-buster-1-stable-arm64.

This would allow child image Dockerfiles to use the BuildKit TARGETARCH argument:
FROM --platform=$BUILDPLATFORM docker.io/logdna/build-images:rust-buster-1-stable-$TARGETARCH as build

Example use case is when using docker buildx with multiple platforms, where one can't use platform-dependant build-args:
docker buildx build --build-arg MYARG=value --platform linux/arm64,linux/amd64 -t myimage ..

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

No branches or pull requests

1 participant