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

Support Docker image for i386 and arm32v7 architectures #226

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MPThLee
Copy link

@MPThLee MPThLee commented Jul 10, 2023

Issue #, if available: Fixes #182

Description of changes: Add i386 and arm32v7 to Docker image build platform. (Following upstream image's architectures)

Official rust docker image is depends on rustup. And rustup doesn't support i386 and arm/v7 for musl(alpine) target.
This PR adds build target 'i386' and 'arm/v7' on non-alpine target. According to #182 (comment), this should be ok.
Note: latest is always Debian based.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -119,6 +120,6 @@ jobs:
--tag $DOCKER_REPO:latest \
--build-arg=BASE_IMAGE=rust:$RUST_IMAGE_TAG \
--build-arg=CHEF_TAG=$CHEF_PACKAGE_VERSION \
--platform linux/amd64,linux/arm64 \
--platform linux/amd64,linux/arm64,linux/386,linux/arm/v7 \
Copy link
Owner

Choose a reason for hiding this comment

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

Don't we have the same problem here with respect to Alpine?

Copy link
Author

Choose a reason for hiding this comment

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

latest should always be Debian, isn’t it?

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.

Feature request: consider building docker images for armv7 architecture
2 participants