.net core在centos上使用libgdiplus库图像处理
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443 RUN apt-get update && apt-get install -y libgdiplus WORKDIR /app COPY . /app ENTRYPOINT ["dotnet", "Admin.NET.Web.Entry.dll"]
参考:https://stackoverflow.com/questions/59080331/unable-to-load-shared-library-libgdiplus-docker-net-application-with-aspo