diff options
author | efiacor <fiachra.corcoran@est.tech> | 2020-02-27 16:46:20 +0000 |
---|---|---|
committer | efiacor <fiachra.corcoran@est.tech> | 2020-03-04 14:21:22 +0000 |
commit | d20d5f5749f30f547ff80b0821eff8c1c4f3d681 (patch) | |
tree | 32c079ac114f63d4391c56fec6ad6a536bfbb18a /datarouter-node | |
parent | 90fa2ce92f0f41545a2b92dc3e2a9e29c326141a (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-node')
-rwxr-xr-x | datarouter-node/pom.xml | 4 | ||||
-rw-r--r-- | datarouter-node/src/main/resources/docker/Dockerfile | 2 |
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 |