Go to file
Paolo Asperti e171f0420d
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
fix build
2023-05-13 13:47:25 +02:00
.drone.yml changed registry and updated drone pipeline format 2023-05-13 11:51:49 +02:00
Dockerfile fix build 2023-05-13 13:47:25 +02:00
LICENSE initial import 2018-08-12 18:52:50 +02:00
README.md changed registry and updated drone pipeline format 2023-05-13 11:51:49 +02:00
run.sh no need to set working dir 2019-04-25 20:16:39 +02:00

rpm-build

Build Status

This docker image is used to build source .rpm package.

Build

docker build . -t libreschool-automation/rpm-build:latest

How to use

kind: pipeline
name: default

steps:
  - name: build
    image: git.libreschool.org/libreschool-automation/rpm-build:7
    pull: always
    commands:
      - yum-builddep -y mypackage.spec
      - rpmbuild -ba mypackage.spec
      - mkdir out ; mv *.rpm noarch/*.rpm out/