Should . be ignored in dockerignore files per Docker docs?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker
- Domain
- build-system
Research direction
Start at the docker_build entry point and trace how .dockerignore patterns are interpreted, comparing the behavior with Docker's documented handling of the . pattern. Done means a . entry is ignored and root files remain referenceable, with a regression test covering this case.
Written by the indexing model from the issue text.
Description
Describe the Feature You Want
.dockerignore files, if present, should not acknowledge the use of . as a character when leveraging docker_build or similar in Tilt.
Current Behavior
If . is in a .dockerignore file, the build fails when trying to reference files at root by name.
Why Do You Want This?
It's entirely possible that this isn't necessary and entirely frivolous, but I'm implementing a Tilt-based workflow in several repositories, some of which have . in their .dockerignore files. In existing practices, this doesn't matter as docker-compose doesn't seem to care about it. If you look at Docker documentation:
https://docs.docker.com/engine/reference/builder/#dockerignore-file
For historical reasons, the pattern . is ignored.
This was not the case when using Tilt, latest version. v0.30.5, built 2022-07-14
Additional context
Add any other context or screenshots about the feature request here.
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 413
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tilt-dev/tilt
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 45/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Tilt at scale Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100