File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,13 @@ jobs:
245245 sqlserver :
246246 # To run locallly:
247247 # docker run -it --name mssqlcontainer -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=somepassword' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2019-CU4-ubuntu-16.04
248- image : docker://mcr.microsoft.com/mssql/server:2019-CU4-ubuntu-16.04
248+ # Using an older version of "mssql/server" explicitly and intentionally.
249+ #
250+ # "mssql/server" has a newer version (CU28 as of 2024-10-23),
251+ # but it reportedly does not start correctly.
252+ #
253+ # https://learn.microsoft.com/en-ie/answers/questions/1853144/error-failed-to-initialize-container-mcr-microsoft
254+ image : docker://mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04
249255 options : --name "mssqlcontainer" --health-cmd "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1 -U sa -P P@ssw0rd -Q \"SELECT * FROM sys.objects;\"" --health-interval 20s --health-timeout 30s --health-retries 128
250256 ports :
251257 - " 1433:1433"
You can’t perform that action at this time.
0 commit comments