diff options
author | Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> | 2020-02-13 10:14:16 +0100 |
---|---|---|
committer | Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> | 2020-02-13 10:23:59 +0100 |
commit | 41a5418f3d93fb09d5544c2070b42d5d5f4e216a (patch) | |
tree | a2ef639e0fdc46c4acae7bb35018700d1dfebc79 /certService/Dockerfile | |
parent | dd700fc459be08a807646a90f6dd106f99001860 (diff) |
Adjust docker versions and names
Issue-ID: AAF-995
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: If9f9bd19b34c655d8277b2d981d357812c3371b2
Diffstat (limited to 'certService/Dockerfile')
-rw-r--r-- | certService/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/certService/Dockerfile b/certService/Dockerfile index 5bd6b18e..ff8a4224 100644 --- a/certService/Dockerfile +++ b/certService/Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/openjdk:11-jre-slim -ARG VERSION=1.0.0-SNAPSHOT +ARG VERSION=${project.version} RUN groupadd certService && useradd -g certService certService @@ -8,6 +8,6 @@ RUN chown -R certService:certService /var/log USER certService:certService -COPY target/cert-service-${VERSION}.jar ./opt/onap/aaf/certservice/cert-service.jar +COPY target/aaf-certservice-api-${VERSION}.jar ./opt/onap/aaf/certservice/aaf-certservice-api.jar -ENTRYPOINT ["java","-jar","./opt/onap/aaf/certservice/cert-service.jar"] +ENTRYPOINT ["java","-jar","./opt/onap/aaf/certservice/aaf-certservice-api.jar"] |