From 7e2ed3a341ba5f522bc0498c1fcadd846273d079 Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 29 Sep 2020 20:18:12 +0200 Subject: allow to pass docker image name to build.sh --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 80f59d0..b725812 100644 --- a/Makefile +++ b/Makefile @@ -43,8 +43,9 @@ else endif docker: docker/Dockerfile - cd docker && ./build.sh - docker run -it --rm -v $(PWD):/develop matcha-box:latest + $(eval IMG := matcha-box) + cd docker && ./build.sh $(IMG) + docker run -it --rm -v $(PWD):/develop $(IMG):latest .PHONY: docker -- cgit v1.2.3