summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSingal, Kapil (ks220y) <ks220y@att.com>2021-03-28 22:21:54 -0400
committerKAPIL SINGAL <ks220y@att.com>2021-03-29 02:24:59 +0000
commit643e032e9078ab47e1abb1f088aaec58a3361c7c (patch)
tree6eb6ddfcc68e87cc445c6188a1832362f1096821
parent486bd1768c2b4e6bf4a83326fdc5f7d07d565222 (diff)
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
-rw-r--r--alpine/java11/pom.xml1
-rw-r--r--ansible-server/pom.xml1
-rw-r--r--dgbuilder-docker/pom.xml1
-rw-r--r--odlsli/odlsli-alpine/pom.xml1
-rw-r--r--opendaylight/aluminum/aluminum-alpine/pom.xml1
-rw-r--r--opendaylight/sodium/sodium-alpine/pom.xml1
-rw-r--r--saltstack-server/pom.xml1
-rw-r--r--ubuntu/pom.xml1
8 files changed, 8 insertions, 0 deletions
diff --git a/alpine/java11/pom.xml b/alpine/java11/pom.xml
index b3238f0f..5c6ed972 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>
diff --git a/ansible-server/pom.xml b/ansible-server/pom.xml
index 46e1de44..22f38086 100644
--- a/ansible-server/pom.xml
+++ b/ansible-server/pom.xml
@@ -140,6 +140,7 @@
<name>${image.name}</name>
<build>
<cleanup>try</cleanup>
+ <noCache>true</noCache>
<contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>
diff --git a/dgbuilder-docker/pom.xml b/dgbuilder-docker/pom.xml
index 2b80d898..d8146675 100644
--- a/dgbuilder-docker/pom.xml
+++ b/dgbuilder-docker/pom.xml
@@ -182,6 +182,7 @@
<name>${image.name}</name>
<build>
<cleanup>try</cleanup>
+ <noCache>true</noCache>
<contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>
diff --git a/odlsli/odlsli-alpine/pom.xml b/odlsli/odlsli-alpine/pom.xml
index bd00093b..41ef7b73 100644
--- a/odlsli/odlsli-alpine/pom.xml
+++ b/odlsli/odlsli-alpine/pom.xml
@@ -615,6 +615,7 @@
<name>${image.name}</name>
<build>
<cleanup>try</cleanup>
+ <noCache>true</noCache>
<contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>
diff --git a/opendaylight/aluminum/aluminum-alpine/pom.xml b/opendaylight/aluminum/aluminum-alpine/pom.xml
index 3c64ff5e..ba82d8dc 100644
--- a/opendaylight/aluminum/aluminum-alpine/pom.xml
+++ b/opendaylight/aluminum/aluminum-alpine/pom.xml
@@ -156,6 +156,7 @@
<name>${image.name}</name>
<build>
<cleanup>try</cleanup>
+ <noCache>true</noCache>
<contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>
diff --git a/opendaylight/sodium/sodium-alpine/pom.xml b/opendaylight/sodium/sodium-alpine/pom.xml
index 7e3ea9a2..885262ee 100644
--- a/opendaylight/sodium/sodium-alpine/pom.xml
+++ b/opendaylight/sodium/sodium-alpine/pom.xml
@@ -125,6 +125,7 @@
<name>${image.name}</name>
<build>
<cleanup>try</cleanup>
+ <noCache>true</noCache>
<contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>
diff --git a/saltstack-server/pom.xml b/saltstack-server/pom.xml
index f1e0de35..04962f51 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>
diff --git a/ubuntu/pom.xml b/ubuntu/pom.xml
index e84c6868..0ee414ed 100644
--- a/ubuntu/pom.xml
+++ b/ubuntu/pom.xml
@@ -84,6 +84,7 @@
<name>${image.name}</name>
<build>
<cleanup>try</cleanup>
+ <noCache>true</noCache>
<contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>