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

Explicitly specify platform when building images #1853

Merged

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Jan 16, 2025

Use --platform flag to explicitly specify applicable value to match the one already specified in each Dockerfile.

This resolves the InvalidBaseImagePlatform warning emitted by current versions of Docker.

@atc0005 atc0005 added bug Something isn't working Makefile labels Jan 16, 2025
@atc0005 atc0005 added this to the v0.22.1 milestone Jan 16, 2025
@atc0005 atc0005 self-assigned this Jan 16, 2025
Use `--platform` flag to explicitly specify applicable value
to match the one already specified in each Dockerfile.

This resolves the `InvalidBaseImagePlatform` warning emitted by
current versions of Docker.

refs GH-1852
@atc0005 atc0005 force-pushed the i1852-explicitly-specify-platform-value-when-building-images branch from 8ca693c to 950878e Compare January 16, 2025 13:17
@atc0005 atc0005 merged commit f1fbad7 into master Jan 16, 2025
20 checks passed
@atc0005 atc0005 deleted the i1852-explicitly-specify-platform-value-when-building-images branch January 16, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Makefile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InvalidBaseImagePlatform warning now emitted when building linux/386 images on linux/amd64 host
1 participant