Files
sql-server-samples/samples/containers/dtc/dtc2/entrypoint.sh
T
2018-11-16 17:48:51 -06:00

5 lines
455 B
Bash

#start SQL Server, start the script to create/setup the DB
#You need a non-terminating process to keep the container alive.
#In a series of commands separated by single ampersands the commands to the left of the right-most ampersand are run in the background.
#So - if you are executing a series of commands simultaneously using single ampersands, the command at the right-most position needs to be non-terminating
/db-init.sh & /opt/mssql/bin/sqlservr