|
|
@ -9,43 +9,31 @@ ARG CHROMEDRIVER_MAJOR_RELEASE=90 |
|
|
|
|
|
|
|
|
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"] |
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"] |
|
|
|
|
|
|
|
|
|
|
|
RUN \ |
|
|
|
RUN apt-dpkg-wrap apt-get update && \ |
|
|
|
apt-dpkg-wrap apt-get update \ |
|
|
|
apt-dpkg-wrap apt-get install -y jibri libgl1-mesa-dri procps && \ |
|
|
|
&& apt-dpkg-wrap apt-get install -y jibri libgl1-mesa-dri procps \ |
|
|
|
apt-cleanup && \ |
|
|
|
&& apt-cleanup |
|
|
|
[ "${CHROME_RELEASE}" = "latest" ] && \ |
|
|
|
|
|
|
|
wget -qO - https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmour /etc/apt/trusted.gpg.d/google.gpg && \ |
|
|
|
RUN \ |
|
|
|
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list && \ |
|
|
|
[ "${CHROME_RELEASE}" = "latest" ] \ |
|
|
|
apt-dpkg-wrap apt-get update && \ |
|
|
|
&& wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O /etc/apt/trusted.gpg.d/google.asc \ |
|
|
|
apt-dpkg-wrap apt-get install -y google-chrome-stable && \ |
|
|
|
&& echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \ |
|
|
|
apt-cleanup || \ |
|
|
|
&& apt-dpkg-wrap apt-get update \ |
|
|
|
[ "${CHROME_RELEASE}" != "latest" ] && \ |
|
|
|
&& apt-dpkg-wrap apt-get install -y google-chrome-stable \ |
|
|
|
curl -4so "/tmp/google-chrome-stable_${CHROME_RELEASE}-1_amd64.deb" "http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_RELEASE}-1_amd64.deb" && \ |
|
|
|
&& apt-cleanup \ |
|
|
|
apt-dpkg-wrap apt-get update && \ |
|
|
|
|| true |
|
|
|
apt-dpkg-wrap apt-get install -y "/tmp/google-chrome-stable_${CHROME_RELEASE}-1_amd64.deb" && \ |
|
|
|
|
|
|
|
apt-cleanup || \ |
|
|
|
RUN \ |
|
|
|
[ "${CHROMEDRIVER_MAJOR_RELEASE}" = "latest" ] && \ |
|
|
|
[ "${CHROME_RELEASE}" != "latest" ] \ |
|
|
|
CHROMEDRIVER_RELEASE="$(curl -4Ls https://chromedriver.storage.googleapis.com/LATEST_RELEASE)" || \ |
|
|
|
&& curl -4so "/tmp/google-chrome-stable_${CHROME_RELEASE}-1_amd64.deb" "http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_RELEASE}-1_amd64.deb" \ |
|
|
|
CHROMEDRIVER_RELEASE="$(curl -4Ls https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROMEDRIVER_MAJOR_RELEASE})" && \ |
|
|
|
&& apt-dpkg-wrap apt-get update \ |
|
|
|
curl -4Ls "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_RELEASE}/chromedriver_linux64.zip" \ |
|
|
|
&& apt-dpkg-wrap apt-get install -y "/tmp/google-chrome-stable_${CHROME_RELEASE}-1_amd64.deb" \ |
|
|
|
| zcat >> /usr/bin/chromedriver && \ |
|
|
|
&& apt-cleanup \ |
|
|
|
chmod +x /usr/bin/chromedriver && \ |
|
|
|
|| true |
|
|
|
chromedriver --version && \ |
|
|
|
|
|
|
|
apt-dpkg-wrap apt-get update && \ |
|
|
|
RUN \ |
|
|
|
apt-dpkg-wrap apt-get install -y jitsi-upload-integrations jq && \ |
|
|
|
[ "${CHROMEDRIVER_MAJOR_RELEASE}" = "latest" ] \ |
|
|
|
apt-cleanup |
|
|
|
&& CHROMEDRIVER_RELEASE="$(curl -4Ls https://chromedriver.storage.googleapis.com/LATEST_RELEASE)" \ |
|
|
|
|
|
|
|
|| CHROMEDRIVER_RELEASE="$(curl -4Ls https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROMEDRIVER_MAJOR_RELEASE})" \ |
|
|
|
|
|
|
|
&& curl -4Ls "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_RELEASE}/chromedriver_linux64.zip" \ |
|
|
|
|
|
|
|
| zcat >> /usr/bin/chromedriver \ |
|
|
|
|
|
|
|
&& chmod +x /usr/bin/chromedriver \ |
|
|
|
|
|
|
|
&& chromedriver --version |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN \ |
|
|
|
|
|
|
|
apt-dpkg-wrap apt-get update \ |
|
|
|
|
|
|
|
&& apt-dpkg-wrap apt-get install -y jitsi-upload-integrations jq \ |
|
|
|
|
|
|
|
&& apt-cleanup |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COPY rootfs/ / |
|
|
|
COPY rootfs/ / |
|
|
|
|
|
|
|
|
|
|
|
VOLUME /config |
|
|
|
VOLUME /config |
|
|
|
|
|
|
|
|
|
|
|