summaryrefslogtreecommitdiffstats
path: root/datarouter-node
diff options
context:
space:
mode:
authorDominic Lunanuova <dgl@research.att.com>2020-03-05 13:53:51 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-05 13:53:51 +0000
commitbf72b3396c4a29568ed4093e6cda52c69f322eb7 (patch)
tree91fb668b334e35c75c098d9c057a9c277fda260c /datarouter-node
parentb1ce4e066413a06cd2a2223180b8faac2e763e9f (diff)
parentd20d5f5749f30f547ff80b0821eff8c1c4f3d681 (diff)
Merge "Implementing CSI Docker Benchmark v.1.2.0"
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