Files
sql-server-samples/samples/containers/replication/db2/db-init.sh
T

6 lines
227 B
Bash

#wait for the SQL Server to come up
sleep 20s
echo "running set up script"
#run the setup script to create the DB and the schema in the DB
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P MssqlPass123 -d master -i db-init.sql