diff --git a/Docker/build.sh b/Docker/build.sh index 5be9138de32c808cd661ef3b6ed1c2de8de643c7..c1c1ad90ecaa8a62e4485eb8aa191f7919230069 100755 --- a/Docker/build.sh +++ b/Docker/build.sh @@ -1,12 +1,13 @@ #sh!/bin/bash -ex tag=$1 +shift test -n "$tag" git diff $tag # git rev-parse --short ${TAG} hash=$(git rev-parse --short HEAD) echo building rGIT${hash} sleep 1 -docker build --no-cache --build-arg BORT=${tag} . -f shellb3-cspp-py38.Dockerfile \ +docker build "$@" --build-arg BORT=${tag} . -f shellb3-cspp-py38.Dockerfile \ -t shellb3-cspp-py38:latest \ -t gitlab.ssec.wisc.edu:5555/cspp/buildbucket/shellb3/shellb3-centos7-gcc8-cspp-py38:rGIT${hash} \ -t gitlab.ssec.wisc.edu:5555/cspp/buildbucket/shellb3/shellb3-centos7-gcc8-cspp-py38:latest