readme: update installation instructions

Mention installability in Fedora. Provide COPR enable instructions.
Mention the container.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
Simon de Vlieger 2025-03-01 22:14:42 +01:00 committed by Ondřej Budai
parent 4d9cf723fd
commit cefe2f8527

View file

@ -15,13 +15,22 @@ $ sudo podman run --privileged \
## Installation
This project is under development right now and we provide up-to-date
development snapshots in the following way:
You can install `image-builder` in Fedora from the repositories:
A COPR RPM build
https://copr.fedorainfracloud.org/coprs/g/osbuild/image-builder/
```console
$ dnf install image-builder
```
As this project is under development right now we provide up-to-date
development snapshots of the main branch through COPR:
```console
$ dnf copr enable @osbuild/image-builder
$ dnf install image-builder
```
You can also install `image-builder` via the go build system.
Via the go build system:
```console
$ go run github.com/osbuild/image-builder-cli/cmd/image-builder@main
```
@ -30,7 +39,11 @@ or install it into `$GOPATH/bin`
$ go install github.com/osbuild/image-builder-cli/cmd/image-builder@main
```
We plan to provide rpm packages in fedora as well.
Lastly you can use a container:
```console
$ sudo podman run --privileged ghcr.io/osbuild/image-builder-cli
```
## Compilation