1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-12-22 08:48:54 +00:00

Fix rendering of non-sequence diagrams

Although sequence diagrams render fine without, any(?) other diagram
type requires the  `GRAPHVIZ_DOT` environment variable to be set for
the server to produce usable output.
This commit is contained in:
Olaf Meeuwissen 2018-11-15 21:59:52 +09:00
parent 31a42da6bb
commit 3ce59edba7
2 changed files with 4 additions and 0 deletions

View File

@ -19,4 +19,6 @@ RUN apt-get update && \
USER jetty
ENV GRAPHVIZ_DOT=/usr/bin/dot
COPY --from=builder /app/target/plantuml.war /var/lib/jetty/webapps/ROOT.war

View File

@ -15,5 +15,7 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends graphviz fonts-wqy-zenhei && \
apt-get clean
ENV GRAPHVIZ_DOT=/usr/bin/dot
RUN rm -rf /usr/local/tomcat/webapps/ROOT
COPY --from=builder /app/target/plantuml.war /usr/local/tomcat/webapps/ROOT.war