From 65255327a5b11b42c3d26fbc2f8938857f695ff0 Mon Sep 17 00:00:00 2001 From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de> Date: Tue, 7 Nov 2023 09:47:58 +0100 Subject: [PATCH] Makefile: Put container image and tag into variables --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 254f8b4..9bf2a8c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,9 @@ +IMAGE=docker.io/library/alpine +TAG=3.18 + image.sqfs: - podman run --rm -ti -v $$PWD:/build -w /build alpine:3.17 ./make-image.sh + podman run --rm --volume $$PWD:/build --workdir /build \ + $(IMAGE):$(TAG) \ + ./make-image.sh .PHONY: image.sqfs -- GitLab