Docker image with the tools to build older Riak RPMs for CentOS 6. The same concept will probably work for CentOS 7 as well as other Riak 1.x versions.
- Clone the Riak repository:
git clone https://github.com/basho/riak.git
- Checkout a known tag:
cd riak && git checkout riak-1.4.12
- Build the image using supplied
Dockerfile
:docker build -t riakbuilder:centos-6 .
- Build the package:
docker run -it -w /riak -v $PWD:/riak riakbuilder:centos-6 make package
The RPMs will be available at package/packages
.