Search results

Does Bold Reports Embedded Reporting Tools support .NET Core and Docker on Linux

Yes, Bold Reports Embedded Reporting Tools support .NET Core on Linux Docker. You have to ensure the following details while using our component with Docker environment.

We are using the System.Drawing to measure text size for CanGrow feature supports Textbox ReportItem and it requires native libgdiplus library, which does not contain in default microsoft/dotnet image. So, you must add native libgdiplus library with install command as follows in DockerFile.

## install System.Drawing native dependencies
RUN apt-get update \
    && apt-get install -y --allow-unauthenticated \
        libc6-dev \
        libgdiplus \
        libx11-dev \
     && rm -rf /var/lib/apt/lists/*

The sample docker file can be downloaded from here.

For .NET 6.0 or above version on Linux

Image not rendered issue occurred in .Net 6.0 and above versions on Linux environment due to lack of System.Drawing.Common package support in these versions of .NET 6.0 and above on Linux.

Create JSON file with the file name as runtimeconfig.template.json and then add the below code

  "configProperties": {
    "System.Drawing.EnableUnixSupport": true