Commit e83305b9 authored by Bastien Nocera's avatar Bastien Nocera

thumbnail: Fix slow thumbnailer due to missing font cache

On some distributions, the font cache doesn't live in /usr but in /var,
which we don't allow access to when sandboxing the thumbnailers. Bind
mount the fontconfig cache directory read-only if it lives outside /usr,
to speed up thumbnailer startup.

Closes: #90
parent 78a29e0e
Pipeline #54658 passed with stage
in 2 minutes and 48 seconds