Skip to content

Instantly share code, notes, and snippets.

@rutsky
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rutsky/6cf8ff80572c8ce74e49 to your computer and use it in GitHub Desktop.
Save rutsky/6cf8ff80572c8ce74e49 to your computer and use it in GitHub Desktop.
Run FPM from docker on CentOS 6
(host)# docker pull centos
(host)# docker run -t -i centos:centos6 /bin/bash
bash-4.1# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
bash-4.1# yum install -y ruby-devel git rubygems gcc tar python-setuptools rpm-build dpkg
...
bash-4.1# git clone https://github.com/jordansissel/fpm.git
...
bash-4.1# cd fpm
bash-4.1# bundle install
...
Using fpm 1.1.0 from source at .
...
bash-4.1# make
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment