Containerfile: initial version

This commit adds an initial Containerfile to build an `image-builder`
container.

Use all the DNF commands together and add a cleaning command to the end
of it. This makes fewer layers and keeps the image size slightly
smaller.

Co-authored-by: Simon de Vlieger <supakeen@redhat.com>
Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
Michael Vogt 2024-12-03 16:49:13 +01:00
parent b3f9fb88f1
commit 5aa75ec1c1
3 changed files with 94 additions and 0 deletions

View file

@ -2,6 +2,17 @@
Build images from the commandline in a convenient way.
## Run via container
```console
$ sudo podman run --privileged \
-v ./output:/output \
ghcr.io/osbuild/image-builder-cli:latest \
build \
--distro fedora-41 \
minimal-raw
```
## Installation
This project is under development right now and needs to be run via: