Tech Preview

SLE BCI .NET 9.0 runtime

The .NET Runtime 9.0 based on the SLE Base Container Image. The .NET packages contained in this image come from a 3rd-party repository http://packages.microsoft.com. You can find the respective source code in https://github.com/dotnet. SUSE doesn't provide any support or warranties.

Get Image
Digest:
sha256:c793734815b54e3406aa27f8a6f701936beaea87eb4a98e1d62c7b2df632bca8
c79373481
Repository:
registry.suse.com/bci/dotnet-runtime:9.0

.NET Runtime 9.0 container image

RedistributableSupport LevelSLSA Provenance: Available

Description

.NET is a general purpose development platform. It is cross-platform, and can be used in devices, cloud, and embedded/IoT scenarios. You can use C# or F# to write .NET applications.

This image contains the .NET runtimes and libraries, and it is optimized for running .NET applications in production.

Notice

The .NET packages in the image come from a third-party repository packages.microsoft.com.

The source code is available on github.com/dotnet.

SUSE does not provide any support or warranties for the third-party components in the image.

Usage

To deploy an application, copy the sources and build the binary:

FROM registry.suse.com/bci/dotnet-sdk:9.0 AS build

WORKDIR /source

# copy csproj and restore as distinct layers
COPY *.csproj .
RUN dotnet restore

# copy and publish app and libraries
COPY . .
RUN dotnet publish --no-restore -c Release -o /app

# final image
FROM registry.suse.com/bci/dotnet-runtime:9.0

WORKDIR /app
COPY --from=build /app .

# uncomment to run as non-root user
# USER $APP_UID

ENTRYPOINT ["./dotnetapp"]

Build and run the container image:

podman build -t my-dotnet-app .
podman run -it --rm my-dotnet-app

Globalization

.NET includes globalization capabilities, including support for processing natural language text, calendars, currency, and timezones. The .NET implementation for these capabilities is based on system libraries available in the container image, such as International Components for Unicode (ICU) and tzdata.

It's considered a good practice to pass timezone information into a container via environment variable TZ.

podman run --rm -it -e TZ="Europe/Berlin" app

Licensing

SPDX-License-Identifier: MIT

This documentation and the build recipe are licensed as MIT. The container itself contains various software components under various open source licenses listed in the associated Software Bill of Materials (SBOM).

This image is a tech preview. Do not use it for production. Your feedback is welcome. Please report any issues to the SUSE Bugzilla.

  • Image Data

    Last Built: 14 Nov 13:23 UTC

    Compressed Size: 96.8 MB

    Uncompressed Size: 241.3 MB

    Support Level: Techpreview

    Supported until: 12 May 2026


  • Health Index
    A

    No vulnerabilities found

    Last Scan:

    2 days ago