File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- ARG VERSION=2019 -latest
1
+ ARG VERSION=2022 -latest
2
2
FROM mcr.microsoft.com/mssql/server:${VERSION}
3
3
4
4
# Create a config directory
Original file line number Diff line number Diff line change 7
7
sleep 15
8
8
9
9
# Run the setup script to create the DB and the schema in the DB
10
- /opt/mssql-tools /bin/sqlcmd -S localhost -U sa -P " $SA_PASSWORD " -d master -i setup.sql
10
+ /opt/mssql-tools18 /bin/sqlcmd -S localhost -U sa -P " $SA_PASSWORD " -d master -i setup.sql -No
11
11
12
12
# Wait for sqlservr to exit
13
13
wait -n $pid
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ services:
35
35
ports : ["1433:1433"]
36
36
build : { context: "db-test-setup/mssql" }
37
37
healthcheck :
38
- test : /opt/mssql-tools /bin/sqlcmd -S localhost -U root -P "Password123!" -Q "SELECT 1" -b -o /dev/null
38
+ test : /opt/mssql-tools18 /bin/sqlcmd -S localhost -U root -P "Password123!" -Q "SELECT 1" -b -o /dev/null -No
39
39
interval : 10s
40
40
timeout : 3s
41
41
retries : 10
You can’t perform that action at this time.
0 commit comments