pwaller / docker-show-context

Show where time is wasted during the context upload of `docker build`
MIT License
338 stars 16 forks source link

Allow specifying location of .dockerignore #19

Open lorenzleutgeb opened 3 years ago

lorenzleutgeb commented 3 years ago

I build with

DOCKER_BUILDKIT=1 docker build -f x/Dockerfile .

thus, the Dockerfile ./x/Dockerfile and the .dockerignore file ./x/Dockerfile.dockerignore are used. However, this tool expects .dockerignore to be at ./.dockerignore.