Here is my current setup:
-
Place the fonts in a directory
./fonts
-
Add the following Dockerfile to your directory (maybe the
--chown=…
is not necessary)FROM collabora/code COPY --chown=104:106 fonts /usr/share/fonts/truetype/more/ COPY --chown=104:106 fonts /opt/cool/systemplate/usr/share/fonts/truetype/more/
-
In your
docker-compose.yml
, changeimage: collabora/code
tobuild: .
. In case you do not have adocker-compose.yml
file yet, here is an example:version: '3' services: lool: build: . environment: - domain=cloud\.example\.com|cloud\.beispiel\.ch restart: always ports: - "9980:9980" cap_add: - MKNOD
-
(Re-)start your Docker container with
docker-compose up -d --build
.