浏览代码

build: Do not unnecessarily export images

When we do not require an image output from a `docker build` command,
we should not export an image as this just wastes time.

I believe this requires using buildx which can be enabled with
`docker buildx install`

Signed-off-by: Chris Crone <[email protected]>
Chris Crone 4 年之前
父节点
当前提交
f55616d37b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -13,6 +13,7 @@
 #   limitations under the License.
 
 export DOCKER_BUILDKIT=1
+export BUILDX_NO_DEFAULT_LOAD=1
 
 UNAME_S := $(shell uname -s)
 ifeq ($(UNAME_S),Linux)