Remove tini as onap wants one process per container 24/117824/2
authorHarish Venkata Kajur <vk250x@att.com>
Sun, 14 Feb 2021 01:20:46 +0000 (20:20 -0500)
committerHarish Venkata Kajur <vk250x@att.com>
Sun, 14 Feb 2021 02:56:47 +0000 (21:56 -0500)
Issue-ID: AAI-3009
Change-Id: If24cdde98b05c196ff149534141e5f4c8d8ba49a
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
aai-schema-service/src/main/docker/Dockerfile
aai-schema-service/src/main/docker/docker-entrypoint.sh

index 6efa8d1..ab0bd08 100644 (file)
@@ -9,7 +9,7 @@ EXPOSE 8447
 
 HEALTHCHECK --interval=40s --timeout=10s --retries=3 CMD nc -z -v localhost 8452 || exit 1
 
-ENTRYPOINT ["/sbin/tini", "--", "/bin/bash", "/opt/app/aai-schema-service/docker-entrypoint.sh"]
+ENTRYPOINT ["/bin/bash", "/opt/app/aai-schema-service/docker-entrypoint.sh"]
 
 VOLUME /tmp
 VOLUME /opt/tools
index 1f33bdd..74d953e 100644 (file)
@@ -28,13 +28,6 @@ if [[ ! -h "${APP_HOME}/scripts" ]]; then
   ln -s ${APP_HOME}/bin ${APP_HOME}/scripts;
   ln -s /opt/aai/logroot/AAI-SS ${APP_HOME}/logs;
 
-  if [ ! -f ${APP_HOME}/bin/updatePem.sh ]; then
-      echo "Unable to find the updatePem script";
-      exit 1;
-  else
-      ${APP_HOME}/bin/updatePem.sh
-  fi;
-
 fi
 
 scriptName=$1;