graphviz fonts broke between 3.10.3 and 3.11.0 - graphviz fonts boxes boxs alpine
Minimal test cases, where only the alpine version number is changed.
This works:
FROM alpine:3.10.3
RUN apk add --update graphviz font-bitstream-type1 ghostscript-fonts
RUN mkdir /tmp/bad
RUN echo "graph { a -- b }" > /tmp/bad/bad.dot
RUN dot -Tpng /tmp/bad/bad.dot -o /tmp/bad/bad.png
This garbles the fonts:
FROM alpine:3.11.0
RUN apk add --update graphviz font-bitstream-type1 ghostscript-fonts
RUN mkdir /tmp/bad
RUN echo "graph { a -- b }" > /tmp/bad/bad.dot
RUN dot -Tpng /tmp/bad/bad.dot -o /tmp/bad/bad.png