rpm-builder-docker/README.md

1.2 KiB

rpm-builder-docker

Build Status Docker Pulls

This project contains only build sources for the container image docker.io/volkerraschek/rpm-builder. The upstream project ist hosted on github.

Usage

Package an example application like my-demo-application via the following example command.

$ docker run \
    --workdir /workspace \
    --volume ${PWD}/workspace:rw \
    --rm \
    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.

$ docker run \
    --rm \
    volkerraschek/rpm-builder:latest \
      --help