Update Dockerfile syntax to docker/dockerfile:1#3534
Merged
kichristensen merged 1 commit intogetporter:mainfrom Dec 29, 2025
Merged
Update Dockerfile syntax to docker/dockerfile:1#3534kichristensen merged 1 commit intogetporter:mainfrom
kichristensen merged 1 commit intogetporter:mainfrom
Conversation
Replace docker/dockerfile-upstream:1.4.0 with docker/dockerfile:1 across all Dockerfiles, templates, test data, and documentation. - Update DefaultDockerfileSyntax constant - Update buildkit templates - Update test data Dockerfiles - Update documentation examples Signed-off-by: Kim Christensen <kimworking@gmail.com>
056f6a1 to
1bad024
Compare
dgannon991
approved these changes
Dec 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change
Updates default Docker syntax from
docker/dockerfile-upstream:1.4.0todocker/dockerfile:1.This modernizes Porter's Dockerfile syntax to use the more current and recommended syntax version. The change affects:
pkg/build/dockerfile-generator.goWhat issue does it fix
Closes #3533
Notes for the reviewer
All tests pass. The new syntax
docker/dockerfile:1is the recommended format and automatically uses the latest stable version.Checklist