Skip to content

Commit 4553484

Browse files
committed
Update dotnet 3.1
1 parent e433be5 commit 4553484

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Diff for: result/dotnet/Dockerfile.1809

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 as builder
1+
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as builder
22

33
WORKDIR /Result
44
COPY Result/Result.csproj .
@@ -8,7 +8,7 @@ COPY /Result .
88
RUN dotnet publish -c Release -o /out Result.csproj
99

1010
# app image
11-
FROM mcr.microsoft.com/dotnet/core/aspnet:2.1
11+
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
1212

1313
WORKDIR /app
1414
ENTRYPOINT ["dotnet", "Result.dll"]

Diff for: vote/dotnet/Dockerfile.1809

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 as builder
1+
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as builder
22

33
WORKDIR /Vote
44
COPY Vote/Vote.csproj .
@@ -8,7 +8,7 @@ COPY /Vote .
88
RUN dotnet publish -c Release -o /out Vote.csproj
99

1010
# app image
11-
FROM mcr.microsoft.com/dotnet/core/aspnet:2.1
11+
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
1212

1313
WORKDIR /app
1414
ENTRYPOINT ["dotnet", "Vote.dll"]

Diff for: worker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 as builder
1+
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as builder
22

33
WORKDIR /Worker
44
COPY src/Worker/Worker.csproj .
@@ -8,7 +8,7 @@ COPY src/Worker/ .
88
RUN dotnet publish -c Release -o /out Worker.csproj
99

1010
# app image
11-
FROM mcr.microsoft.com/dotnet/core/runtime:2.1
11+
FROM mcr.microsoft.com/dotnet/core/runtime:3.1
1212

1313
WORKDIR /app
1414
ENTRYPOINT ["dotnet", "Worker.dll"]

Diff for: worker/dotnet/Dockerfile.1809

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 as builder
1+
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as builder
22

33
WORKDIR /Worker
44
COPY Worker/Worker.csproj .
@@ -8,7 +8,7 @@ COPY /Worker .
88
RUN dotnet publish -c Release -o /out Worker.csproj
99

1010
# app image
11-
FROM mcr.microsoft.com/dotnet/core/runtime:2.1
11+
FROM mcr.microsoft.com/dotnet/core/runtime:3.1
1212

1313
WORKDIR /app
1414
ENTRYPOINT ["dotnet", "Worker.dll"]

0 commit comments

Comments
 (0)