diff --git a/jibri/Dockerfile b/jibri/Dockerfile index 7a60df6deb..2e90d2271c 100644 --- a/jibri/Dockerfile +++ b/jibri/Dockerfile @@ -11,7 +11,7 @@ LABEL org.opencontainers.image.documentation="https://jitsi.github.io/handbook/" ARG USE_CHROMIUM=0 #ARG CHROME_RELEASE=latest # https://googlechromelabs.github.io/chrome-for-testing/ -ARG CHROME_RELEASE=122.0.6261.94 +ARG CHROME_RELEASE=121.0.6167.85 COPY rootfs/ / diff --git a/jibri/rootfs/usr/bin/install-chrome.sh b/jibri/rootfs/usr/bin/install-chrome.sh index b8fe139b56..b9d5f6982b 100755 --- a/jibri/rootfs/usr/bin/install-chrome.sh +++ b/jibri/rootfs/usr/bin/install-chrome.sh @@ -16,9 +16,9 @@ else apt-dpkg-wrap apt-get install -y google-chrome-stable else CHROME_DEB="/tmp/google-chrome-stable_${CHROME_RELEASE}-1_amd64.deb" - curl -4so ${CHROME_DEB} "http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_RELEASE}-1_amd64.deb" - apt-dpkg-wrap apt-get install -y ${CHROME_DEB} - rm -f ${CHROME_DEB} + curl -4so "${CHROME_DEB}" "http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_RELEASE}-1_amd64.deb" + apt-dpkg-wrap apt-get install -y "${CHROME_DEB}" + rm -f "${CHROME_DEB}" fi google-chrome --version @@ -28,12 +28,12 @@ else if [ "${CHROME_RELEASE}" = "latest" ]; then CHROMEDRIVER_RELEASE="$(curl -4Ls ${BASE_URL}/LATEST_RELEASE_STABLE)" else - CHROMEDRIVER_MAJOR_RELEASE=$(echo $CHROME_RELEASE | cut -d. -f1) - CHROMEDRIVER_RELEASE="$(curl -4Ls ${BASE_URL}/LATEST_RELEASE_${CHROMEDRIVER_MAJOR_RELEASE})" + CHROMEDRIVER_MAJOR_RELEASE=$(echo "$CHROME_RELEASE" | cut -d. -f1) + CHROMEDRIVER_RELEASE="$(curl -4Ls ${BASE_URL}/LATEST_RELEASE_"${CHROMEDRIVER_MAJOR_RELEASE}")" fi CHROMEDRIVER_ZIP="/tmp/chromedriver_linux64.zip" - curl -4Lso ${CHROMEDRIVER_ZIP} "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/${CHROMEDRIVER_RELEASE}/linux64/chromedriver-linux64.zip" + curl -4Lso ${CHROMEDRIVER_ZIP} "https://storage.googleapis.com/chrome-for-testing-public/${CHROMEDRIVER_RELEASE}/linux64/chromedriver-linux64.zip" unzip ${CHROMEDRIVER_ZIP} -d /tmp/ mv /tmp/chromedriver-linux64/chromedriver /usr/bin/ chmod +x /usr/bin/chromedriver