diff --git a/sample/SampleApiWithExtensionProperties/Dockerfile b/sample/SampleApiWithExtensionProperties/Dockerfile
index f3802c2..89676b6 100644
--- a/sample/SampleApiWithExtensionProperties/Dockerfile
+++ b/sample/SampleApiWithExtensionProperties/Dockerfile
@@ -1,9 +1,9 @@
-FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
+FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
-FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
+FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src
COPY ["SampleApiWithExtensionProperties.csproj", "./"]
RUN dotnet restore "SampleApiWithExtensionProperties.csproj"
diff --git a/sample/SampleApiWithFakerStub/Dockerfile b/sample/SampleApiWithFakerStub/Dockerfile
index 6f34d95..3e10598 100644
--- a/sample/SampleApiWithFakerStub/Dockerfile
+++ b/sample/SampleApiWithFakerStub/Dockerfile
@@ -1,9 +1,9 @@
-FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
+FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
-FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
+FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src
COPY ["SampleApiWithFakerStub.csproj", "./"]
RUN dotnet restore "SampleApiWithFakerStub.csproj"
diff --git a/src/Swashbuckle.AspNetCore.ExtensionProperties.Tests/Swashbuckle.AspNetCore.ExtensionProperties.Tests.csproj b/src/Swashbuckle.AspNetCore.ExtensionProperties.Tests/Swashbuckle.AspNetCore.ExtensionProperties.Tests.csproj
index 3f16a84..77b3a08 100644
--- a/src/Swashbuckle.AspNetCore.ExtensionProperties.Tests/Swashbuckle.AspNetCore.ExtensionProperties.Tests.csproj
+++ b/src/Swashbuckle.AspNetCore.ExtensionProperties.Tests/Swashbuckle.AspNetCore.ExtensionProperties.Tests.csproj
@@ -12,7 +12,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+