We are currently using Stimulosft .net core on linux in a container, using the following Dockerfile to load all fonts to the system:
Code: Select all
FROM mcr.microsoft.com/dotnet/core/runtime:3.1-buster-slim AS base
RUN apt-get update && \
apt-get -y install libgdiplus xvfb libfontconfig wkhtmltopdf libc6-dev openssl cabextract debconf wget xfonts-utils && \
wget http://ftp.br.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb && \
dpkg -i ttf-mscorefonts-installer_3.6_all.deb && \
fc-cache -f -v && \
fc-list
WORKDIR /app
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
WORKDIR /src
COPY ["sample1/sample1.csproj", "sample1/"]
COPY . .
...the rest
Any ideas on what could be done?
Thanks,
Humberto