New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker build read from stdin needs documentation #3538
Comments
Would love to have this documented, found this googling around and it's a cool feature that should be known. Thanks for being awesome guys! |
* eliminates file creation. directory doesn't contain any further context information NOTE * https://docs.docker.com/engine/reference/commandline/build/#build-with-- * docker/docs#3538
@thaJeztah Sorry I didn't get to this. You might want to tackle this in |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. /lifecycle locked |
Problem description
Docker 17.05 added an option to perform
docker build
with the Dockerfile piped throughstdin
, but being able to use local (or remote) build-context. Prior to docker 17.05, building an image with a Dockerfile fromstdin
did not send the build-context.Docker < 17.05;
Docker 17.05 and up;
or (remote build-context);
(or other variations to get the Dockerfile from
stdin
)The old syntax is still supported; the new one is just added
This functionality wasn't documented when the pull request was merged, so needs an update (probably both in CLI reference and other pages)
/cc @dsheets @tonistiigi @mstanleyjones
Related pull request: moby/moby#31236
And proposal: moby/moby#27393
The text was updated successfully, but these errors were encountered: