This is my host os details
NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.5 LTS" VERSION_ID="18.04"
This is my docker file
#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:3.1-bionic AS base WORKDIR /app RUN apt-get update \ && apt-get install -y --allow-unauthenticated \ libc6-dev \ libgdiplus \ libx11-dev \ && rm -rf /var/lib/apt/lists/* WORKDIR /app EXPOSE 80 EXPOSE 443 RUN ln -s /shared_storage /app/shared ENV ASPNETCORE_URLS=http://+:80 FROM mcr.microsoft.com/dotnet/sdk:3.1-bionic AS build WORKDIR /app #COPY ["MyAPI/MyAPI.csproj", "MyAPI/"] COPY . ./ RUN dotnet restore "MyAPI/MyAPI.csproj" #RUN dotnet build "MyAPI.csproj" -c Release -o /app/build #FROM build AS publish RUN dotnet publish "MyAPI/MyAPI.csproj" -c Release -o out FROM base AS final WORKDIR /app COPY --from=build /app/out . ENTRYPOINT ["dotnet", "MyAPI.dll"]
This docker builds my image without any issue but the problem is, when I am trying to access my report, I am getting
Unable to get report parameters. An error has occurred. Type: Telerik.Reporting.ReportSerialization.Current.ReportSerializable`1[Telerik.Reporting.Report]
NB: I have also tried with mcr.microsoft.com/dotnet/sdk:3.1.21-bionic
but this image doesn't exist.
NB: On my development environment, I am using windows 10 and from my localhost I am able to generate the reports without any issue.