Dockerfile fonts (#231)

* Add python graphviz requirement

* Also needed jinja2 for the autogen.sh

* Added MS core fonts to dockerfile

Co-authored-by: Jerry Steele <fisteele@microsoft.com>
Co-authored-by: Jerry Steele <fitzgeraldsteele@gmail.com>
pull/237/merge
Fitzgerald Steele 5 years ago committed by GitHub
parent 5aebff8ecb
commit d1ea6325bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,6 +8,11 @@ RUN apk update && apk add --no-cache \
# install go package.
RUN go get github.com/mingrammer/round
# install fonts
RUN apk --no-cache add msttcorefonts-installer fontconfig && \
update-ms-fonts && \
fc-cache -f
# add go bin to path.
ENV PATH "$PATH:/root/go/bin"
@ -18,4 +23,4 @@ WORKDIR /usr/src/diagrams
COPY . .
# install python requirements.
RUN pip install black
RUN pip install black graphviz jinja2

Loading…
Cancel
Save