diff options
author | Bogumil Zebek <bogumil.zebek@nokia.com> | 2020-02-20 10:44:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-02-20 10:44:40 +0000 |
commit | 3d43c8d1ead2b814669cce8425cc8a1093b08f26 (patch) | |
tree | 42e25a574f989b43a4501a6febc4231d3ae1d80e /certServiceClient/Dockerfile | |
parent | f28a670df2ea958a83d28930264f002f6d67eec7 (diff) | |
parent | acae402ff4f744a11341b2b7f1c17f83dca92465 (diff) |
Merge "Create Dockerfile"
Diffstat (limited to 'certServiceClient/Dockerfile')
-rw-r--r-- | certServiceClient/Dockerfile | 13 |
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 ================================"] |