-
Notifications
You must be signed in to change notification settings - Fork 667
Open
Labels
builderIssues and features associated with container image buildingIssues and features associated with container image building
Milestone
Description
Feature or enhancement request details
When searching for ignore files, container build should follow this order:
- Use the file that has the same pathname as the Dockerfile, with the
.dockerignoresuffix, if it exists. - Use the file named
.dockerignorein the build context directory, if it exists.
The attached archive runs a set of tests to check conformance. The results for colima vs container are shown in the discussion.
Tests:
- Updated 2026-02-25 to include test that ensures
app.Dockerfile.dockerignoregets used forapp.Dockerfileinstead ofDockerfile.dockerignorein the same directory, and same test when the Dockerfile and ignore files exist outside the context root.
20260205-dockerignore-paths.tgz
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
builderIssues and features associated with container image buildingIssues and features associated with container image building