Skip to content

Dockerized and Vagrantized RPM build of Consul for the ENA environment

Notifications You must be signed in to change notification settings

myENA/consul-template-rpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPM Spec and Build for Consul-Template

Building

The RPMs may be built with Docker, Vagrant, or manual.

Whatever way you choose you will need to do a few basic things first.

git clone https://github.com/myENA/consul-tempalte-rpm  ## check out this code
cd consul-template-rpm                                  ## uhh... you should know
mkdir -p artifacts                                      ## prep the artifacts location

With Docker

docker build -t ena/consul-template-rpm .                                ## build the image
docker run -v $PWD/artifacts:/tmp/artifacts -it ena/consul-template-rpm  ## 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

Dockerized and Vagrantized RPM build of Consul for the ENA environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published