Skip to content

Commit

Permalink
updated Dotnet version in sample docker files and appsettings
Browse files Browse the repository at this point in the history
  • Loading branch information
varndellwagglebee committed Nov 19, 2024
1 parent 65a4ff0 commit 3ff1029
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 38 deletions.
4 changes: 2 additions & 2 deletions samples/Hyperbee.MigrationRunner.Couchbase/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
FROM mcr.microsoft.com/dotnet/runtime:9.0 AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["samples/Hyperbee.MigrationRunner.Couchbase/Hyperbee.MigrationRunner.Couchbase.csproj", "samples/Hyperbee.MigrationRunner.Couchbase/"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,8 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<Folder Include="logs\" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
// All providers
"FromPaths": [
"..\\..\\..\\..\\..\\samples\\Hyperbee.Migrations.Couchbase.Samples\\bin\\Debug\\net8.0\\Hyperbee.Migrations.Couchbase.Samples.dll"
"..\\..\\..\\..\\..\\samples\\Hyperbee.Migrations.Couchbase.Samples\\bin\\Debug\\net9.0\\Hyperbee.Migrations.Couchbase.Samples.dll"
],
"FromAssemblies": [
]
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions samples/Hyperbee.MigrationRunner.MongoDB/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
FROM mcr.microsoft.com/dotnet/runtime:9.0 AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["samples/Hyperbee.MigrationRunner.MongoDB/Hyperbee.MigrationRunner.MongoDB.csproj", "samples/Hyperbee.MigrationRunner.MongoDB/"]
Expand Down
2 changes: 1 addition & 1 deletion samples/Hyperbee.MigrationRunner.MongoDB/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// All providers
"FromPaths": [
"..\\..\\..\\..\\..\\samples\\Hyperbee.Migrations.MongoDB.Samples\\bin\\Debug\\net8.0\\Hyperbee.Migrations.MongoDB.Samples.dll"
"..\\..\\..\\..\\..\\samples\\Hyperbee.Migrations.MongoDB.Samples\\bin\\Debug\\net9.0\\Hyperbee.Migrations.MongoDB.Samples.dll"
],
"FromAssemblies": [
]
Expand Down
4 changes: 2 additions & 2 deletions samples/Hyperbee.MigrationRunner.Postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
FROM mcr.microsoft.com/dotnet/runtime:9.0 AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["samples/Hyperbee.MigrationRunner.Postgres/Hyperbee.MigrationRunner.Postgres.csproj", "samples/Hyperbee.MigrationRunner.Postgres/"]
Expand Down
2 changes: 1 addition & 1 deletion samples/Hyperbee.MigrationRunner.Postgres/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// All providers
"FromPaths": [
"..\\..\\..\\..\\..\\samples\\Hyperbee.Migrations.Postgres.Samples\\bin\\Debug\\net8.0\\Hyperbee.Migrations.Postgres.Samples.dll"
"..\\..\\..\\..\\..\\samples\\Hyperbee.Migrations.Postgres.Samples\\bin\\Debug\\net9.0\\Hyperbee.Migrations.Postgres.Samples.dll"
],
"FromAssemblies": [
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
<PackageReference Include="Npgsql" Version="8.0.5" />
<PackageReference Include="Npgsql.DependencyInjection" Version="8.0.5" />
<PackageReference Include="Npgsql" Version="9.0.1" />
<PackageReference Include="Npgsql.DependencyInjection" Version="9.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
</PackageReference>
<PackageReference Include="MongoDB.Driver" Version="3.0.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.3" />
<PackageReference Include="Npgsql" Version="8.0.5" />
<PackageReference Include="Npgsql" Version="9.0.1" />
<PackageReference Include="Testcontainers" Version="4.0.0" />
<PackageReference Include="Testcontainers.Couchbase" Version="4.0.0" />
<PackageReference Include="Testcontainers.MongoDb" Version="4.0.0" />
Expand Down
Loading

0 comments on commit 3ff1029

Please sign in to comment.