8 lines
316 B
Bash
Executable File
8 lines
316 B
Bash
Executable File
#!/bin/bash
|
|
# Wait to be sure that SQL Server came up
|
|
sleep 20s
|
|
|
|
# Run the setup script to create the DB and the schema in the DB
|
|
# Note: make sure that your password matches what is in the Dockerfile
|
|
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P ${SA_PASSWORD} -d master -i /docker-entrypoint-initdb.d/init.sql
|