entrypoint script
This commit is contained in:
parent
4077a0baee
commit
c9ef234fb9
1 changed files with 10 additions and 0 deletions
10
entrypoint.sh
Normal file
10
entrypoint.sh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
/opt/mssql/bin/sqlservr &
|
||||
(
|
||||
sleep 10 &&
|
||||
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "$MSSQL_SA_PASSWORD" -i databases.sql &&
|
||||
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "$MSSQL_SA_PASSWORD" -i setup_auth.sql
|
||||
)
|
||||
BACK_PID=$!
|
||||
wait "$BACK_PID"
|
||||
Loading…
Add table
Reference in a new issue