.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 |
7.0 | UBI 8, Fedora | 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 |
Building
$ git clone https://github.com/redhat-developer/s2i-dotnetcore.git
$ sudo VERSIONS=7.0 ./build.sh
To override the default basis of the image, set IMAGE_OS
to the desired base system, such as IMAGE_OS=FEDORA
or IMAGE_OS=RHEL8
.
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: