Merge branch 'master' into fix-generateOffer

pull/577/head
Juan Navarro 2021-06-11 16:45:22 +02:00
commit b0ecc491a7
4 changed files with 10 additions and 6 deletions

View File

@ -50,7 +50,7 @@ fi
touch xvfb.log touch xvfb.log
chmod 777 xvfb.log chmod 777 xvfb.log
xvfb-run-safe --server-args="-ac -screen 0 ${RESOLUTION}x24 -noreset" google-chrome --kiosk --start-maximized --test-type --no-sandbox --disable-infobars --disable-gpu --disable-popup-blocking --window-size=$WIDTH,$HEIGHT --window-position=0,0 --no-first-run --ignore-certificate-errors --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' $DEBUG_CHROME_FLAGS $URL &> xvfb.log & xvfb-run-safe --server-args="-ac -screen 0 ${RESOLUTION}x24 -noreset" google-chrome --kiosk --start-maximized --test-type --no-sandbox --disable-infobars --disable-gpu --disable-popup-blocking --window-size=$WIDTH,$HEIGHT --window-position=0,0 --no-first-run --disable-features=Translate --ignore-certificate-errors --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' $DEBUG_CHROME_FLAGS $URL &> xvfb.log &
touch stop touch stop
chmod 777 /recordings chmod 777 /recordings

View File

@ -33,7 +33,7 @@ if [[ -z "${COMPOSED_QUICK_START_ACTION}" ]]; then
touch xvfb.log touch xvfb.log
chmod 777 xvfb.log chmod 777 xvfb.log
xvfb-run-safe --server-args="-ac -screen 0 ${RESOLUTION}x24 -noreset" google-chrome --kiosk --start-maximized --test-type --no-sandbox --disable-infobars --disable-gpu --disable-popup-blocking --window-size=$WIDTH,$HEIGHT --window-position=0,0 --no-first-run --ignore-certificate-errors --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' $DEBUG_CHROME_FLAGS $URL &> xvfb.log & xvfb-run-safe --server-args="-ac -screen 0 ${RESOLUTION}x24 -noreset" google-chrome --kiosk --start-maximized --test-type --no-sandbox --disable-infobars --disable-gpu --disable-popup-blocking --window-size=$WIDTH,$HEIGHT --window-position=0,0 --no-first-run --disable-features=Translate --ignore-certificate-errors --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' $DEBUG_CHROME_FLAGS $URL &> xvfb.log &
chmod 777 /recordings chmod 777 /recordings
until pids=$(pidof Xvfb) until pids=$(pidof Xvfb)

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-noto 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 \

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-noto \ # 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