Replace ENTRYPOINT in base image with the shell command previously used.
Issue-ID: DCAEGEN2-2330
Change-Id: I15105bc40063f6a644233489f66c65248ca77e84
Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
<user>onap</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></entrypoint>
- <cmd>["/opt/sch.sh"]</cmd>
+ <entryPoint>["/bin/sh", "-c", "/opt/sch.sh"]</entryPoint>
<!-- copy the service's jar file from target into the root directory of the image -->
<resources>
<resource>
# Add the cacert to validate inventory's cert to support TLS. This command is
# allowed to fail when there is no need for https.
-# NOTE: This user must have permission to write to /etc/ssl/certs/java/cacerts
+# NOTE: This user must have permission to write to /usr/local/openjdk-11/lib/security/cacerts
keytool -importcert -file $PATH_TO_CACERT -keystore /usr/local/openjdk-11/lib/security/cacerts -alias "inventory" -noprompt -storepass changeit
# Now launch SCH