summaryrefslogtreecommitdiffstats
path: root/certServiceClient/Dockerfile
diff options
context:
space:
mode:
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>2020-02-20 08:47:25 +0100
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>2020-02-20 10:12:04 +0100
commitacae402ff4f744a11341b2b7f1c17f83dca92465 (patch)
treecee1265ed5b878e2b7723a3103687e35c950f4f5 /certServiceClient/Dockerfile
parente93c679bc9c22e034ba93a48460830716e1f7457 (diff)
Create Dockerfile
- Added Dockerfile to certServiceClient - Added docker maven profile to certServiceClient Issue-ID: AAF-996 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I97e81ca24030cbc305b8aa55d1fec51d8eb94959
Diffstat (limited to 'certServiceClient/Dockerfile')
-rw-r--r--certServiceClient/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/certServiceClient/Dockerfile b/certServiceClient/Dockerfile
new file mode 100644
index 00000000..8b2d1700
--- /dev/null
+++ b/certServiceClient/Dockerfile
@@ -0,0 +1,13 @@
+FROM docker.io/openjdk:11-jre-slim
+
+ARG VERSION=${version}
+
+RUN groupadd certServiceClient && useradd -g certServiceClient certServiceClient
+
+RUN chown -R certServiceClient:certServiceClient /var/log
+
+USER certServiceClient:certServiceClient
+
+COPY target/aaf-certservice-client-${VERSION}.jar ./opt/onap/aaf/certservice/aaf-certservice-client.jar
+
+ENTRYPOINT ["echo","================================ THIS IS CERT-SERVICE-CLIENT CONTAINER RUNNING ================================"]