Skip to content

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.

--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