diff --git a/test/Renci.SshNet.IntegrationTests/Dockerfile.TestServer b/test/Renci.SshNet.IntegrationTests/Dockerfile similarity index 99% rename from test/Renci.SshNet.IntegrationTests/Dockerfile.TestServer rename to test/Renci.SshNet.IntegrationTests/Dockerfile index 548f76dab..d2ef74223 100644 --- a/test/Renci.SshNet.IntegrationTests/Dockerfile.TestServer +++ b/test/Renci.SshNet.IntegrationTests/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:latest +FROM alpine:3.20 COPY --chown=root:root server/ssh /etc/ssh/ COPY --chown=root:root server/script /opt/sshnet diff --git a/test/Renci.SshNet.IntegrationTests/TestsFixtures/InfrastructureFixture.cs b/test/Renci.SshNet.IntegrationTests/TestsFixtures/InfrastructureFixture.cs index 7c095b867..93d44e015 100644 --- a/test/Renci.SshNet.IntegrationTests/TestsFixtures/InfrastructureFixture.cs +++ b/test/Renci.SshNet.IntegrationTests/TestsFixtures/InfrastructureFixture.cs @@ -43,7 +43,7 @@ public async Task InitializeAsync() _sshServerImage = new ImageFromDockerfileBuilder() .WithName("renci-ssh-tests-server-image") .WithDockerfileDirectory(CommonDirectoryPath.GetSolutionDirectory(), Path.Combine("test", "Renci.SshNet.IntegrationTests")) - .WithDockerfile("Dockerfile.TestServer") + .WithDockerfile("Dockerfile") .WithDeleteIfExists(true) .WithLogger(containerLogger) .Build();