Skip to content

Commit

Permalink
Add noto fonts to the torizon container
Browse files Browse the repository at this point in the history
This fixes missing emojis and special characters, and generally makes sense for such a container.
  • Loading branch information
tronical committed Feb 16, 2023
1 parent 8450e01 commit b8a997c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile.torizon-demos
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ LABEL org.opencontainers.image.source=https://github.com/slint-ui/slint
LABEL org.opencontainers.image.description="Container image providing Slint demos for use on Torizon. Run with 'docker run --user=torizon -v /dev:/dev -v /tmp:/tmp --device-cgroup-rule='c 199:* rmw' --device-cgroup-rule='c 226:* rmw'. Available demos: printerdemo slide_puzzle gallery opengl_underlay carousel todo"

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install libfontconfig1 libxkbcommon0 \
&& DEBIAN_FRONTEND=noninteractive apt-get install libfontconfig1 libxkbcommon0 fonts-noto-core fonts-noto-cjk fonts-noto-cjk-extra fonts-noto-color-emoji fonts-noto-ui-core fonts-noto-ui-extra \
&& rm -rf /var/lib/apt/lists/*

COPY --from=build /slint/demos/* /usr/bin/
Expand Down

0 comments on commit b8a997c

Please sign in to comment.