diff --git a/etc/azure/deploy-to-k8s.yml b/etc/azure/deploy-to-k8s.yml index a33508f..e97f314 100644 --- a/etc/azure/deploy-to-k8s.yml +++ b/etc/azure/deploy-to-k8s.yml @@ -14,7 +14,7 @@ steps: displayName: "Use .NET sdk" inputs: packageType: sdk - version: 6.0.x + version: 7.0.x installationPath: $(Agent.ToolsDirectory)/dotnet includePreviewVersions: true diff --git a/src/EventHub.Admin.HttpApi.Host/Dockerfile b/src/EventHub.Admin.HttpApi.Host/Dockerfile index b272c02..afe4ba4 100644 --- a/src/EventHub.Admin.HttpApi.Host/Dockerfile +++ b/src/EventHub.Admin.HttpApi.Host/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim - COPY bin/Release/net6.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim + COPY bin/Release/net7.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EventHub.Admin.HttpApi.Host.dll"] \ No newline at end of file diff --git a/src/EventHub.Admin.Web/Dockerfile b/src/EventHub.Admin.Web/Dockerfile index a4d84a4..c3cb8d0 100644 --- a/src/EventHub.Admin.Web/Dockerfile +++ b/src/EventHub.Admin.Web/Dockerfile @@ -1,3 +1,3 @@ FROM nginx:latest -COPY ./bin/Release/net6.0/publish/wwwroot/ /usr/share/nginx/html/ +COPY ./bin/Release/net7.0/publish/wwwroot/ /usr/share/nginx/html/ COPY ./nginx.conf /etc/nginx/conf.d/default.conf \ No newline at end of file diff --git a/src/EventHub.BackgroundServices/Dockerfile b/src/EventHub.BackgroundServices/Dockerfile index 44ae845..1224c66 100644 --- a/src/EventHub.BackgroundServices/Dockerfile +++ b/src/EventHub.BackgroundServices/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim - COPY bin/Release/net6.0/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim + COPY bin/Release/net7.0/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EventHub.BackgroundServices.dll"] \ No newline at end of file diff --git a/src/EventHub.DbMigrator/Dockerfile b/src/EventHub.DbMigrator/Dockerfile index 243948f..9dcd1f0 100644 --- a/src/EventHub.DbMigrator/Dockerfile +++ b/src/EventHub.DbMigrator/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim - COPY bin/Release/net6.0/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim + COPY bin/Release/net7.0/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EventHub.DbMigrator.dll"] \ No newline at end of file diff --git a/src/EventHub.HttpApi.Host/Dockerfile b/src/EventHub.HttpApi.Host/Dockerfile index 422bbcb..df464da 100644 --- a/src/EventHub.HttpApi.Host/Dockerfile +++ b/src/EventHub.HttpApi.Host/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim - COPY bin/Release/net6.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim + COPY bin/Release/net7.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EventHub.HttpApi.Host.dll"] \ No newline at end of file diff --git a/src/EventHub.IdentityServer/Dockerfile b/src/EventHub.IdentityServer/Dockerfile index 407859c..bc7629d 100644 --- a/src/EventHub.IdentityServer/Dockerfile +++ b/src/EventHub.IdentityServer/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim - COPY bin/Release/net6.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim + COPY bin/Release/net7.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EventHub.IdentityServer.dll"] \ No newline at end of file diff --git a/src/EventHub.Web/Dockerfile b/src/EventHub.Web/Dockerfile index dd7a0d8..d1ce63e 100644 --- a/src/EventHub.Web/Dockerfile +++ b/src/EventHub.Web/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim - COPY bin/Release/net6.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim + COPY bin/Release/net7.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EventHub.Web.dll"] \ No newline at end of file