Skip to content

redhat-developer/s2i-dotnetcore

Repository files navigation

.NET S2I Container Images

This repository contains the sources for building .NET SDK and runtime container images.

The images support OpenShift source-to-image.

Supported Versions

Version OS Documentation
6.0 UBI 8, Fedora SDK image
Runtime image
8.0 UBI 8 SDK image
Runtime image

EOL Versions

Version OS Documentation
1.0 RHEL 7, CentOS 7 SDK image
Runtime image
1.1 RHEL 7 SDK image
Runtime image
2.0 RHEL 7, CentOS 7 SDK image
Runtime image
2.1 RHEL 7, UBI 8,
CentOS 7
SDK image
Runtime image
2.2 RHEL 7, CentOS 7 SDK image
Runtime image
3.0 RHEL 7, UBI 8 SDK image
Runtime image
3.1 RHEL 7, UBI 8,
CentOS 7, Fedora
SDK image
Runtime image
5.0 UBI 8, CentOS 7,
Fedora
SDK image
Runtime image
7.0 UBI 8, Fedora SDK image
Runtime image

Building

You can build (and test) the images by executing the build.sh script and pass it the versions to build.

$ git clone https://github.com/redhat-developer/s2i-dotnetcore.git
$ ./build.sh --ci 6.0 8.0

To override the default basis of the image, you can use the --base-os argument. For example: --base-os fedora or --base-os rhel8.

For an overview of all build script arguments, run: ./build.sh --help.

Installing

The image streams can be added to OpenShift by importing an dotnet_imagestreams_*.json file with the OpenShift client oc.

oc apply -f https://raw.githubusercontent.com/redhat-developer/s2i-dotnetcore/main/dotnet_imagestreams.json

The dotnet_imagestreams_*.json files define the supported .NET versions for a specific architecture:

Architecture File
x64 https://raw.githubusercontent.com/redhat-developer/s2i-dotnetcore/main/dotnet_imagestreams.json
arm64 https://raw.githubusercontent.com/redhat-developer/s2i-dotnetcore/main/dotnet_imagestreams_aarch64.json
ppc64le https://raw.githubusercontent.com/redhat-developer/s2i-dotnetcore/main/dotnet_imagestreams_ppc64le.json
s390x https://raw.githubusercontent.com/redhat-developer/s2i-dotnetcore/main/dotnet_imagestreams_s390x.json