Creator Makefile + entrypoint rename
This commit is contained in:
parent
b1c4f1ca6c
commit
f01b526c5c
2
Makefile
2
Makefile
|
@ -16,3 +16,5 @@ run-mirror: mirror
|
||||||
creator:
|
creator:
|
||||||
docker build -t $(TAGBASE)-creator ./creator-image
|
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
|
||||||
|
|
|
@ -3,7 +3,7 @@ FROM alpine:edge
|
||||||
|
|
||||||
RUN apk add --no-cache bash docker openssh-keygen vim
|
RUN apk add --no-cache bash docker openssh-keygen vim
|
||||||
|
|
||||||
ADD entrypoint-command /bin/entrypoint
|
ADD entrypoint /bin/
|
||||||
|
|
||||||
CMD [ "/bin/entrypoint" ]
|
CMD [ "/bin/entrypoint" ]
|
||||||
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
docker build -t repo-cloner-creator .
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user