aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdatarouter-node/pom.xml4
-rw-r--r--datarouter-node/src/main/resources/docker/Dockerfile2
-rwxr-xr-xdatarouter-prov/pom.xml4
-rw-r--r--datarouter-prov/src/main/resources/docker/Dockerfile2
-rwxr-xr-xdatarouter-subscriber/pom.xml4
-rwxr-xr-xpom.xml4
6 files changed, 13 insertions, 7 deletions
diff --git a/datarouter-node/pom.xml b/datarouter-node/pom.xml
index d9650c23..fd859bef 100755
--- a/datarouter-node/pom.xml
+++ b/datarouter-node/pom.xml
@@ -169,7 +169,9 @@
<name>${datarouter.node.image.name}</name>
<build>
<cleanup>try</cleanup>
- <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
+ <noCache>true</noCache>
+ <optimise>true</optimise>
+ <contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>
<tag>${dockertag1}</tag>
diff --git a/datarouter-node/src/main/resources/docker/Dockerfile b/datarouter-node/src/main/resources/docker/Dockerfile
index c6f6c61f..0d2331fd 100644
--- a/datarouter-node/src/main/resources/docker/Dockerfile
+++ b/datarouter-node/src/main/resources/docker/Dockerfile
@@ -37,4 +37,4 @@ RUN addgroup -S -g 1001 onap \
&& adduser -S -u 1000 dradmin -G onap \
&& chown -R dradmin:onap /opt/ /var/
-USER dradmin \ No newline at end of file
+USER dradmin
diff --git a/datarouter-prov/pom.xml b/datarouter-prov/pom.xml
index 791cbc3e..334a57fb 100755
--- a/datarouter-prov/pom.xml
+++ b/datarouter-prov/pom.xml
@@ -225,7 +225,9 @@
<name>${datarouter.prov.image.name}</name>
<build>
<cleanup>try</cleanup>
- <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
+ <noCache>true</noCache>
+ <optimise>true</optimise>
+ <contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>
<tag>${dockertag1}</tag>
diff --git a/datarouter-prov/src/main/resources/docker/Dockerfile b/datarouter-prov/src/main/resources/docker/Dockerfile
index 61d32473..b99ab42b 100644
--- a/datarouter-prov/src/main/resources/docker/Dockerfile
+++ b/datarouter-prov/src/main/resources/docker/Dockerfile
@@ -37,4 +37,4 @@ RUN addgroup -S -g 1001 onap \
&& adduser -S -u 1000 dradmin -G onap \
&& chown -R dradmin:onap /opt/ /var/
-USER dradmin
+USER dradmin \ No newline at end of file
diff --git a/datarouter-subscriber/pom.xml b/datarouter-subscriber/pom.xml
index 28372f4e..a2e99366 100755
--- a/datarouter-subscriber/pom.xml
+++ b/datarouter-subscriber/pom.xml
@@ -112,7 +112,9 @@
<name>${datarouter.sub.image.name}</name>
<build>
<cleanup>try</cleanup>
- <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
+ <noCache>true</noCache>
+ <optimise>true</optimise>
+ <contextDir>${basedir}/target/docker-stage</contextDir>
<dockerFile>Dockerfile</dockerFile>
<tags>
<tag>${dockertag1}</tag>
diff --git a/pom.xml b/pom.xml
index 796c1309..8412e99d 100755
--- a/pom.xml
+++ b/pom.xml
@@ -68,8 +68,8 @@
<aaf-cadi-aaf.version>2.1.15</aaf-cadi-aaf.version>
<commons-codec.version>1.13</commons-codec.version>
<gmaven-plugin.version>1.5</gmaven-plugin.version>
- <io.fabric8.version>0.28.0</io.fabric8.version>
- <docker.apiVersion>1.23</docker.apiVersion>
+ <io.fabric8.version>0.33.0</io.fabric8.version>
+ <docker.apiVersion>2.2.54</docker.apiVersion>
<commons-lang.version>2.4</commons-lang.version>
<commons-io.version>2.6</commons-io.version>
<httpcore.version>4.4</httpcore.version>