Last active
August 29, 2015 14:10
-
-
Save ryaninvents/1d89cbe9b23b63405c5b to your computer and use it in GitHub Desktop.
Softcover Dockerfile
This file contains hidden or 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:14.04 | |
RUN apt-get update && apt-get install -y software-properties-common curl | |
RUN apt-add-repository ppa:brightbox/ruby-ng | |
RUN curl -sL https://deb.nodesource.com/setup | sudo bash - | |
RUN apt-get update && apt-get -y upgrade | |
RUN curl -sL http://kindlegen.s3.amazonaws.com/kindlegen_linux_2.6_i386_v2_9.tar.gz > kindlegen.tgz | |
RUN curl -sL https://github.com/IDPF/epubcheck/releases/download/v3.0/epubcheck-3.0.zip > epubcheck.tgz | |
RUN apt-get install -y ruby2.1 ruby-switch texlive imagemagick nodejs inkscape calibre default-jre | |
RUN cd /tmp | |
RUN curl -sL http://production.cf.rubygems.org/rubygems/rubygems-2.4.4.tgz > rubygems.tgz | |
RUN tar xzf rubygems.tgz | |
RUN apt-get install -y ruby1.9.1-dev patch build-essential libcurl4-openssl-dev zip texlive-full | |
WORKDIR /rubygems-2.4.4 | |
RUN ruby setup.rb | |
RUN gem install softcover |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment