From 77248eb6d83ac2a124b273874a6c036ff6332721 Mon Sep 17 00:00:00 2001 From: "Schmalzried, Terry (ts862m)" Date: Thu, 23 Jul 2020 16:41:06 -0400 Subject: replace ENTRYPOINT Replace ENTRYPOINT in base image with the shell command previously used. Issue-ID: DCAEGEN2-2330 Change-Id: I15105bc40063f6a644233489f66c65248ca77e84 Signed-off-by: Schmalzried, Terry (ts862m) --- pom.xml | 3 +-- resources/sch.sh | 2 +- 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. onap - - ["/opt/sch.sh"] + ["/bin/sh", "-c", "/opt/sch.sh"] 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 -- cgit 1.2.3-korg