openvidu-recording: Most font languages support

- Removed fonts-droid-fallback because it was not enough to support some languages.
- Added some needed fonts to support all languages installing as little as possible
pull/634/head
cruizba 2021-06-10 19:59:54 +02:00
parent f2a84366d1
commit 04f4991a92
2 changed files with 8 additions and 4 deletions

View File

@ -4,7 +4,10 @@ MAINTAINER info@openvidu.io
ARG CHROME_VERSION ARG CHROME_VERSION
# Install Chrome # Install Chrome
RUN apt-get update && apt-get -y upgrade && apt-get install -y wget sudo fonts-droid-fallback RUN apt-get update && apt-get -y upgrade && apt-get install -y wget sudo \
# Language Fonts
ttf-ancient-fonts fonts-beng fonts-wqy-zenhei fonts-indic
RUN wget http://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb \ RUN wget http://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb \
&& apt install -y ./google-chrome-stable_${CHROME_VERSION}_amd64.deb \ && apt install -y ./google-chrome-stable_${CHROME_VERSION}_amd64.deb \
&& rm google-chrome-stable_${CHROME_VERSION}_amd64.deb \ && rm google-chrome-stable_${CHROME_VERSION}_amd64.deb \
@ -34,4 +37,4 @@ RUN chmod +x /entrypoint.sh /composed.sh /composed_quick_start.sh \
&& mkdir /recordings \ && mkdir /recordings \
&& chmod 777 /recordings && chmod 777 /recordings
ENTRYPOINT /entrypoint.sh ENTRYPOINT /entrypoint.sh

View File

@ -14,7 +14,8 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y \
pulseaudio \ pulseaudio \
xvfb \ xvfb \
jq \ jq \
fonts-droid-fallback \ # Language Fonts
ttf-ancient-fonts fonts-beng fonts-wqy-zenhei fonts-indic \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install chrome # Install chrome
@ -39,4 +40,4 @@ RUN chmod +x /entrypoint.sh /composed.sh /composed_quick_start.sh \
&& mkdir /recordings \ && mkdir /recordings \
&& chmod 777 /recordings && chmod 777 /recordings
ENTRYPOINT /entrypoint.sh ENTRYPOINT /entrypoint.sh