Creator -> creator-image + makefile
This commit is contained in:
parent
56f6ac2bc6
commit
b1c4f1ca6c
6
Makefile
6
Makefile
|
@ -5,10 +5,14 @@ TAGOWNER = valicek1
|
||||||
TAGMAIN = repo-cloner
|
TAGMAIN = repo-cloner
|
||||||
TAGBASE= $(TAGOWNER)/$(TAGMAIN)
|
TAGBASE= $(TAGOWNER)/$(TAGMAIN)
|
||||||
|
|
||||||
|
# Mirrorer - root of repo
|
||||||
mirror:
|
mirror:
|
||||||
docker build -t $(TAGBASE)-mirror .
|
docker build -t $(TAGBASE)-mirror .
|
||||||
|
|
||||||
run-mirror: mirror
|
run-mirror: mirror
|
||||||
docker run -v $(VOLUME):/data -it --rm $(TAGBASE)-mirror
|
docker run -v $(VOLUME):/data -it --rm $(TAGBASE)-mirror
|
||||||
|
|
||||||
|
# Creator - ./creator dir
|
||||||
|
creator:
|
||||||
|
docker build -t $(TAGBASE)-creator ./creator-image
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user