summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-07-27 00:30:03 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-27 00:30:03 +0000
commit0785fa5a4b92387dec60351ade60a175a036b85f (patch)
treed73b9e78ca11ce8961e37b892bbcd6984b07e117 /pom.xml
parent4f485e994a7dd062d0bdf69cf274a154ae0910a1 (diff)
parent7b307d309bc01b2c13527342dae623231ea5d9ad (diff)
Merge "Fix cacert"
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 9f218fc..155cf42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -220,13 +220,16 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<imageTag>${project.version}</imageTag>
<imageTag>latest</imageTag>
</imageTags>
- <baseImage>onap/integration-java11:7.0.0</baseImage>
+ <baseImage>openjdk:11.0.6-jre-slim</baseImage>
<runs>
+ <run>chmod 666 /usr/local/openjdk-11/lib/security/cacerts</run>
+ <run>groupadd -r sch</run>
+ <run>useradd -ms /bin/bash sch -g sch</run>
</runs>
- <user>onap</user>
+ <user>sch</user>
<!-- NOTE: Couldn't figure out how to package the jar to be named: ${project.build.finalName}. This might be
because of the clojure maven plugin -->
- <entryPoint>["/bin/sh", "-c", "/opt/sch.sh"]</entryPoint>
+ <entryPoint>["/opt/sch.sh"]</entryPoint>
<!-- copy the service's jar file from target into the root directory of the image -->
<resources>
<resource>