mirror of https://github.com/CrimsonTome/tldr.git
docker-build: add example with docker from stdin (#6103)
parent
85d8608478
commit
c5bc7d0852
|
@ -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}} .`
|
||||||
|
|
Loading…
Reference in New Issue