Skip to content

docs(man): --file can sit outside the build context - #7206

Open
locker95 wants to merge 1 commit into
docker:masterfrom
locker95:docs/build-file-outside-context
Open

docs(man): --file can sit outside the build context#7206
locker95 wants to merge 1 commit into
docker:masterfrom
locker95:docs/build-file-outside-context

Conversation

@locker95

Copy link
Copy Markdown

The docker-build man page still said -f has to live inside the context. That hasn't been true since the Dockerfile-outside-context change, and it's the default BuildKit builder now.

Relative -f is from the current working directory. Remote git/tar contexts still resolve it from the remote root.

Signed-off-by: Dean Chen <862469039@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker-build man page doesn't reflect new rules for Dockerfile path

1 participant