fixed the path bash :)

This commit is contained in:
Hadis-Fard 2017-08-01 17:51:04 -07:00
parent 4822cc286c
commit d3da0ceb68
2 changed files with 4 additions and 4 deletions

View file

@ -21,8 +21,8 @@ before_install:
- docker pull microsoft/mssql-server-linux
install:
- docker build --build-arg PHPSQLDIR=$PHPSQLDIR -t msphpsql-dev -f Dockerfile-msphpsql .
- docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Password123' -p 1433:1433 --name=$TEST_PHP_SQL_SERVER -d microsoft/mssql-server-linux
- docker build --build-arg PHPSQLDIR=$PHPSQLDIR -t msphpsql-dev -f Dockerfile-msphpsql .
script:
- docker logs sql

View file

@ -80,11 +80,11 @@ RUN sed -i -e 's/TARGET_PASSWORD/'"$TEST_PHP_SQL_PWD"'/g' MsSetup.inc
WORKDIR $PHPSQLDIR
RUN chmod +x ./entrypoint.sh
RUN bin/bash -c "./entrypoint.sh"
RUN /bin/bash -c ./entrypoint.sh
WORKDIR $PHPSQLDIR /test/functional/setup/
#RUN python ./setup_dbs.py -dbname $SQLSRV_DBNAME
#RUN python ./setup_dbs.py -dbname $PDOSQLSRV_DBNAME
RUN python ./setup_dbs.py -dbname $SQLSRV_DBNAME
RUN python ./setup_dbs.py -dbname $PDOSQLSRV_DBNAME
ENV TEST_PHP_EXECUTABLE /usr/bin/php