First step for repo-cloner-creator
This commit is contained in:
parent
aa601dc1fa
commit
ac3be9e9a5
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
@ -0,0 +1 @@
|
|||
creator/*
|
11
creator/Dockerfile
Normal file
11
creator/Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Alpine base image
|
||||
FROM alpine:edge
|
||||
|
||||
VOLUME /data
|
||||
|
||||
RUN apk add --no-cache bash docker openssh-keygen
|
||||
|
||||
|
||||
CMD [ "/bin/bash" ]
|
||||
|
||||
|
2
creator/build.sh
Executable file
2
creator/build.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
docker build -t repo-cloner-creator .
|
4
creator/run.sh
Executable file
4
creator/run.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/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