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

improve alpine version selection per arch #4783

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

tonistiigi
Copy link
Member

Instead of hardcoding all possible architectures
that can be built, define RiscV as exception and
any other architecture use $ALPINE_VERSION tag.

Instead of hardcoding all possible architectures
that can be built, define RiscV as exception and
any other architecture use $ALPINE_VERSION tag.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@@ -22,19 +22,20 @@ ARG ALPINE_VERSION=3.19
ARG XX_VERSION=1.4.0
ARG BUILDKIT_DEBUG

ARG ALPINE_ARCH=${TARGETARCH#riscv64}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be all in one line but probably more readable if split up.

@tonistiigi tonistiigi merged commit da0131c into moby:master Mar 19, 2024
72 checks passed
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