Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker build: accept -f - to read Dockerfile from stdin
Implements proposal moby#27393 that describes the meaning of '-f -' in a `docker build` command. For all context types except reading a context from stdin, '-f -' will replace any file called 'Dockerfile' in the context's tar stream with the contents of stdin. If the context itself is read from stdin, '-f -' continues to read the Dockerfile called '-' from this context. Fixes moby#27393. Signed-off-by: David Sheets <sheets@alum.mit.edu>
- Loading branch information
Showing
2 changed files
with
42 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters