Add graphviz to docker image (#1623)

This fixes the usage of the plantuml plugin inside of a docker
container.
This commit is contained in:
Sebastian Sdorra
2021-04-20 14:05:01 +02:00
committed by GitHub
parent 84c1e7ed37
commit 893cf4af4c
2 changed files with 4 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
- type: fixed
description: Missing graphviz in docker image ([#1623](https://github.com/scm-manager/scm-manager/pull/1623))

View File

@@ -29,7 +29,8 @@ ENV CACHE_DIR=/var/cache/scm/work
COPY . /
RUN set -x \
&& apk add --no-cache ttf-dejavu mercurial bash ca-certificates \
# ttf-dejavu graphviz are required for the plantuml plugin
&& apk add --no-cache ttf-dejavu graphviz mercurial bash ca-certificates \
&& addgroup -S -g 1000 scm \
&& adduser -S -s /bin/false -G scm -h ${SCM_HOME} -D -H -u 1000 scm \
&& mkdir -p ${SCM_HOME} ${CACHE_DIR} \