Docker stuff - step I

This commit is contained in:
Václav Valíček (YCNet) 2018-02-06 11:53:29 +01:00
parent 73bfa09839
commit f21238db89
No known key found for this signature in database
GPG Key ID: 7CF44871CEA75938
3 changed files with 16 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
# Alpine base image
FROM alpine:edge
VOLUME /data
RUN apk add --no-cache git bash
CMD [ "/bin/bash" ]

2
build.sh Executable file
View File

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

3
run.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
docker build -t docker-cloner .
docker run -v cloner-test:/data -it --rm docker-cloner