diff --git a/Makefile b/Makefile index 71feb02b..5255fa6a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ TAG ?= $(shell git describe --match=NeVeRmAtCh --always --abbrev=40 --dirty) +CONTAINER_RUNTIME ?= podman LDFLAGS = -ldflags '-s -w -extldflags "-static"' @@ -17,4 +18,4 @@ lint: .PHONY: image image: - docker build -t quay.io/crcont/routes-controller:$(TAG) . + ${CONTAINER_RUNTIME} build -t quay.io/crcont/routes-controller:$(TAG) .