mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
11 lines
334 B
Bash
11 lines
334 B
Bash
#wait for the SQL Server to come up
|
|
sleep 25s
|
|
|
|
mkdir /var/opt/mssql/ReplData/
|
|
chown mssql /var/opt/mssql/ReplData/
|
|
chgrp mssql /var/opt/mssql/ReplData/
|
|
|
|
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
|