removed ping

This commit is contained in:
Hadis-Fard 2017-08-02 12:47:39 -07:00
parent b7f7708817
commit 651b72cef2
2 changed files with 2 additions and 4 deletions

View file

@ -76,7 +76,7 @@ RUN sed -i -e 's/TARGET_PASSWORD/'"$TEST_PHP_SQL_PWD"'/g' MsSetup.inc
WORKDIR $PHPSQLDIR
RUN chmod +x ./entrypoint.sh
CMD /bin/bash ./entrypoint.sh $TEST_PHP_SQL_SERVER $TEST_PHP_SQL_UID $TEST_PHP_SQL_PWD
CMD /bin/bash ./entrypoint.sh
ENV REPORT_EXIT_STATUS 1
ENV TEST_PHP_EXECUTABLE /usr/bin/php

View file

@ -1,8 +1,6 @@
set -e
while ! ping -c3 $1 &>/dev/null; do echo "Ping Fail - `date`"; done ; echo "Host Found - `date`";
testConnection="/opt/mssql-tools/bin/sqlcmd -S $1 -U $2 -P $3"
testConnection="/opt/mssql-tools/bin/sqlcmd -S sql -U sa -P Pasword123"
until $testConnection; do
>&2 echo "SQL Server is starting up.."