Creator -> creator-image + makefile

This commit is contained in:
Václav Valíček (YCNet) 2018-02-10 00:19:17 +01:00
parent 56f6ac2bc6
commit b1c4f1ca6c
No known key found for this signature in database
GPG Key ID: 7CF44871CEA75938
5 changed files with 5 additions and 1 deletions

View File

@ -5,10 +5,14 @@ TAGOWNER = valicek1
TAGMAIN = repo-cloner
TAGBASE= $(TAGOWNER)/$(TAGMAIN)
# Mirrorer - root of repo
mirror:
docker build -t $(TAGBASE)-mirror .
run-mirror: mirror
docker run -v $(VOLUME):/data -it --rm $(TAGBASE)-mirror
# Creator - ./creator dir
creator:
docker build -t $(TAGBASE)-creator ./creator-image