Skip to content

build: normalize policy env filename default#3675

Merged
crazy-max merged 1 commit intodocker:masterfrom
tonistiigi:policy-filename-fix
Feb 27, 2026
Merged

build: normalize policy env filename default#3675
crazy-max merged 1 commit intodocker:masterfrom
tonistiigi:policy-filename-fix

Conversation

@tonistiigi
Copy link
Member

Use cleaned DockerfilePath basename for policy env filename and fall back to Dockerfile when the path resolves to dot or root.

Previously filename could be reported as "." on default cases.

Use cleaned DockerfilePath basename for policy env filename and fall back
to Dockerfile when the path resolves to dot or root.

Previously filename could be reported as "." on default cases.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi added this to the v0.32.0 milestone Feb 27, 2026
@crazy-max crazy-max merged commit a88af0e into docker:master Feb 27, 2026
160 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants