This repository contains the sources for building .NET SDK and runtime container images.
The images support OpenShift source-to-image.
Version | OS | Documentation |
---|---|---|
6.0 | UBI 8, Fedora | SDK image Runtime image |
8.0 | UBI 8 | SDK image Runtime image |
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 |
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
.
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: