No description
  • Shell 70%
  • Dockerfile 30%
Find a file
Merith-TK 4161d40140
Some checks failed
Build Minimal Image on Commit / build-minimal (push) Failing after 0s
implement rudimentary dotfiles support
2026-05-21 21:14:47 -07:00
.forgejo/workflows Base images and build system 2026-05-21 07:16:38 -07:00
docs implement it actually *working* 2026-05-21 20:18:03 -07:00
images/default Base images and build system 2026-05-21 07:16:38 -07:00
minimal-image implement rudimentary dotfiles support 2026-05-21 21:14:47 -07:00
scripts Base images and build system 2026-05-21 07:16:38 -07:00
Readme.md Base images and build system 2026-05-21 07:16:38 -07:00

onset/workspace — Base Images for Onset Workspaces

This repository defines and builds the container images used by Onset for developer workspaces. Each image flavor lives in a subdirectory and is tagged with a consistent scheme.

Repository Structure

.
├── minimal-image/        # Minimal base image (Ubuntu 24.04 + dev essentials)
│   └── Dockerfile
├── images/
│   └── default/          # Default workspace image (chains off minimal)
│       └── Dockerfile
└── .forgejo/workflows/
    ├── build-on-commit.yml   # Builds minimal-image on push to main
    └── build-on-tag.yml      # Retags minimal + builds default on v* tags

Tag Scheme

Trigger Flavor Built Tags Pushed
Push to main (exclude tags) minimal-image/ :minimal-{sha}, :minimal-nightly
Push tag v* retag minimal only :minimal-{tag}, :minimal-latest, :latest
Push tag v* images/default/ :default-{tag}, :default
  • :latest always points to the latest stable minimal image.
  • :minimal-nightly is overwritten on each push to main.
  • Each flavor's bare tag (:default) acts as that flavor's -latest alias.

Adding a New Image Flavor

  1. Create images/<flavor>/Dockerfile with ARG BASE_IMAGE at the top.
  2. Add a build step in build-on-tag.yml similar to the default step.
  3. Push a v* tag to publish.

Prerequisites

The Forgejo instance must have the following secrets configured:

  • OCI_TOKEN — OCI registry token
  • OCI_USER — OCI registry username