diff --git a/Makefile b/Makefile index 8538c94d42d..7c8b6e3c585 100644 --- a/Makefile +++ b/Makefile @@ -857,7 +857,7 @@ docker-all-tools: tool-util tool-remove-execution-fork PHONY: docker-build-util docker-build-util: - docker build -f cmd/Dockerfile --build-arg TARGET=./cmd/util --build-arg GOARCH=$(GOARCH) --build-arg VERSION=$(IMAGE_TAG) --build-arg CGO_FLAG=$(CRYPTO_FLAG) --target production \ + docker build -f cmd/Dockerfile --build-arg TARGET=./cmd/util --build-arg GOARCH=$(GOARCH) --build-arg VERSION=$(IMAGE_TAG) --build-arg CGO_FLAG=$(DISABLE_ADX) --target production \ -t "$(CONTAINER_REGISTRY)/util:latest" \ -t "$(CONTAINER_REGISTRY)/util:$(IMAGE_TAG)" .