repo-cloner/old/Makefile
Václav Valíček b536c883de
move old files to old directory
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-05-04 09:46:41 +02:00

28 lines
632 B
Makefile

default: cloner
GLOBALVOL ?= cloner-global
TAGOWNER = valicek1
TAGMAIN = repo-cloner
TAGBASE= $(TAGOWNER)/$(TAGMAIN)
cloner:
docker build -t $(TAGBASE) .
run: cloner
docker run -v $(GLOBALVOL):/data -it --rm $(TAGBASE)
once: cloner
docker run -v $(GLOBALVOL):/data -it --rm $(TAGBASE) /usr/local/bin/cron-command
bash: cloner
docker run -v $(GLOBALVOL):/data -it --rm $(TAGBASE) /bin/bash
# wizzard
wizzard: cloner
docker run -v $(GLOBALVOL):/data -it --rm $(TAGBASE) /usr/local/bin/wizzard
singleshot: cloner
docker run -v $(GLOBALVOL):/data -e BASE=/data/cloner-t456 --user executor -it --rm $(TAGBASE) run-checker