Last active
February 13, 2017 15:20
-
-
Save michaelperrin/045852610ff080e8694ff9c01e8d70ce to your computer and use it in GitHub Desktop.
Dockerfile to build Symfony documentation with Sphinx
This file contains 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
# Usage: | |
# docker build -t symfony_docs_generator . | |
# docker run --rm -v `pwd`:/var/www/symfony-docs symfony_docs_generator make html | |
FROM python:3.6 | |
MAINTAINER Michaël Perrin <contact@michaelperrin.fr> | |
RUN pip install sphinx~=1.3.0 git+https://github.com/fabpot/sphinx-php.git | |
# Install LaTeX PDF for PDF build | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
texlive-latex-extra | |
WORKDIR /var/www/symfony-docs/_build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment