diff options
author | Schmalzried, Terry (ts862m) <ts862m@att.com> | 2020-07-24 16:40:28 -0400 |
---|---|---|
committer | Schmalzried, Terry (ts862m) <ts862m@att.com> | 2020-07-24 16:40:47 -0400 |
commit | 7b307d309bc01b2c13527342dae623231ea5d9ad (patch) | |
tree | a9a1223550710de72a1099cc5a420f3d8cba0d95 /pom.xml | |
parent | 77248eb6d83ac2a124b273874a6c036ff6332721 (diff) |
Fix cacert
Change baseimage to permit chmod keystore to allow adding onap cacert
Issue-ID: DCAEGEN2-2330
Change-Id: Ida2b70466d306afdd686d3b321e952169ee1b229
Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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> |