Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@

<PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="5.0.0" />

<PackageVersion Include="Testcontainers" Version="4.3.0" />
<PackageVersion Include="Testcontainers.MongoDb" Version="4.3.0" />
<PackageVersion Include="Testcontainers.PostgreSql" Version="4.3.0" />
<PackageVersion Include="Testcontainers.Redis" Version="4.3.0" />
<PackageVersion Include="Testcontainers.RabbitMq" Version="4.3.0" />
<PackageVersion Include="Testcontainers.MySql" Version="4.3.0" />
<PackageVersion Include="Testcontainers.MsSql" Version="4.3.0" />
<PackageVersion Include="Testcontainers.Elasticsearch" Version="4.3.0" />
<PackageVersion Include="Testcontainers.MariaDb" Version="4.3.0" />
<PackageVersion Include="Testcontainers" Version="4.10.0" />
<PackageVersion Include="Testcontainers.MongoDb" Version="4.10.0" />
<PackageVersion Include="Testcontainers.PostgreSql" Version="4.10.0" />
<PackageVersion Include="Testcontainers.Redis" Version="4.10.0" />
<PackageVersion Include="Testcontainers.RabbitMq" Version="4.10.0" />
<PackageVersion Include="Testcontainers.MySql" Version="4.10.0" />
<PackageVersion Include="Testcontainers.MsSql" Version="4.10.0" />
<PackageVersion Include="Testcontainers.Elasticsearch" Version="4.10.0" />
<PackageVersion Include="Testcontainers.MariaDb" Version="4.10.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />

<PackageVersion Include="MongoDB.Driver" Version="3.0.0" />
Expand Down Expand Up @@ -89,9 +89,8 @@
<PackageVersion Include="Typesense" Version="7.33.0" />

<PackageVersion Include="FluentFTP" Version="35.0.4" />
<PackageVersion Include="SSH.NET" Version="2024.2.0" />


<PackageVersion Include="SSH.NET" Version="2025.1.0" />

<PackageVersion Include="ServiceStack.Text" Version="8.8.0" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Core/TestcontainersDockerManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{
ResolveAndReplaceVariables();

var builder = new ContainerBuilder()

Check warning on line 49 in src/Core/TestcontainersDockerManager.cs

View workflow job for this annotation

GitHub Actions / Tests dotnet 9

'ContainerBuilder.ContainerBuilder()' is obsolete: 'This parameterless constructor is obsolete and will be removed. Use the constructor with the image parameter instead: https://github.com/testcontainers/testcontainers-dotnet/discussions/1470#discussioncomment-15185721.'

Check warning on line 49 in src/Core/TestcontainersDockerManager.cs

View workflow job for this annotation

GitHub Actions / Tests dotnet 8

'ContainerBuilder.ContainerBuilder()' is obsolete: 'This parameterless constructor is obsolete and will be removed. Use the constructor with the image parameter instead: https://github.com/testcontainers/testcontainers-dotnet/discussions/1470#discussioncomment-15185721.'

Check warning on line 49 in src/Core/TestcontainersDockerManager.cs

View workflow job for this annotation

GitHub Actions / Tests dotnet 10

'ContainerBuilder.ContainerBuilder()' is obsolete: 'This parameterless constructor is obsolete and will be removed. Use the constructor with the image parameter instead: https://github.com/testcontainers/testcontainers-dotnet/discussions/1470#discussioncomment-15185721.'

Check warning on line 49 in src/Core/TestcontainersDockerManager.cs

View workflow job for this annotation

GitHub Actions / release (.)

'ContainerBuilder.ContainerBuilder()' is obsolete: 'This parameterless constructor is obsolete and will be removed. Use the constructor with the image parameter instead: https://github.com/testcontainers/testcontainers-dotnet/discussions/1470#discussioncomment-15185721.'

Check warning on line 49 in src/Core/TestcontainersDockerManager.cs

View workflow job for this annotation

GitHub Actions / release (.)

'ContainerBuilder.ContainerBuilder()' is obsolete: 'This parameterless constructor is obsolete and will be removed. Use the constructor with the image parameter instead: https://github.com/testcontainers/testcontainers-dotnet/discussions/1470#discussioncomment-15185721.'
.WithName(_settings.UniqueContainerName)
.WithImage(_settings.ImageFullname)
.WithCleanUp(true)
Expand Down Expand Up @@ -251,7 +251,7 @@
var fileBytes = await File.ReadAllBytesAsync(context.Source);
const UnixFileModes fileMode = UnixFileModes.UserRead | UnixFileModes.UserWrite |
UnixFileModes.GroupRead | UnixFileModes.OtherRead;
await _container.CopyAsync(fileBytes, context.Destination, fileMode);
await _container.CopyAsync(fileBytes, context.Destination, (uint)fileMode);
}
catch (Exception ex)
{
Expand Down
Loading