Created
January 3, 2017 23:30
-
-
Save memory/50a11b7574f759db1759ef6f600ecbdb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:trusty | |
RUN apt-get update | |
RUN apt-get install -yy build-essential ruby-dev | |
RUN mkdir -p /tmp/gems | |
RUN gem install --no-ri --no-rdoc --install-dir /tmp/gems fpm -v 1.8.0 | |
RUN gem install --no-ri --no-rdoc --local --force /tmp/gems/cache/*.gem | |
RUN find /tmp/gems -name \*.gem | xargs -rn1 /usr/local/bin/fpm --deb-no-default-config-files -d ruby --prefix `gem environment gemdir` -s gem -t deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment