removed ping
This commit is contained in:
parent
b7f7708817
commit
651b72cef2
|
@ -76,7 +76,7 @@ RUN sed -i -e 's/TARGET_PASSWORD/'"$TEST_PHP_SQL_PWD"'/g' MsSetup.inc
|
||||||
|
|
||||||
WORKDIR $PHPSQLDIR
|
WORKDIR $PHPSQLDIR
|
||||||
RUN chmod +x ./entrypoint.sh
|
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 REPORT_EXIT_STATUS 1
|
||||||
ENV TEST_PHP_EXECUTABLE /usr/bin/php
|
ENV TEST_PHP_EXECUTABLE /usr/bin/php
|
|
@ -1,8 +1,6 @@
|
||||||
set -e
|
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 sql -U sa -P Pasword123"
|
||||||
|
|
||||||
testConnection="/opt/mssql-tools/bin/sqlcmd -S $1 -U $2 -P $3"
|
|
||||||
|
|
||||||
until $testConnection; do
|
until $testConnection; do
|
||||||
>&2 echo "SQL Server is starting up.."
|
>&2 echo "SQL Server is starting up.."
|
||||||
|
|
Loading…
Reference in a new issue