blob: fb762ec3acd6b0a037b990ee074d2a2ff29a61d1 [file] [log] [blame]
Alexander Mazurukbc8f2ec2021-02-18 17:25:57 +01001FROM nexus3.onap.org:10001/onap/integration-java11:8.0.0
pwielebsb32fb6d2019-07-15 17:25:26 +02002
deen1985ee146f32020-08-05 17:54:22 +02003LABEL copyright="Copyright (C) 2018-2020 NOKIA" \
pwielebsb32fb6d2019-07-15 17:25:26 +02004 license.name="The Apache Software License, Version 2.0" \
5 license.url="http://www.apache.org/licenses/LICENSE-2.0" \
6 maintainer="Nokia Wroclaw ONAP Team"
7
Alexander Mazurukbc8f2ec2021-02-18 17:25:57 +01008USER root
9RUN adduser --disabled-password --uid ${docker.user.id} --home ${docker.user.dir} ${docker.user.name} && \
10 chmod -R a+w /var/log
pwielebsb32fb6d2019-07-15 17:25:26 +020011
12USER ${docker.user.name}
13WORKDIR ${docker.user.dir}
14
15EXPOSE 8100 8433
16ENTRYPOINT ["java", "-jar", "${project.artifactId}-${project.version}.jar"]
17
18COPY ${project.build.directory}/${ext.dep.dir.path}/ ${ext.dep.dir.path}/
19COPY ${project.build.directory}/${int.dep.dir.path}/ ${int.dep.dir.path}/
20COPY ${project.build.directory}/${project.artifactId}-${project.version}.jar .
21
22LABEL git.branch="${git.branch}" \
23 git.build.host="${git.build.host}" \
24 git.build.time="${git.build.time}" \
25 git.build.user.email="${git.build.user.email}" \
26 git.build.user.name="${git.build.user.name}" \
27 git.build.version="${git.build.version}" \
28 git.closest.tag.name="${git.closest.tag.name}" \
29 git.commit.id="${git.commit.id}" \
30 git.commit.message.short="${git.commit.message.short}" \
31 git.commit.time="${git.commit.time}" \
32 git.commit.user.email="${git.commit.user.email}" \
33 git.commit.user.name="${git.commit.user.name}"