Skip to content

soulne4ny/docker-multilevel-ignore-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Bug in handling .dockerignore x/**/y with docker-compose

How to recreate

$ docker-compose build docker-ignore
Successfully built 6f6383c417f3
$ docker run --rm -it docker-ignore find node_modules -name '*.md' | wc -l
       3
$ docker run --rm -it docker-ignore find node_modules -name '*.md'
./1/2/3/A.md
./1/2/A.md
./A.md

Without docker-compose it's ok

$ docker build -t docker-ignore -f docker-ignore/docker/Dockerfile.test docker-ignore
Successfully built cd3ab73e69bf
$ docker run --rm -it docker-ignore find node_modules -name '*.md' | wc -l
       0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published