Giter Site home page Giter Site logo

myena / redline Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 19 KB

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

License: MIT License

Shell 72.98% Dockerfile 27.02%
rpm centos rpmbuild spectool vagrant docker

redline's Introduction

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.

redline's People

Contributors

aaronhurt avatar nathanejohnson avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.