Skip to content

Fix multiarch docker image for arm64 users - #125

Merged
hatchan merged 4 commits into
mainfrom
fix_cross
Aug 24, 2023
Merged

hatchan merged 4 commits into
mainfrom
fix_cross

Conversation

@hatchan

@hatchan hatchan commented Aug 24, 2023 •

Copy link
Copy Markdown
Contributor

The Docker image shouldn't use a specific architecture as the base image, and
the platform should require a / between the architecture and variant.

NOTE: This does mean that this will probably not work correctly when we have multiple
ARM variants. Possibly we can use the TARGETVARIANT for the COPY statement.

Checklist

  • Changelog updated

@hatchan
hatchan requested a review from a team as a code owner August 24, 2023 09:30

@mellowagain mellowagain left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

two small nits

Comment thread .github/workflows/release.yml Resolved
Comment thread .github/workflows/release.yml Resolved
This variant will be set by Docker/containerd. Until we support multiple arm variants we can use this simple notation.
@hatchan
hatchan merged commit e8e83fa into main Aug 24, 2023
@hatchan
hatchan deleted the fix_cross branch August 24, 2023 09:55
hatchan added a commit that referenced this pull request Aug 24, 2023
* Fix multiarch docker image for arm64 users

* Update changelog

* Also publish 'latest' tag

* Remove specific variant

This variant will be set by Docker/containerd. Until we support multiple arm variants we can use this simple notation.
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