First step for repo-cloner-creator

This commit is contained in:
Václav Valíček (YCNet) 2018-02-08 15:22:17 +01:00
parent aa601dc1fa
commit ac3be9e9a5
No known key found for this signature in database
GPG Key ID: 7CF44871CEA75938
4 changed files with 18 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
creator/*

11
creator/Dockerfile Normal file
View 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
View File

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

4
creator/run.sh Executable file
View 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