rpm-builder-docker/README.md
Markus Pesch fa09622b3f
Some checks failed
Lint Markdown files / markdown-lint (push) Waiting to run
Build / build-arm64 (push) Has been cancelled
Build / build-amd64 (push) Has been cancelled
fix(ci): replace drone with gitea actions
2025-05-08 20:58:22 +02:00

40 lines
1.1 KiB
Markdown

# rpm-builder
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/rpm-builder-docker/status.svg)](https://drone.cryptic.systems/volker.raschek/rpm-builder-docker)
This project contains only build sources for the container image
`docker.io/volkerraschek/rpm-builder`. The upstream project ist hosted on
[github](https://github.com/Richterrettich/rpm-builder).
## Usage
Package an example application like `my-demo-application` via the following
example command.
```bash
$ docker run \
--workdir /workspace \
--volume ${PWD}/workspace:rw \
--rm \
docker.io/volkerraschek/rpm-builder:latest \
--arch=x86_64 \
--epoch=0 \
--version=0.1.0 \
--release=1 \
--license="Apache 2.0" \
--name my-demo-application \
--dir installDir:/ \
--out /workspace/my-demo-application.rpm \
.
```
You get on overview of all possible sub commands via `--help` or visit the
[documentation](https://github.com/Richterrettich/rpm-builder#additional-flags).
```bash
$ docker run \
--rm \
docker.io/volkerraschek/rpm-builder:latest \
--help
```