switch to Canonical images

as Globalization is required by SqlClient
This commit is contained in:
Valentin Viennot
2022-12-07 18:00:59 +01:00
parent f1465c57eb
commit 67278fdca9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/nightly/aspnet:6.0-jammy-chiseled AS base
FROM docker.io/ubuntu/dotnet-aspnet:6.0-22.04_edge AS base
WORKDIR /app
EXPOSE 8080
EXPOSE 4043
+1 -1
View File
@@ -17,7 +17,7 @@ RUN dotnet restore
RUN dotnet publish -c Release -o out
FROM mcr.microsoft.com/dotnet/nightly/aspnet:6.0-jammy-chiseled AS runtime
FROM docker.io/ubuntu/dotnet-aspnet:6.0-22.04_edge AS runtime
WORKDIR /app
COPY --from=build /app/src/Web/out ./