2018-02-23 10:23:06 +01:00
|
|
|
default: cloner
|
2018-02-10 00:11:48 +01:00
|
|
|
|
2018-02-23 10:17:37 +01:00
|
|
|
GLOBALVOL ?= cloner-global
|
2018-02-10 00:14:39 +01:00
|
|
|
TAGOWNER = valicek1
|
|
|
|
TAGMAIN = repo-cloner
|
|
|
|
TAGBASE= $(TAGOWNER)/$(TAGMAIN)
|
2018-02-10 00:11:48 +01:00
|
|
|
|
2018-02-23 10:17:37 +01:00
|
|
|
cloner:
|
|
|
|
docker build -t $(TAGBASE) .
|
|
|
|
|
|
|
|
run: cloner
|
|
|
|
docker run -v $(GLOBALVOL):/data -it --rm $(TAGBASE)
|
|
|
|
|
|
|
|
run-once: cloner
|
2018-02-23 11:28:45 +01:00
|
|
|
docker run -v $(GLOBALVOL):/data -it --rm $(TAGBASE) /usr/local/bin/cron-command
|
2018-02-23 10:17:37 +01:00
|
|
|
|
|
|
|
run-bash: cloner
|
|
|
|
docker run -v $(GLOBALVOL):/data -it --rm $(TAGBASE) /bin/bash
|
2018-02-10 00:11:48 +01:00
|
|
|
|
2018-02-10 00:44:07 +01:00
|
|
|
# wizzard
|
2018-02-23 10:23:06 +01:00
|
|
|
wizzard: cloner
|
|
|
|
docker run -v $(GLOBALVOL):/data -it --rm $(TAGBASE) /usr/local/bin/wizzard
|
2018-02-13 14:42:59 +01:00
|
|
|
|