From 2e426617fb3544f8ee1e1b5efcdd232c8d5ff5bd Mon Sep 17 00:00:00 2001
From: "R.K.Garcia" <rayg@ssec.wisc.edu>
Date: Tue, 22 Jun 2021 00:58:17 +0000
Subject: [PATCH] avoid using cache during build because branches

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

diff --git a/Docker/build.sh b/Docker/build.sh
index 6a78d3be..1835b239 100755
--- a/Docker/build.sh
+++ b/Docker/build.sh
@@ -7,7 +7,7 @@ git diff $tag
 hash=$(git rev-parse --short HEAD)
 echo building rGIT${hash}
 sleep 1
-docker build "$@" --build-arg BORT=${tag} . -f shellb3-cspp-py38.Dockerfile \
+docker build "$@" --no-cache --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-gcc10-cspp-py38:rGIT${hash} \
   -t gitlab.ssec.wisc.edu:5555/cspp/buildbucket/shellb3/shellb3-centos7-gcc10-cspp-py38:latest 
-- 
GitLab