aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-07-23 22:04:23 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-23 22:04:23 +0000
commit4f485e994a7dd062d0bdf69cf274a154ae0910a1 (patch)
treea2ee19823f556878cfbb6baed3f7d13bbd0c9e09
parentbad11e845634d0b29df7e36d6082972be6723e4c (diff)
parent77248eb6d83ac2a124b273874a6c036ff6332721 (diff)
Merge "replace ENTRYPOINT"
-rw-r--r--pom.xml3
-rwxr-xr-xresources/sch.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 04dde26..9f218fc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -226,8 +226,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<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>
diff --git a/resources/sch.sh b/resources/sch.sh
index 05c8e97..c4e4dab 100755
--- a/resources/sch.sh
+++ b/resources/sch.sh
@@ -39,7 +39,7 @@ fi
# 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