-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Description
$ docker run --user "$(id -u):$(id -g)" --rm asciidoctor/docker-asciidoctor:1.76.0 fc-cache
Fontconfig error: No writable cache directories
This surfaces when you use asciidoctor-diagram with PlantUML:
$ mkdir -p /tmp/test && cd "$_"
$ cat << 'EOF' >test.adoc
[plantuml]
----
@startuml
label Test
@enduml
----
EOF
$ docker run \
--rm \
-u "$(id -u):$(id -g)" \
-v '/tmp/test:/documents' \
asciidoctor/docker-asciidoctor:1.76.0 \
sh -c 'asciidoctor-pdf -r asciidoctor-diagram test.adoc'
Fontconfig error: No writable cache directories
...
$ docker run \
--rm \
-u "$(id -u):$(id -g)" \
-v '/tmp/test:/documents' \
asciidoctor/docker-asciidoctor:1.76.0 \
sh -c 'asciidoctor-pdf -r asciidoctor-diagram test.adoc'
$ rm diag-plantuml-md5-*.png
$ docker run \
--rm \
-u "$(id -u):$(id -g)" \
-v '/tmp/test:/documents' \
asciidoctor/docker-asciidoctor:1.76.0 \
sh -c 'asciidoctor-pdf -r asciidoctor-diagram test.adoc'
Fontconfig error: No writable cache directories
...
Metadata
Metadata
Assignees
Labels
No labels