Hi,
I'm migrating my solution from Dot Net Framework to Dot Net Core 6. On Local Dev Machine which is running on Windows, the reports are getting generated without any issues, but when the same is run in a Docker Container it fails with the following exceptions.
I have already tried installing the required libraries which are mentioned in this post but the same persists
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app
EXPOSE 46555
RUN apt-get update \
&& apt-get install -y --allow-unauthenticated \
libc6-dev \
libgdiplus \
libx11-dev \
&& rm -rf /var/lib/apt/lists/*
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS setup
WORKDIR /src
RUN dotnet restore "SampleProject/SampleReports.csproj"
COPY . .
FROM setup AS build
WORKDIR "/src/"
RUN dotnet build "SampleReports.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "SampleReports.csproj" -c Release -o /app/publish /p:UseAppHost=false
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "SampleReports.dll"]Other information that I would like to add are that my solution uses direct references to Telerik dlls.