From 5130e9064c3ce60a2bf9fe4731bf5c953578eafa Mon Sep 17 00:00:00 2001 From: everettraven Date: Mon, 13 May 2024 14:51:30 -0400 Subject: [PATCH] Update CONTAINER_TOOL evaluation in makefile to warn instead of error 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b91d59a4d..6557870bc 100644 --- a/Makefile +++ b/Makefile @@ -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