This allows building images with a blank build context by using the -X or --no-context switch (or DAPPER_NO_CONTEXT env).
From the Docker manual:
If you use STDIN or specify a URL pointing to a plain text file, the system places the contents into a file called Dockerfile, and any -f, --file option is ignored. In this scenario, there is no context.
This allows building images with a blank build context by using the
-X
or--no-context
switch (orDAPPER_NO_CONTEXT
env).From the Docker manual:
see https://docs.docker.com/engine/reference/commandline/build/#text-files
see #53