FPM is a ruby utility to make rpm and other packages. This repo has a Vagrant file which spin instance and install all packages required for fpm.
You need Vahrant and Virtualbox.
git clone https://github.com/gauravyadav01/fpm.git
cd fpm
vagrant up
ssh to server
vagrant ssh