Skip to content

Commit

Permalink
Upgrade dotnet core from 3.1 to 3.1.17 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
H4rryp0tt3r authored Jul 29, 2021
1 parent 747e879 commit 470b771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as source
FROM mcr.microsoft.com/dotnet/sdk:3.1 as source
ARG target="Release"

RUN apt-get update && apt-get install unzip
Expand All @@ -19,7 +19,7 @@ RUN dotnet publish -c $target -o obj/docker/publish
RUN cp -r /src/obj/docker/publish /OpenIdConnectServerMock

# Stage 2: Release
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 as release
FROM mcr.microsoft.com/dotnet/aspnet:3.1 as release
ARG target="Release"

RUN if [ $target = "Debug" ]; then apt-get update && apt-get install unzip && rm -rf /var/lib/apt/lists/* && curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l /vsdbg; fi
Expand Down

0 comments on commit 470b771

Please sign in to comment.