Creator Makefile + entrypoint rename

This commit is contained in:
2018-02-10 00:35:20 +01:00
parent b1c4f1ca6c
commit f01b526c5c
5 changed files with 3 additions and 7 deletions

View File

@@ -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

View File

@@ -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" ]

View File

@@ -1,2 +0,0 @@
#!/bin/bash
docker build -t repo-cloner-creator .

View File

@@ -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