Skip to content

Instantly share code, notes, and snippets.

@honeniq
Created March 27, 2018 08:00
Show Gist options
  • Save honeniq/89ebc50b13fadf85b774af053469f880 to your computer and use it in GitHub Desktop.
Save honeniq/89ebc50b13fadf85b774af053469f880 to your computer and use it in GitHub Desktop.
trema-book-build Dockerfile
FROM ubuntu
MAINTAINER honeniq <honeniq@gmail.com>
RUN apt update && apt install gcc make ruby ruby-dev default-jdk git fonts-vlgothic -y
RUN gem install bundler
RUN git clone https://github.com/yasuhito/trema-book.git
RUN rm -rf trema-book/vendor/asciidoctor-fopub
RUN git clone https://github.com/asciidoctor/asciidoctor-fopub trema-book/vendor/asciidoctor-fopub
WORKDIR trema-book
RUN bundle install --path vendor/
CMD bundle exec rake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment