docker-build: add example with docker from stdin (#6103)
This commit is contained in:
@@ -15,6 +15,10 @@
|
|||||||
|
|
||||||
`docker build --tag {{name:tag}} .`
|
`docker build --tag {{name:tag}} .`
|
||||||
|
|
||||||
|
- Build a docker image with no build context:
|
||||||
|
|
||||||
|
`docker build --tag {{name:tag}} - < {{Dockerfile}}`
|
||||||
|
|
||||||
- Do not use the cache when building the image:
|
- Do not use the cache when building the image:
|
||||||
|
|
||||||
`docker build --no-cache --tag {{name:tag}} .`
|
`docker build --no-cache --tag {{name:tag}} .`
|
||||||
|
Reference in New Issue
Block a user