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 4
4
"features" : {
5
5
"ghcr.io/devcontainers/features/docker-in-docker:2" : {}
6
6
},
7
+ "forwardPorts" : [1433 ],
7
8
"postStartCommand" : " sudo bash .devcontainer/setup_odbc.sh && bash .devcontainer/install_pyenv.sh && bash .devcontainer/setup_env.sh" ,
8
9
"containerEnv" : {
9
10
"SQLSERVER_TEST_DRIVER" : " ODBC Driver 18 for SQL Server" ,
Original file line number Diff line number Diff line change 96
96
env.bak /
97
97
venv.bak /
98
98
.mise.toml
99
+
100
+ ** devcontainer-lock.json **
Original file line number Diff line number Diff line change 2
2
3
3
for i in {1..50};
4
4
do
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} "
6
6
if [ $? -eq 0 ]
7
7
then
8
8
echo " database creation completed"
15
15
16
16
for i in {1..50};
17
17
do
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
19
19
if [ $? -eq 0 ]
20
20
then
21
21
echo " user creation completed"
You can’t perform that action at this time.
0 commit comments