aboutsummaryrefslogtreecommitdiffstats
path: root/certServiceClient/Dockerfile
diff options
context:
space:
mode:
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 ================================"]