Skip to content

Commit

Permalink
Update CONTAINER_TOOL evaluation in makefile to warn instead of error
Browse files Browse the repository at this point in the history
when unable to find docker or podman as this evaluation results in
an error in environments where docker or podman is not installed
even when using targets that do not require a container runtime

Signed-off-by: everettraven <everettraven@gmail.com>
  • Loading branch information
everettraven committed May 13, 2024
1 parent 8e039f3 commit 5130e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ CONTAINER_RUNTIME := docker
else ifneq (, $(shell command -v podman 2>/dev/null))
CONTAINER_RUNTIME := podman
else
$(error Could not find docker or podman in path!)
$(warning Could not find docker or podman in path! This may result in targets requiring a container runtime failing!)
endif

KUSTOMIZE_BUILD_DIR := config/default
Expand Down

0 comments on commit 5130e90

Please sign in to comment.