Is there any ability to specify a custom .dockerignore file? It is being ignored even when default naming convention like app.dockerfile and app.dockerfile.dockerignore is used.
According to the official Docker documentation the file must be named “.dockerignore”
Before the docker CLI sends the context to the docker daemon, it looks for a file named .dockerignore in the root directory of the context. If this file exists, the CLI modifies the context to exclude files and directories that match patterns in it.
Please note that this plugin is a thin wrapper around docker (it just executes “docker build” under the hood) and does not interfere with or change the default docker behavior in any way. If the .dockerignore is not working as expected you should probably engage docker community support, since use of this file is determined by the docker client, and not by Drone.