Skip to content

Commit

Permalink
Specified the SQL Server image tag, rather than the :latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Klaus committed Oct 2, 2024
1 parent 34a2953 commit dee103b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devops/start_docker_sql_server_with_new_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
fi

echo "Pull & launch the SQL server image"
docker run --name sql-server -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=$saPassword" -e "MSSQL_PID=Express" -p 1433:1433 -d mcr.microsoft.com/mssql/server:latest
docker run --name sql-server -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=$saPassword" -e "MSSQL_PID=Express" -p 1433:1433 -d mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04

if [ -z "$pathToWaitForIt" ]; then
echo "Wait 10s for the SQL Server to get started"
Expand Down

0 comments on commit dee103b

Please sign in to comment.