Skip to content

Commit

Permalink
add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Jul 22, 2015
1 parent d17c84e commit 27c2a36
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Dockerfile
@@ -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.