Skip to content

Commit

Permalink
Merge pull request #1 from gbraad/container-runtime
Browse files Browse the repository at this point in the history
Allow to override container runtime
  • Loading branch information
guillaumerose authored Feb 8, 2021
2 parents 6effc2f + 1a36ca2 commit f8834d7
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 f8834d7

Please sign in to comment.