Skip to content

Instantly share code, notes, and snippets.

@smellman
Created June 17, 2020 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smellman/3bcdd62539ea12332696dc4c651b5de2 to your computer and use it in GitHub Desktop.
Save smellman/3bcdd62539ea12332696dc4c651b5de2 to your computer and use it in GitHub Desktop.
Sphinx + plantuml
FROM sphinxdoc/sphinx-latexpdf
WORKDIR /docs
RUN mkdir -p /usr/share/man/man1
RUN apt-get update \
&& apt-get install -y \
default-jre \
&& apt-get autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ADD https://svwh.dl.sourceforge.net/project/plantuml/plantuml.jar /usr/local/share/plantuml.jar
ADD ./plantuml.sh.example /usr/local/bin/plantuml
RUN chmod +x /usr/local/bin/plantuml
RUN pip3 install sphinxcontrib-plantuml==0.18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment