# rajendranca/s2i-dotnetcore architecture

> Architecture diagram of the GitHub repository rajendranca/s2i-dotnetcore, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rajendranca/s2i-dotnetcore
- Repository: https://github.com/rajendranca/s2i-dotnetcore

## Overview

This repository provides versioned .NET Core source-to-image builder and runtime container images, plus OpenShift templates. The main workflow is submitting application source to an S2I builder, producing an image, then running it with Docker or deploying through OpenShift. The tree includes builder and runtime implementation paths for 2.1; the README documents broader template and image-stream capabilities. No source excerpts were provided, so relationships below rely on README statements rather than inspected implementation calls.

Main entry points: [`templates`](https://github.com/rajendranca/s2i-dotnetcore/tree/master/templates) (OpenShift Templates), [`2.1/build/s2i/bin/assemble`](https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/build/s2i/bin/assemble) (S2I Builder), [`2.1/build/Dockerfile`](https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/build/Dockerfile) (Build Image), [`2.1/runtime/Dockerfile`](https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/runtime/Dockerfile) (Runtime Image)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_build["Application Build"]
  node_s2i["S2I Builder<br/>[assemble]"]
  node_build_image["Build Image<br/>[Dockerfile]"]
end

subgraph group_runtime["Container Runtime"]
  node_runtime_image["Runtime Image<br/>[Dockerfile]"]
  node_runtime_launch["Application Launch<br/>[run]"]
end

subgraph group_openshift["OpenShift Deployment"]
  node_openshift_templates["OpenShift Templates"]
  node_image_streams["Image Streams"]
end

node_developer(("Application Developer"))
node_docker["Docker"]
node_pgsql[("PostgreSQL")]

node_developer -->|"submits source"| node_s2i
node_s2i -->|"builds image"| node_build_image
node_build_image -.->|"deploys with"| node_runtime_image
node_runtime_image -.->|"runs app"| node_runtime_launch
node_developer -->|"runs image"| node_docker
node_openshift_templates -->|"configures backend"| node_pgsql
node_openshift_templates -->|"provides streams"| node_image_streams

click node_s2i "https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/build/s2i/bin/assemble"
click node_build_image "https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/build/Dockerfile"
click node_runtime_image "https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/runtime/Dockerfile"
click node_runtime_launch "https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/runtime/s2i/bin/run"
click node_openshift_templates "https://github.com/rajendranca/s2i-dotnetcore/tree/master/templates"
click node_image_streams "https://github.com/rajendranca/s2i-dotnetcore/tree/master/templates"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_s2i,node_build_image toneBlue
class node_runtime_image,node_runtime_launch,node_pgsql toneAmber
class node_openshift_templates,node_image_streams toneMint
class node_developer,node_docker toneIndigo
```

## Components

### Application Build

- [S2I Builder](https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/build/s2i/bin/assemble): `2.1/build/s2i/bin/assemble`
- [Build Image](https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/build/Dockerfile): `2.1/build/Dockerfile`

### Container Runtime

- [Runtime Image](https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/runtime/Dockerfile): `2.1/runtime/Dockerfile`
- [Application Launch](https://github.com/rajendranca/s2i-dotnetcore/blob/master/2.1/runtime/s2i/bin/run): `2.1/runtime/s2i/bin/run`

### OpenShift Deployment

- [OpenShift Templates](https://github.com/rajendranca/s2i-dotnetcore/tree/master/templates): `templates`
- [Image Streams](https://github.com/rajendranca/s2i-dotnetcore/tree/master/templates): `templates`

### Other components

- **Application Developer**
- **Docker**
- **PostgreSQL**

## Connections

- Application Developer → S2I Builder: submits source (evidence: `README.md`)
- S2I Builder → Build Image: builds image (evidence: `README.md`)
- Build Image → Runtime Image: deploys with
- Runtime Image → Application Launch: runs app
- Application Developer → Docker: runs image (evidence: `README.md`)
- OpenShift Templates → PostgreSQL: configures backend (evidence: `README.md`)
- OpenShift Templates → Image Streams: provides streams (evidence: `README.md`)
