From 3f5740cbf3e0ea4f0837ea0e15fbbadf943a1364 Mon Sep 17 00:00:00 2001 From: Harish Venkata Kajur Date: Sat, 13 Feb 2021 20:20:46 -0500 Subject: Remove tini as onap wants one process per container Issue-ID: AAI-3009 Change-Id: If24cdde98b05c196ff149534141e5f4c8d8ba49a Signed-off-by: Harish Venkata Kajur --- aai-schema-service/src/main/docker/Dockerfile | 2 +- aai-schema-service/src/main/docker/docker-entrypoint.sh | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'aai-schema-service/src') diff --git a/aai-schema-service/src/main/docker/Dockerfile b/aai-schema-service/src/main/docker/Dockerfile index 6efa8d1..ab0bd08 100644 --- a/aai-schema-service/src/main/docker/Dockerfile +++ b/aai-schema-service/src/main/docker/Dockerfile @@ -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 diff --git a/aai-schema-service/src/main/docker/docker-entrypoint.sh b/aai-schema-service/src/main/docker/docker-entrypoint.sh index 1f33bdd..74d953e 100644 --- a/aai-schema-service/src/main/docker/docker-entrypoint.sh +++ b/aai-schema-service/src/main/docker/docker-entrypoint.sh @@ -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; -- cgit 1.2.3-korg