aboutsummaryrefslogtreecommitdiffstats
path: root/datarouter-prov
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2020-02-27 16:46:20 +0000
committerefiacor <fiachra.corcoran@est.tech>2020-03-04 14:21:22 +0000
commitd20d5f5749f30f547ff80b0821eff8c1c4f3d681 (patch)
tree32c079ac114f63d4391c56fec6ad6a536bfbb18a /datarouter-prov
parent90fa2ce92f0f41545a2b92dc3e2a9e29c326141a (diff)
Implementing CSI Docker Benchmark v.1.2.0
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I117729069a170c1b394e4896808c41eb2a75eaa1 Issue-ID: DMAAP-1382
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