File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 44 "features" : {
55 "ghcr.io/devcontainers/features/docker-in-docker:2" : {}
66 },
7+ "forwardPorts" : [1433 ],
78 "postStartCommand" : " sudo bash .devcontainer/setup_odbc.sh && bash .devcontainer/install_pyenv.sh && bash .devcontainer/setup_env.sh" ,
89 "containerEnv" : {
910 "SQLSERVER_TEST_DRIVER" : " ODBC Driver 18 for SQL Server" ,
Original file line number Diff line number Diff line change 9696env.bak /
9797venv.bak /
9898.mise.toml
99+
100+ ** devcontainer-lock.json **
Original file line number Diff line number Diff line change 22
33for i in {1..50};
44do
5- /opt/mssql-tools /bin/sqlcmd -S localhost -U sa -P " ${SA_PASSWORD} " -d master -I -Q " CREATE DATABASE TestDB COLLATE ${COLLATION} "
5+ /opt/mssql-tools18 /bin/sqlcmd -C -S localhost -U sa -P " ${SA_PASSWORD} " -d master -I -Q " CREATE DATABASE TestDB COLLATE ${COLLATION} "
66 if [ $? -eq 0 ]
77 then
88 echo " database creation completed"
1515
1616for i in {1..50};
1717do
18- /opt/mssql-tools /bin/sqlcmd -S localhost -U sa -P " ${SA_PASSWORD} " -d TestDB -I -i init.sql
18+ /opt/mssql-tools18 /bin/sqlcmd -C -S localhost -U sa -P " ${SA_PASSWORD} " -d TestDB -I -i init.sql
1919 if [ $? -eq 0 ]
2020 then
2121 echo " user creation completed"
You can’t perform that action at this time.
0 commit comments