containers-bsi/Makefile
Valentin Rothberg a42ed3883b Add build-container make target
To avoid regressing on the Dockerfile, run the new make target in the CI
as well.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-09-11 11:53:47 +02:00

12 lines
251 B
Makefile

SRC := ./BuildSourceImage.sh
CTR_IMAGE := localhost/containers/buildsourceimage
all: validate
.PHONY: validate
validate: $(SRC)
shellcheck -a $(SRC)
.PHONY: build-container
build-container: Dockerfile
podman build -f Dockerfile -t $(CTR_IMAGE) .