summaryrefslogtreecommitdiffstats
path: root/datarouter-prov
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-prov
parentb1ce4e066413a06cd2a2223180b8faac2e763e9f (diff)
parentd20d5f5749f30f547ff80b0821eff8c1c4f3d681 (diff)
Merge "Implementing CSI Docker Benchmark v.1.2.0"
Diffstat (limited to 'datarouter-prov')
-rwxr-xr-xdatarouter-prov/pom.xml4
-rw-r--r--datarouter-prov/src/main/resources/docker/Dockerfile2
2 files changed, 4 insertions, 2 deletions
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