docker: add missing fonts for rasterized graphviz output formats

This commit is contained in:
Steffen Vogel 2021-07-15 17:57:04 +02:00
parent 0de2a988cc
commit aa93f89eae

View File

@ -11,7 +11,7 @@ ARG GOARCH
ARG ALPINE_VERSION=v3.12
LABEL maintainer="squat <lserven@gmail.com>"
RUN echo -e "https://alpine.global.ssl.fastly.net/alpine/$ALPINE_VERSION/main\nhttps://alpine.global.ssl.fastly.net/alpine/$ALPINE_VERSION/community" > /etc/apk/repositories && \
apk add --no-cache ipset iptables ip6tables wireguard-tools graphviz
apk add --no-cache ipset iptables ip6tables wireguard-tools graphviz font-bitstream-type1
COPY --from=cni bridge host-local loopback portmap /opt/cni/bin/
COPY bin/linux/$GOARCH/kg /opt/bin/
ENTRYPOINT ["/opt/bin/kg"]