Skip to content

radiorabe/container-image-rabe-s2i-base-minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RaBe S2I Base Minimal Image

The RaBe S2I Base Minimal Image resembles a classic sclorg/s2i-base image with the main difference being that it does not include yum since it is based on the RaBe UBI8 Minimal Image. It's main use is as a downstream for RaBe S2I tooling.

The image is based on the RaBe S2I Core Image which is in turn based on the AlmaLinux 9 UBI9 variant image container provided by AlmaLinux and based on the work from Red Hat. It uses parts of the Red Hat S2I Base Image.

Features

  • Based on RaBe Universal Base Image 8 Minimal
  • Builds the base for RaBe S2I Images

Usage

Create a downstream image from ghcr.io/radiorabe/s2i-base. Replace :latest with a specific version in the examples below.

FROM ghcr.io/radiorabe/s2i-base:latest AS build

RUN "hello world"

Preferably you should use a downstream base image for your needs.

Downstream Base Images

Release Management

The CI/CD setup uses semantic commit messages following the conventional commits standard. There is a GitHub Action in .github/workflows/semantic-release.yaml that uses go-semantic-commit to create new releases.

The commit message should be structured as follows:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

The commit contains the following structural elements, to communicate intent to the consumers of your library:

  1. fix: a commit of the type fix patches gets released with a PATCH version bump
  2. feat: a commit of the type feat gets released as a MINOR version bump
  3. BREAKING CHANGE: a commit that has a footer BREAKING CHANGE: gets released as a MAJOR version bump
  4. types other than fix: and feat: are allowed and don't trigger a release

If a commit does not contain a conventional commit style message you can fix it during the squash and merge operation on the PR.

Build Process

The CI/CD setup uses the Docker build-push Action to publish container images. This is managed in .github/workflows/release.yaml.

License

This application is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.

Copyright

Copyright (c) 2022 Radio Bern RaBe