From f01b526c5cf4914c48d50c2d18fc44ecc4d7de40 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:35:20 +0100 Subject: [PATCH] Creator Makefile + entrypoint rename --- Makefile | 2 ++ creator-image/Dockerfile | 2 +- creator-image/build.sh | 2 -- creator-image/{entrypoint-command => entrypoint} | 0 creator-image/run.sh | 4 ---- 5 files changed, 3 insertions(+), 7 deletions(-) delete mode 100755 creator-image/build.sh rename creator-image/{entrypoint-command => entrypoint} (100%) delete mode 100755 creator-image/run.sh 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 -