Skip to content

Commit 9be7b13

Browse files
committed
Remove MSSQL_PID
I see some strange timeout issues on other repositories. It could be that "Express" edition behaves different under certain conditions. By removing `MSSQL_PID`, we go back to the default value, which is `Developer`.
1 parent de79ee2 commit 9be7b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ forceencryption = 1
122122
}
123123

124124
Write-Output "Starting a Docker Container"
125-
Invoke-Expression "docker run --name=`"sql`" -e `"ACCEPT_EULA=Y`"-e `"SA_PASSWORD=$SaPassword`" -e `"MSSQL_PID=Express`" --health-cmd=`"$ToolsPath/bin/sqlcmd -C -S localhost -U sa -P '$SaPassword' -Q 'SELECT 1' -b -o /dev/null`" --health-start-period=`"10s`" --health-retries=3 --health-interval=`"10s`" -p 1433:1433 $AdditionalContainerConfiguration -d `"mcr.microsoft.com/mssql/server:$Version-$Tag`""
125+
Invoke-Expression "docker run --name=`"sql`" -e `"ACCEPT_EULA=Y`"-e `"SA_PASSWORD=$SaPassword`" --health-cmd=`"$ToolsPath/bin/sqlcmd -C -S localhost -U sa -P '$SaPassword' -Q 'SELECT 1' -b -o /dev/null`" --health-start-period=`"10s`" --health-retries=3 --health-interval=`"10s`" -p 1433:1433 $AdditionalContainerConfiguration -d `"mcr.microsoft.com/mssql/server:$Version-$Tag`""
126126
Wait-ForContainer
127127
}
128128

0 commit comments

Comments
 (0)