This repository contains the source for building .NET Core apps as reproducible Docker images using source-to-image. The resulting image can be run using Docker.
.NET Core versions currently provided are:
- 1.0
- 1.1
RHEL versions currently supported are:
- RHEL 7
To build a RHEL 7 based .NET Core image, you need to run the build on a properly subscribed RHEL machine.
$ git clone https://github.com/redhat-developer/s2i-dotnetcore.git
$ cd s2i-dotnetcore/1.0
$ sudo docker build -f Dockerfile.rhel7 -t dotnet/dotnetcore-10-rhel7 .
For information about usage of Docker image for .NET Core 1.1, see 1.1 usage documentation.
For information about usage of Docker image for .NET Core 1.0, see 1.0 usage documentation.
- Platform name (lowercase) - dotnetcore
- Platform version (without dots) - 10
- Base builder image - rhel7
Example: dotnet/dotnetcore-10-rhel7