Permalink
Browse files

add Dockerfile

  • Loading branch information...
1 parent d17c84e commit 27c2a361cb756587ef732673f0ff9a2d1a30b1e8 @takahashim takahashim committed Jul 22, 2015
Showing with 22 additions and 0 deletions.
  1. +22 −0 Dockerfile
View
@@ -0,0 +1,22 @@
+# This file is a sample Dockerfile to build Re:VIEW documents.
+#
+# Build:
+# $ docker build -t review .
+#
+# Usage:
+# $ cd path/to/review/project
+# $ docker run -it --rm -v `pwd`:/work review rake pdf
+#
+# cf. https://github.com/vvakame/docker-review/blob/master/Dockerfile
+
+FROM debian:sid
+MAINTAINER takahashim
+
+RUN apt-get update \
+ && apt-get install -y --no-install-recommends git-core ruby locales zip \
+ && apt-get install -y --no-install-recommends texlive-lang-cjk texlive-lang-japanese texlive-fonts-recommended texlive-latex-extra ghostscript \
+ && rm -rf /var/lib/apt/lists/*
+RUN gem install review rake bundler --no-rdoc --no-ri
+
+VOLUME ["/work"]
+WORKDIR /work

0 comments on commit 27c2a36

Please sign in to comment.