Skip to content

Commit b4c52b0

Browse files
committed
correct docker images for .net 5
1 parent 87f30fe commit b4c52b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:5.0 AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build-env
22

33
WORKDIR /app
44
COPY . ./
@@ -26,7 +26,7 @@ RUN dotnet build -c Release \
2626
# remove BOM for psql
2727
RUN sed -i -e '1s/^\xEF\xBB\xBF//' /app/src/SimplCommerce.WebHost/dbscript.sql
2828

29-
FROM mcr.microsoft.com/dotnet/core/aspnet:5.0
29+
FROM mcr.microsoft.com/dotnet/aspnet:5.0
3030

3131
# hack to make postgresql-client install work on slim
3232
RUN mkdir -p /usr/share/man/man1 \

Dockerfile-sqlite

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:5.0 AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build-env
22

33
WORKDIR /app
44
COPY . ./
@@ -24,7 +24,7 @@ RUN dotnet build -c Release \
2424
&& dotnet build -c Release \
2525
&& dotnet publish -c Release -o out
2626

27-
FROM mcr.microsoft.com/dotnet/core/aspnet:5.0
27+
FROM mcr.microsoft.com/dotnet/aspnet:5.0
2828

2929
RUN apt-get update \
3030
&& apt-get install libgdiplus -y \

0 commit comments

Comments
 (0)