From b1c4f1ca6cbe79be1054ef152a9835390a031d2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Val=C3=AD=C4=8Dek=20=28YCNet=29?= Date: Sat, 10 Feb 2018 00:19:17 +0100 Subject: [PATCH] Creator -> creator-image + makefile --- Makefile | 6 +++++- {creator => creator-image}/Dockerfile | 0 {creator => creator-image}/build.sh | 0 {creator => creator-image}/entrypoint-command | 0 {creator => creator-image}/run.sh | 0 5 files changed, 5 insertions(+), 1 deletion(-) rename {creator => creator-image}/Dockerfile (100%) rename {creator => creator-image}/build.sh (100%) rename {creator => creator-image}/entrypoint-command (100%) rename {creator => creator-image}/run.sh (100%) diff --git a/Makefile b/Makefile index 4cdab2d..de521f0 100644 --- a/Makefile +++ b/Makefile @@ -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 + diff --git a/creator/Dockerfile b/creator-image/Dockerfile similarity index 100% rename from creator/Dockerfile rename to creator-image/Dockerfile diff --git a/creator/build.sh b/creator-image/build.sh similarity index 100% rename from creator/build.sh rename to creator-image/build.sh diff --git a/creator/entrypoint-command b/creator-image/entrypoint-command similarity index 100% rename from creator/entrypoint-command rename to creator-image/entrypoint-command diff --git a/creator/run.sh b/creator-image/run.sh similarity index 100% rename from creator/run.sh rename to creator-image/run.sh