From b37c257bcb8f2186eeb8a714ba0fba3c432b33b8 Mon Sep 17 00:00:00 2001 From: Linh Hoang Date: Fri, 29 Apr 2022 13:14:36 +0700 Subject: [PATCH] Upgrade docker file to net6 Story: CMS-23360 --- sample/AlloyMvcTemplate/docker/Web.Dockerfile | 4 ++-- src/EPiServer.Search.IndexingService/Search.Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sample/AlloyMvcTemplate/docker/Web.Dockerfile b/sample/AlloyMvcTemplate/docker/Web.Dockerfile index f1c577a..14b419d 100644 --- a/sample/AlloyMvcTemplate/docker/Web.Dockerfile +++ b/sample/AlloyMvcTemplate/docker/Web.Dockerfile @@ -1,8 +1,8 @@ -FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base +FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim AS base WORKDIR /app EXPOSE 8000 -FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build WORKDIR /src COPY . . RUN dotnet restore "AlloyMvcTemplates.csproj" diff --git a/src/EPiServer.Search.IndexingService/Search.Dockerfile b/src/EPiServer.Search.IndexingService/Search.Dockerfile index 032b711..a77e906 100644 --- a/src/EPiServer.Search.IndexingService/Search.Dockerfile +++ b/src/EPiServer.Search.IndexingService/Search.Dockerfile @@ -1,8 +1,8 @@ -FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base +FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim AS base WORKDIR /app EXPOSE 8000 -FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build WORKDIR /src COPY ["src/EPiServer.Search.IndexingService/EPiServer.Search.IndexingService.csproj", "EPiServer.Search.IndexingService/"] RUN dotnet restore "EPiServer.Search.IndexingService/EPiServer.Search.IndexingService.csproj"