summaryrefslogtreecommitdiffstats
path: root/datarouter-node
diff options
context:
space:
mode:
Diffstat (limited to 'datarouter-node')
-rwxr-xr-xdatarouter-node/pom.xml4
-rw-r--r--datarouter-node/src/main/resources/docker/Dockerfile2
2 files changed, 4 insertions, 2 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