diff --git a/docker/build.sh b/docker/build.sh index ab7ae75b..83f4cdfb 100644 --- a/docker/build.sh +++ b/docker/build.sh @@ -2,7 +2,7 @@ # image build script -cd $(dirname $0) && set -xe +cd "$(dirname "$0")" && set -xe DOCKERNAME=automon DOCKERTAG=$(git describe --tags) diff --git a/docker/run.sh b/docker/run.sh index a489b4d3..19e27099 100644 --- a/docker/run.sh +++ b/docker/run.sh @@ -2,7 +2,7 @@ # image build script -cd $(dirname $0) && set -xe +cd "$(dirname "$0")" && set -xe DOCKERNAME=automon /bin/bash build.sh && docker run --rm -it $DOCKERNAME "$@" diff --git a/docker/test.sh b/docker/test.sh index 4cd39d9f..cf0b2b2a 100644 --- a/docker/test.sh +++ b/docker/test.sh @@ -2,7 +2,7 @@ # image build script -cd $(dirname $0) && set -xe +cd "$(dirname "$0")" && set -xe DOCKERNAME=automon /bin/bash build.sh && docker run --rm $DOCKERNAME test "$@"