aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-09-29 20:18:12 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-09-29 20:18:12 +0200
commit7e2ed3a341ba5f522bc0498c1fcadd846273d079 (patch)
treee5ab4a526b8accb410d3448d4c5d0e8b93d06b02 /Makefile
parentd51c60b76da2d4caf8ed780264cfd9b9c1d04471 (diff)
downloadmatcha-threads-7e2ed3a341ba5f522bc0498c1fcadd846273d079.tar.gz
matcha-threads-7e2ed3a341ba5f522bc0498c1fcadd846273d079.zip
allow to pass docker image name to build.sh
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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