diff options
Diffstat (limited to 'packages/docker/src')
-rw-r--r-- | packages/docker/src/main/docker/Dockerfile | 2 | ||||
-rw-r--r-- | packages/docker/src/main/docker/pdpd-entrypoint.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile index fb7d4c13..361d9a8f 100644 --- a/packages/docker/src/main/docker/Dockerfile +++ b/packages/docker/src/main/docker/Dockerfile @@ -60,7 +60,7 @@ COPY --chown=policy:policy /maven/install-drools.zip pdpd-entrypoint.sh $POLICY_ WORKDIR $POLICY_INSTALL USER policy:policy -SHELL ["/bin/ash", "-c"] +SHELL ["/bin/sh", "-c"] RUN unzip -o install-drools.zip && \ rm install-drools.zip && \ chown -R policy:policy * && \ diff --git a/packages/docker/src/main/docker/pdpd-entrypoint.sh b/packages/docker/src/main/docker/pdpd-entrypoint.sh index e12f7d5b..8f801a45 100644 --- a/packages/docker/src/main/docker/pdpd-entrypoint.sh +++ b/packages/docker/src/main/docker/pdpd-entrypoint.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env ash +#!/usr/bin/env sh # ######################################################################## # Copyright 2019-2021 AT&T Intellectual Property. All rights reserved @@ -155,7 +155,7 @@ function db { fi echo "Wating for ${SQL_HOST} ." - timeout 120 ash -c 'until nc -vz "${SQL_HOST}" 3306; do echo -n "."; sleep 1; done'; echo $? + timeout 120 sh -c 'until nc -vz "${SQL_HOST}" 3306; do echo -n "."; sleep 1; done'; echo $? "${POLICY_HOME}"/bin/db-migrator -s ALL -o upgrade } |