repo-cloner/Makefile

15 lines
241 B
Makefile

default: buildall
VOLUME ?= cloner-test
TAGOWNER = valicek1
TAGMAIN = repo-cloner
TAGBASE= $(TAGOWNER)/$(TAGMAIN)
mirror:
docker build -t $(TAGBASE)-mirror .
run-mirror: mirror
docker run -v $(VOLUME):/data -it --rm $(TAGBASE)-mirror