We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9554c2 + 93b1d58 commit 8879cb6Copy full SHA for 8879cb6
Makefile
@@ -44,8 +44,7 @@ IMG = $(IMAGE_TAG_BASE):$(DEV_VERSION)
44
NAMESPACE ?= hc4ai-operator
45
46
47
-# CONTAINER_TOOL := $(shell command -v docker >/dev/null 2>&1 && echo docker || command -v podman >/dev/null 2>&1 && echo podman || echo "")
48
-CONTAINER_TOOL ?= docker
+CONTAINER_TOOL := $(shell { command -v docker >/dev/null 2>&1 && echo docker; } || { command -v podman >/dev/null 2>&1 && echo podman; } || echo "")
49
BUILDER := $(shell command -v buildah >/dev/null 2>&1 && echo buildah || echo $(CONTAINER_TOOL))
50
PLATFORMS ?= linux/amd64 # linux/arm64 # linux/s390x,linux/ppc64le
51
0 commit comments