mirror of https://github.com/OpenVidu/openvidu.git
Merge branch 'master' into fix-generateOffer
commit
b0ecc491a7
|
@ -50,7 +50,7 @@ fi
|
|||
|
||||
touch 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
|
||||
chmod 777 /recordings
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ if [[ -z "${COMPOSED_QUICK_START_ACTION}" ]]; then
|
|||
|
||||
touch 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
|
||||
|
||||
until pids=$(pidof Xvfb)
|
||||
|
|
|
@ -4,7 +4,10 @@ MAINTAINER info@openvidu.io
|
|||
ARG CHROME_VERSION
|
||||
|
||||
# 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 \
|
||||
&& apt install -y ./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 \
|
||||
&& chmod 777 /recordings
|
||||
|
||||
ENTRYPOINT /entrypoint.sh
|
||||
ENTRYPOINT /entrypoint.sh
|
||||
|
|
|
@ -14,7 +14,8 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y \
|
|||
pulseaudio \
|
||||
xvfb \
|
||||
jq \
|
||||
fonts-noto \
|
||||
# Language Fonts
|
||||
ttf-ancient-fonts fonts-beng fonts-wqy-zenhei fonts-indic \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install chrome
|
||||
|
@ -39,4 +40,4 @@ RUN chmod +x /entrypoint.sh /composed.sh /composed_quick_start.sh \
|
|||
&& mkdir /recordings \
|
||||
&& chmod 777 /recordings
|
||||
|
||||
ENTRYPOINT /entrypoint.sh
|
||||
ENTRYPOINT /entrypoint.sh
|
||||
|
|
Loading…
Reference in New Issue