Created
March 27, 2016 03:03
-
-
Save poad/bc26f9d96298112133f7 to your computer and use it in GitHub Desktop.
Gollum on Alphine on Docker ref: http://qiita.com/poad1010/items/0b5f10cffe7783591a28
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 ruby:alpine | |
ENV DEBIAN_FRONTEND noninteractive | |
WORKDIR /root | |
ADD ./versions.txt /root/versions.txt | |
ADD Gemfile /root/Gemfile | |
RUN apk update | |
RUN apk add icu-dev build-base git | |
RUN apk add libxml2-dev libxslt-dev | |
RUN bundle install | |
RUN mkdir /root/wikidata | |
RUN git init /root/wikidata | |
EXPOSE 4567 | |
ENTRYPOINT ["/usr/local/bundle/bin/gollum", "/root/wikidata", "--port", "4567"] |
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
source 'https://rubygems.org' | |
ENV['NOKOGIRI_USE_SYSTEM_LIBRARIES'] = 'YES' | |
gem 'gollum' | |
gem 'charlock_holmes' | |
gem 'redcarpet' | |
gem 'github-markdown' | |
gem 'org-ruby' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment