0
0
mirror of https://github.com/alex289/CleanArchitecture.git synced 2025-07-01 02:52:56 +00:00

fix: Update mssql test container image (#74)

This commit is contained in:
Alex 2024-10-02 20:17:10 +02:00 committed by GitHub
commit c9bcf47bf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,8 @@ internal class GlobalSetupFixture
private static Respawner? s_respawner; private static Respawner? s_respawner;
public static MsSqlContainer DatabaseContainer { get; } = new MsSqlBuilder() public static MsSqlContainer DatabaseContainer { get; } = new MsSqlBuilder()
// Required for https://github.com/docker/for-mac/issues/7368
.WithImage("mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04")
.WithPortBinding(MsSqlBuilder.MsSqlPort, assignRandomHostPort: true) .WithPortBinding(MsSqlBuilder.MsSqlPort, assignRandomHostPort: true)
.Build(); .Build();