Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

panchoh/test-dockerignore-on-quay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test .dockerignore ignoring Dockerfile on Quay.io

Suspected bug

When a .dockerignore is used that ignores Dockerfile, quay.io refuses to build the image, complaining that the Dockerfile cannot be found. This is, IMHO, unexpected behaviour, since the official docs clearly state that:

You can even use the .dockerignore file to exclude the Dockerfile and .dockerignore files. These files are still sent to the daemon because it needs them to do its job. But the ADD and COPY commands do not copy them to the image.

Also note that building this image works flawlessly both locally, with

$ docker build --tag pancho/test-dockerignore-on-quay:locally-built .

and on hub.docker.com, but fails on quay.io.

Thanks for watching.

UPDATE 20200404

I've checked and this now works OK on Quay.io. Archiving...

About

This repo illustrates an issue when using .dockerignore to ignore the Dockerfile when built by quay.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published