diff options
author | Harish Venkata Kajur <vk250x@att.com> | 2021-02-13 20:20:46 -0500 |
---|---|---|
committer | Harish Venkata Kajur <vk250x@att.com> | 2021-02-13 21:56:47 -0500 |
commit | 3f5740cbf3e0ea4f0837ea0e15fbbadf943a1364 (patch) | |
tree | 3db02c2e11ab5a0d437c5275602a96e641a01d07 /aai-schema-service/src/main | |
parent | a9fee2cb1c991ce478e48ecc749ded2bc55181e2 (diff) |
Remove tini as onap wants one process per container
Issue-ID: AAI-3009
Change-Id: If24cdde98b05c196ff149534141e5f4c8d8ba49a
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
Diffstat (limited to 'aai-schema-service/src/main')
-rw-r--r-- | aai-schema-service/src/main/docker/Dockerfile | 2 | ||||
-rw-r--r-- | aai-schema-service/src/main/docker/docker-entrypoint.sh | 7 |
2 files changed, 1 insertions, 8 deletions
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; |