Adding noCache docker build argument
noCache will avoid picking the cached layers during the docker image build
which may have been corrupted
Issue-ID: CCSDK-3226
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: If7e88b80a6127156cff9943a9760db9a6a8a81c2
diff --git a/saltstack-server/pom.xml b/saltstack-server/pom.xml
index f1e0de3..04962f5 100644
--- a/saltstack-server/pom.xml
+++ b/saltstack-server/pom.xml
@@ -82,6 +82,7 @@
<name>${image.name}</name>
<build>
<cleanup>try</cleanup>
+ <noCache>true</noCache>
<contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>