From f21238db890b177df03be2969ac8bb1400ceee37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Val=C3=AD=C4=8Dek=20=28YCNet=29?= Date: Tue, 6 Feb 2018 11:53:29 +0100 Subject: [PATCH] Docker stuff - step I --- Dockerfile | 11 +++++++++++ build.sh | 2 ++ run.sh | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 Dockerfile create mode 100755 build.sh create mode 100755 run.sh diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bc87e87 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +# Alpine base image +FROM alpine:edge + +VOLUME /data + +RUN apk add --no-cache git bash + + +CMD [ "/bin/bash" ] + + diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..369eeab --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +#!/bin/bash +docker build -t docker-cloner . diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..83792ca --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/bin/bash +docker build -t docker-cloner . +docker run -v cloner-test:/data -it --rm docker-cloner