From 97b0904bcdd79ff659edacdb4c075acc7387de22 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Thu, 26 Nov 2020 13:41:10 +0900 Subject: [PATCH] hack/util: disallow using DOCKER_BUILDKIT instead of buildx DOCKER_BUILDKIT CLI is slightly different from buildx. It is hard to maintain DOCKER_BUILDKIT as a buildx alternative. Signed-off-by: Akihiro Suda --- hack/util | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hack/util b/hack/util index 14460985..d24610c4 100755 --- a/hack/util +++ b/hack/util @@ -28,11 +28,8 @@ buildxCmd() { elif buildx version >/dev/null 2>&1; then set -x buildx "$@" $progressFlag - elif docker version >/dev/null 2>&1; then - set -x - DOCKER_BUILDKIT=1 docker "$@" $progressFlag else - echo >&2 "ERROR: Please enable DOCKER_BUILDKIT or install standalone buildx" + echo >&2 "ERROR: Please install buildx" exit 1 fi }