-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
To doc: Allow Dockerfile to be outside of build-context #6199
Comments
Thanks! Yes, this would be mainly digging if we mention that the Dockerfile must be inside the build-context; which now is no longer a requirement, as now you can do:
|
@thaJeztah ... I'm finding text from last October that already says this:
The first sentence is contradictory but from "By default" on, it appears that this feature may have been documented. What am I missing here? What is new? |
I think the part that needs to be removed in that paragraph is "and the Dockerfile must be somewhere within this build context", otherwise that paragraph looks ok. It was already possible to set the location of the Dockerfile using the This was allowed:
But this would fail (because
|
Got it. Thanks, @thaJeztah . |
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 |
References:
https://github.com/docker/docker-ce/blob/v18.03.0-ce-rc3/CHANGELOG.md
docker/cli#886
Possible doc location:
https://docs.docker.com/engine/reference/builder/
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
The text was updated successfully, but these errors were encountered: