From aad5da00103e1f9372fbc8bdf181d36201db2190 Mon Sep 17 00:00:00 2001 From: Stanley Smith Date: Thu, 9 Jun 2022 12:01:47 -0400 Subject: [PATCH 1/2] update base and builder image paths --- Api/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Api/Dockerfile b/Api/Dockerfile index faca5cb..e8d64f0 100644 --- a/Api/Dockerfile +++ b/Api/Dockerfile @@ -1,9 +1,9 @@ # For more info see: http://aka.ms/VSContainerToolingDockerfiles -FROM microsoft/aspnetcore:2.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet AS base WORKDIR /app EXPOSE 80 -FROM microsoft/aspnetcore-build:2.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk AS builder ARG BuildConfiguration=Release WORKDIR /src COPY *.sln ./ From 77887fea81e6efca58e0e1373855cef43e507084 Mon Sep 17 00:00:00 2001 From: Stanley Smith Date: Thu, 9 Jun 2022 12:02:23 -0400 Subject: [PATCH 2/2] Same update, but for Web --- Web/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/Dockerfile b/Web/Dockerfile index 2ac3bd7..62e02ca 100644 --- a/Web/Dockerfile +++ b/Web/Dockerfile @@ -1,9 +1,9 @@ # For more info see: http://aka.ms/VSContainerToolingDockerfiles -FROM microsoft/aspnetcore:2.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet AS base WORKDIR /app EXPOSE 80 -FROM microsoft/aspnetcore-build:2.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk AS builder ARG BuildConfiguration=Release WORKDIR /src COPY *.sln ./