a42ed3883b
To avoid regressing on the Dockerfile, run the new make target in the CI as well. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
12 lines
251 B
Makefile
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) .
|