diff --git a/Makefile b/Makefile index 2e89aa8240..ab02c1669d 100644 --- a/Makefile +++ b/Makefile @@ -247,14 +247,13 @@ swagger-docs: ## preview the API documentation .PHONY: buildx ifeq ($(BUILDX), bundles/buildx) -buildx: bundles/buildx # build buildx cli tool -else -buildx: +buildx: bundles/buildx ## build buildx cli tool endif +# This intentionally is not using the `--output` flag from the docker CLI, which +# is a buildkit option. The idea here being that if buildx is being used, it's +# because buildkit is not supported natively bundles/buildx: bundles ## build buildx CLI tool - # This intetionally is not using the `--output` flag from the docker CLI which is a buildkit option - # The idea here being that if buildx is being used, it's because buildkit is not supported natively docker build -f $${BUILDX_DOCKERFILE:-Dockerfile.buildx} -t "moby-buildx:$${BUILDX_COMMIT:-latest}" \ --build-arg BUILDX_COMMIT \ --build-arg BUILDX_REPO \