From 9233a709fb2bb05f2157d99f6a86cb01215c2d61 Mon Sep 17 00:00:00 2001 From: Tan Date: Sun, 24 Jan 2021 17:33:28 +0800 Subject: [PATCH] Specifiy docker Debian base images --- MyAlbum.Docker/web/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MyAlbum.Docker/web/Dockerfile b/MyAlbum.Docker/web/Dockerfile index de7b7cb..63e3bfc 100644 --- a/MyAlbum.Docker/web/Dockerfile +++ b/MyAlbum.Docker/web/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as publish +FROM mcr.microsoft.com/dotnet/sdk:3.1-buster as publish WORKDIR /src # update RUN apt-get update @@ -37,7 +37,7 @@ RUN rm -rf "/app/tr" RUN rm -rf "/app/zh-Hans" RUN rm -rf "/app/zh-Hant" -FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 as final +FROM mcr.microsoft.com/dotnet/aspnet:3.1-buster-slim as final WORKDIR /app RUN apt-get update && apt-get install -y libgdiplus RUN apt-get update && apt-get install -y libgomp1