Skip to content

Commit

Permalink
Allow to override container runtime
Browse files Browse the repository at this point in the history
Signed-off-by: Gerard Braad <me@gbraad.nl>
  • Loading branch information
gbraad committed Feb 8, 2021
1 parent 6effc2f commit 1a36ca2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
TAG ?= $(shell git describe --match=NeVeRmAtCh --always --abbrev=40 --dirty)
CONTAINER_RUNTIME ?= podman

LDFLAGS = -ldflags '-s -w -extldflags "-static"'

Expand All @@ -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) .

0 comments on commit 1a36ca2

Please sign in to comment.