Skip to content
/ redline Public

Redline builds RPMs at engine breaking speeds using Docker or Vagrant. Manage your rpmbuild process with Docker or Vagrant for reproducible results.

License

Notifications You must be signed in to change notification settings

myENA/redline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tachometer Redline

This project provides a simple framework for building RPMs under Docker and/or Vagrant.

Simply place your RPM spec files in the SPECS directory and all local sources (sources that can't be downloaded via spectool) in the SOURCES directory. Build as described below.

Building

The RPMs may be built with Docker, Vagrant, or manual. The default Vagrantfile and Dockerfile in the project use the lastest CentOS 7 image. Change this if needed for your build requirements. The actual build logic is contained in the build.sh script which should also be modified if needed for your particular use case.

With Docker

docker build -t redline .                                 ## build the image
docker run -v $PWD/artifacts:/tmp/artifacts -it redline   ## run the image and build the RPMs

With Vagrant

vagrant up        ## provision and build the RPMs

Manual

cat build.sh      ## read the script

Result

Your RPMs and SRPMs will be copied to the artifacts folder. Congratulations. You just built RPMs in a controlled environment in an easily reproducible manner.

About

Redline builds RPMs at engine breaking speeds using Docker or Vagrant. Manage your rpmbuild process with Docker or Vagrant for reproducible results.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published