diff --git a/.dockerignore b/.dockerignore index 89f47bd..ad57124 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ creator/* +launcher/* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c8052b4 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +default: buildall + +VOLUME ?= cloner-test + + +mirror: + docker build -t valicek1/repo-cloner-mirror . + +run-mirror: mirror + docker run -v $(VOLUME):/data -it --rm valicek1/repo-cloner-mirror + diff --git a/build.sh b/build.sh deleted file mode 100755 index a7201d9..0000000 --- a/build.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -docker build -t repo-cloner . diff --git a/run.sh b/run.sh deleted file mode 100755 index ce21bf7..0000000 --- a/run.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -docker build -t repo-cloner . -docker run -v cloner-test:/data -it --rm repo-cloner -