-
Notifications
You must be signed in to change notification settings - Fork 617
Docs: document remote URL support for --file flag in buildx build #3451
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
base: master
Are you sure you want to change the base?
Docs: document remote URL support for --file flag in buildx build #3451
Conversation
Expand the buildx build doc to include details on the supported input options for the --file flag: local file path, remote URL, and stdin. Add examples for each input type to enhance user understanding. Signed-off-by: Akhil Manoj <akhil.manoj2003@gmail.com> Signed-off-by: Akhil Manoj <manoja2@vcu.edu>
7e9b39c to
967471d
Compare
dvdksn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch 🙇 needs some small changes
| $ docker buildx build -f path/to/Dockerfile . | ||
| ``` | ||
|
|
||
| #### remote URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #### remote URL | |
| #### Remote URL |
| - [`remote URL`](#remote-url) | ||
| - [`stdin`](#stdin) | ||
|
|
||
| #### local file path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #### local file path | |
| #### Local file path |
|
|
||
| #### stdin | ||
|
|
||
| To read a Dockerfile from stdin, you can use `-` as the argument: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| To read a Dockerfile from stdin, you can use `-` as the argument: | |
| To read a Dockerfile from stdin, use `-` as the argument: |
Addresses documentation gap from #3121 (comment).
The
--fileflag indocker buildx buildsupports URLs in addition to local paths and stdin, but this wasn't documented. Updated documentation to reflect this with examples for each use case.