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/alpine/java11/pom.xml b/alpine/java11/pom.xml
index b3238f0..5c6ed97 100644
--- a/alpine/java11/pom.xml
+++ b/alpine/java11/pom.xml
@@ -85,6 +85,7 @@
<name>${image.name}</name>
<build>
<cleanup>try</cleanup>
+ <noCache>true</noCache>
<contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>