Joanna Jeremicz | acae402 | 2020-02-20 08:47:25 +0100 | [diff] [blame] | 1 | FROM docker.io/openjdk:11-jre-slim |
| 2 | |
| 3 | ARG VERSION=${version} |
| 4 | |
| 5 | RUN groupadd certServiceClient && useradd -g certServiceClient certServiceClient |
| 6 | |
| 7 | RUN chown -R certServiceClient:certServiceClient /var/log |
| 8 | |
| 9 | USER certServiceClient:certServiceClient |
| 10 | |
| 11 | COPY target/aaf-certservice-client-${VERSION}.jar ./opt/onap/aaf/certservice/aaf-certservice-client.jar |
| 12 | |
Joanna Jeremicz | ff9a464 | 2020-02-20 12:14:03 +0100 | [diff] [blame^] | 13 | ENTRYPOINT ["java","-jar","./opt/onap/aaf/certservice/aaf-certservice-client.jar"] |