Skip to content

Commit d5cef72

Browse files
committed
Makefile target to build container image.
Adds two Makefile target to help developers to build their development container images.
1 parent 4de21a5 commit d5cef72

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
HYPERFINE := $(shell command -v hyperfine 2> /dev/null)
2+
IMG ?= policy-server:latest
23

34
.PHONY: build
45
build:
@@ -26,3 +27,7 @@ tag:
2627
@git-chglog --output CHANGELOG.md
2728
@git commit -m 'Update CHANGELOG.md' -- CHANGELOG.md
2829
@git tag -f "${TAG}"
30+
31+
.PHONY: docker-build
32+
docker-build: test ## Build docker image with the manager.
33+
docker build -t ${IMG} .

0 commit comments

Comments
 (0)