major / imagebuilder

Containers for Image Builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Builder in a Container

Build containers

This repository builds containers with the Image Builder services ready to go! Get a list of all the current builds in the GitHub container repository.

Pulling containers

You can pull any of the containers from this repository using podman or docker:

podman pull ghcr.io/major/imagebuilder/centos-stream9:main
podman pull ghcr.io/major/imagebuilder/fedora-latest:main

Running Image Builder from within the container

Each container starts systemd so that socket activation works well between the different components. Building images does require additional privileges for certain operations, so you will likely need the --privileged flag and use sudo.

(If anyone knows of a workaround to avoid using --privileged and/or sudo, please let me know!)

sudo podman run --rm --detach --privileged \
    --name imagebuilder \
    ghcr.io/major/imagebuilder:centos-stream8=9

About

Containers for Image Builder

License:Apache License 2.0


Languages

Language:Dockerfile 60.1%Language:Shell 39.9%