зеркало из https://github.com/microsoft/msphpsql.git
removed ping
This commit is contained in:
Родитель
b7f7708817
Коммит
651b72cef2
|
@ -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
|
|
@ -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.."
|
||||
|
|
Загрузка…
Ссылка в новой задаче