From c5bc7d08525cef655e84199a20f17facad993b08 Mon Sep 17 00:00:00 2001 From: Seth Falco Date: Fri, 25 Jun 2021 22:20:54 +0200 Subject: [PATCH] docker-build: add example with docker from stdin (#6103) --- pages/common/docker-build.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/docker-build.md b/pages/common/docker-build.md index 0b542e984..d8a7aad9e 100644 --- a/pages/common/docker-build.md +++ b/pages/common/docker-build.md @@ -15,6 +15,10 @@ `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: `docker build --no-cache --tag {{name:tag}} .`