diff --git a/Makefile b/Makefile index de521f0..0b94f9e 100644 --- a/Makefile +++ b/Makefile @@ -16,3 +16,5 @@ run-mirror: mirror creator: docker build -t $(TAGBASE)-creator ./creator-image +run-creator: creator + docker run -v /var/run/docker.sock:/var/run/docker.sock -it --rm $(TAGBASE)-creator diff --git a/creator-image/Dockerfile b/creator-image/Dockerfile index 98d2e66..f2be50b 100644 --- a/creator-image/Dockerfile +++ b/creator-image/Dockerfile @@ -3,7 +3,7 @@ FROM alpine:edge RUN apk add --no-cache bash docker openssh-keygen vim -ADD entrypoint-command /bin/entrypoint +ADD entrypoint /bin/ CMD [ "/bin/entrypoint" ] diff --git a/creator-image/build.sh b/creator-image/build.sh deleted file mode 100755 index 6cc341f..0000000 --- a/creator-image/build.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -docker build -t repo-cloner-creator . diff --git a/creator-image/entrypoint-command b/creator-image/entrypoint similarity index 100% rename from creator-image/entrypoint-command rename to creator-image/entrypoint diff --git a/creator-image/run.sh b/creator-image/run.sh deleted file mode 100755 index f5bf62c..0000000 --- a/creator-image/run.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -docker build -t repo-cloner-creator . -docker run -v /var/run/docker.sock:/var/run/docker.sock -it --rm repo-cloner-creator -