Skip to content

Commit e9acbd3

Browse files
authored
Update CONTAINER_TOOL evaluation in makefile to warn instead of error (#852)
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>
1 parent 8e039f3 commit e9acbd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ CONTAINER_RUNTIME := docker
5050
else ifneq (, $(shell command -v podman 2>/dev/null))
5151
CONTAINER_RUNTIME := podman
5252
else
53-
$(error Could not find docker or podman in path!)
53+
$(warning Could not find docker or podman in path! This may result in targets requiring a container runtime failing!)
5454
endif
5555

5656
KUSTOMIZE_BUILD_DIR := config/default

0 commit comments

Comments
 (0)