From b82b4b9055c61b011a2b00fa485b08a35025d017 Mon Sep 17 00:00:00 2001
From: "R.K.Garcia" <rkgarcia@wisc.edu>
Date: Mon, 8 Feb 2021 17:43:57 +0000
Subject: [PATCH] make --no-cache optional

---
 Docker/build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Docker/build.sh b/Docker/build.sh
index 5be9138d..c1c1ad90 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 
-- 
GitLab