How to skip sending of build context without using .dockerignore?
05:54 13 Feb 2019

Without using a .dockerignore file, is there a way to skip sending of build context when building an image via the following command?

docker build .

In other words, I would like the build context to be empty, without a need to manually create an empty directory that I would then pass to docker build.

docker