Skip to content

fix(docker): build multi-arch images - #87

Merged
jasonwhite merged 1 commit into
jasonwhite:masterfrom
AsPulse:fix/docker-multi-arch
Jun 15, 2026
Merged

jasonwhite merged 1 commit into
jasonwhite:masterfrom
AsPulse:fix/docker-multi-arch

Conversation

@AsPulse

@AsPulse AsPulse commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

The current Dockerfile hardcodes CARGO_BUILD_TARGET=x86_64-unknown-linux-musl and downloads a single-arch tini binary, so the Docker image only works on amd64.

This PR makes the build multi-arch aware (amd64 + arm64) by selecting the appropriate Rust target and tini binary based on TARGETARCH.

@pSub pSub left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Works well for me.

@jasonwhite
jasonwhite merged commit 77f9340 into jasonwhite:master Jun 15, 2026
5 of 6 checks passed
@jasonwhite

Copy link
Copy Markdown
Owner

Thanks for doing this!

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.

Provide Docker images for ARM64

3 participants