2023-11-28 10:39:37 UTC
493 MB
/opt/selenium/config.toml
DBUS_SESSION_BUS_ADDRESS/dev/null
DEBCONF_NONINTERACTIVE_SEENtrue
DEBIAN_FRONTENDnoninteractive
DISPLAY:99.0
DISPLAY_NUM99
ENCODINGUTF-8
GENERATE_CONFIGtrue
HOME/home/seluser
LANGen_US.UTF-8
LANGUAGEen_US.UTF-8
LANG_WHEREUS
LANG_WHICHen
NOVNC_VERSION1.4.0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SE_BIND_HOSTfalse
SE_DRAIN_AFTER_SESSION_COUNT0
SE_NODE_MAX_SESSIONS1
SE_NODE_OVERRIDE_MAX_SESSIONSfalse
SE_NODE_SESSION_TIMEOUT300
SE_NO_VNC_PORT7900
SE_OFFLINEtrue
SE_SCREEN_DEPTH24
SE_SCREEN_DPI96
SE_SCREEN_HEIGHT1020
SE_SCREEN_WIDTH1360
SE_START_NO_VNCtrue
SE_START_VNCtrue
SE_START_XVFBtrue
SE_VNC_PORT5900
TZUTC
WEBSOCKIFY_VERSION0.11.0
[#000] sha256:aece8493d3972efa43bfd4ee3cdba659c0f787f8f59c82fb3e48c87cbb22a12e - 5.72% (28.2 MB)
[#001] sha256:b3ea928d1a475f343b8360ca631e19ba56a5ecf50cf5f0a321355dbb1218dff9 - 0.0% (233 Bytes)
[#002] sha256:c377a2dd27ea341307056787fcd558327b4a3437dc4688eae1a0da89b64e1a11 - 19.29% (95 MB)
[#003] sha256:3fe3b8e77c55962b73e8af197bb56cae7bd55e83e7a19a958a92110ecdca4600 - 0.08% (428 KB)
[#004] sha256:19dfae4bcf41961b64892b7acba35d704b0d09fbdcaea9fbecfaf2dd7c4f4607 - 0.0% (5.24 KB)
[#005] sha256:ed765b0e7f518e0132b21095997d352a6b34fe21bbca1fb65f533cacc6907f3c - 0.0% (829 Bytes)
[#006] sha256:1f193b046a376cfbef2dc7e0dc6d3a69c8779dade79e9b8aa0e5af3474d90361 - 0.0% (753 Bytes)
[#007] sha256:2835eb04107551d275d8531018f4dc6122825b845eb99f039a98b7b0eb1a585b - 6.86% (33.8 MB)
[#008] sha256:3b19011a8ac166cd6b06946ae88d28bc97ce066005cabd0f4cc43c9f2fb8dda2 - 0.03% (150 KB)
[#009] sha256:c664e22e19118580a224d32a9acaa344efaf372b4ccb98f1753fc74516d2b526 - 9.71% (47.8 MB)
[#010] sha256:e2e18c0bae12d99b44da8a3d945308f03aaa805997eb006dfb66ed5184a61abf - 0.0% (1.02 KB)
[#011] sha256:0aa5ce51a985b9b5c69440fe518ff4adb0b282c4b4d351c38d2d885e21edeff0 - 0.0% (157 Bytes)
[#012] sha256:6f8b70b0b9699eeda9d63d9a55e6ae5fb5ee3749146c21e54e603b9f515fb342 - 19.14% (94.3 MB)
[#013] sha256:3a32f6176e343487b1ff73ee20f14b19a73c490bdf7205e91eb1bafc8ea9cf00 - 1.66% (8.16 MB)
[#014] sha256:d161b960bf11067d952583bbb5bad107c00a5314748d35e85ec6a9133042e5ad - 0.83% (4.11 MB)
[#015] sha256:04b2b2468e3c0842ba525cf933fb825d056c6605a28d05ee30769dfbec53dc14 - 1.55% (7.63 MB)
[#016] sha256:66abf838e1b83e0b5189ef4438642e9789065e4fef6f9958a332d5bcbe4186ad - 6.34% (31.3 MB)
[#017] sha256:a5e3ee1067af748a83e20ab797beb077707afdf85a95c38a56e46dcaf1715fe5 - 0.14% (730 KB)
[#018] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#019] sha256:d96fe240c42bfcbf2cca6750e774e87ecf908dda17f82c67dbd12a5466bf2e93 - 0.0% (1.32 KB)
[#020] sha256:3c95821b3c5def1ef08f8a0c9322f009f8257ae5c1bbd96a6bd4cf72ce18f055 - 0.0% (681 Bytes)
[#021] sha256:c542e926ea12b286f6c6690d7504ce185038c450d6593c8d9403ac623ce8e821 - 0.0% (202 Bytes)
[#022] sha256:b0f369f92e07d63ad66c5111becc45dfdc4244f63e8688d2cdfab01a3f41ba9d - 0.0% (2.54 KB)
[#023] sha256:b04834a5e1f62fb72baded32c1872f6c6d4982728bd29a2f7a51e5ccc1663563 - 0.0% (897 Bytes)
[#024] sha256:f7503ed6121f9a5f8234df8a64823f13fa443d36559c1c6b0abf2e15956161a8 - 0.0% (18 KB)
[#025] sha256:2fee63e5f0cec4a6db2a26e120f8d6ed98d4ec93e0277a7ea6b3d296e2c50137 - 0.0% (116 Bytes)
[#026] sha256:971543e6589b164b11470f1ad9ea65002f81ab3581a5c824926d96feaa3353f4 - 0.0% (947 Bytes)
[#027] sha256:7e5deba9ccc0860db8f916ff2745d00dfa619defc04fc47e72f1d9e2d4d4c77b - 0.23% (1.12 MB)
[#028] sha256:cc0c4625293f97800ea8d3660198f55ab407084d26404667a6e9547a585b6097 - 26.84% (132 MB)
[#029] sha256:d49a3264597aa4184b1dbdd3a458fc1f03c2f27ead19e3609c248eb87494850f - 0.0% (596 Bytes)
[#030] sha256:e6a2d480566ffa7335556386ab393142bf0ca8fa9b1900658e2c84e253a09d6b - 0.0% (2.57 KB)
[#031] sha256:f463f6c889eb74f32a019e513da16db7e142d23d563e3e64f0d85b8473452fad - 1.57% (7.73 MB)
[#032] sha256:96a37cfe53aad218d1fa17c7386b80c14736c41fb889c1ab1efaedd9e3adc67c - 0.0% (180 Bytes)
[#033] sha256:7e19398bab723a96cbd875c3a7479291c9595f4f2d626fdb710eac7391bcd36b - 0.0% (506 Bytes)
[#034] sha256:d024f9af521e04b7fcbcdd1510aeef04c60b85320c69f17d87ea5d88d7a7d244 - 0.0% (228 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2023-10-05 07:33:30 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2023-10-05 07:33:30 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2023-10-05 07:33:30 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2023-10-05 07:33:32 UTC/bin/sh -c #(nop) ADD file:63d5ab3ef0aab308c0e71cb67292c5467f60deafa9b0418cbb220affcd078444 in /
2023-10-05 07:33:32 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2023-11-28 10:37:29 UTC (buildkit.dockerfile.v0)LABEL authors=Selenium <[email protected]>
2023-11-28 10:37:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c echo "deb http://archive.ubuntu.com/ubuntu jammy main universe\n" > /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu jammy-updates main universe\n" >> /etc/apt/sources.list && echo "deb http://security.ubuntu.com/ubuntu jammy-security main universe\n" >> /etc/apt/sources.list # buildkit
2023-11-28 10:37:29 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
2023-11-28 10:37:45 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get -qqy update && apt-get upgrade -yq && apt-get -qqy --no-install-recommends install acl bzip2 ca-certificates openjdk-11-jre-headless tzdata sudo unzip wget jq curl supervisor gnupg2 && rm -rf /var/lib/apt/lists/* /var/cache/apt/* && sed -i 's/securerandom\.source=file:\/dev\/random/securerandom\.source=file:\/dev\/urandom/' ./usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security # buildkit
2023-11-28 10:37:45 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2023-11-28 10:37:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c echo "${TZ}" > /etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata # buildkit
2023-11-28 10:37:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c groupadd seluser --gid 1201 && useradd seluser --create-home --gid 1201 --shell /bin/bash --uid 1200 && usermod -a -G sudo seluser && echo 'ALL ALL = (ALL) NOPASSWD: ALL' >> /etc/sudoers && echo 'seluser:secret' | chpasswd # buildkit
2023-11-28 10:37:46 UTC (buildkit.dockerfile.v0)ENV HOME=/home/seluser
2023-11-28 10:37:46 UTC (buildkit.dockerfile.v0)COPY check-grid.sh entry_point.sh /opt/bin/ # buildkit
2023-11-28 10:37:46 UTC (buildkit.dockerfile.v0)COPY supervisord.conf /etc # buildkit
2023-11-28 10:37:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor && touch /opt/selenium/config.toml && chmod -R 777 /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor /etc/passwd && wget --no-verbose https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.15.0/selenium-server-4.15.0.jar -O /opt/selenium/selenium-server.jar && chgrp -R 0 /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor && chmod -R g=u /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor && setfacl -Rm u:seluser:rwx /opt /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor # buildkit
2023-11-28 10:37:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c curl -fLo /tmp/cs https://github.com/coursier/launchers/raw/master/coursier && chmod +x /tmp/cs && mkdir -p /external_jars && chmod -R 775 /external_jars # buildkit
2023-11-28 10:37:51 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c /tmp/cs fetch --classpath --cache /external_jars io.opentelemetry:opentelemetry-exporter-otlp:1.32.0 io.opentelemetry:opentelemetry-exporter-jaeger:1.32.0 io.grpc:grpc-netty:1.59.0 > /external_jars/.classpath.txt # buildkit
2023-11-28 10:37:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chmod 664 /external_jars/.classpath.txt # buildkit
2023-11-28 10:37:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c rm -fr /root/.cache/* # buildkit
2023-11-28 10:37:52 UTC (buildkit.dockerfile.v0)USER 1200:1201
2023-11-28 10:37:52 UTC (buildkit.dockerfile.v0)ENV SE_BIND_HOST=false
2023-11-28 10:37:52 UTC (buildkit.dockerfile.v0)CMD ["/opt/bin/entry_point.sh"]
2023-11-28 10:38:12 UTC (buildkit.dockerfile.v0)LABEL authors=
2023-11-28 10:38:12 UTC (buildkit.dockerfile.v0)USER root
2023-11-28 10:38:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update -qqy && apt-get -qqy install xvfb pulseaudio && rm -rf /var/lib/apt/lists/* /var/cache/apt/* # buildkit
2023-11-28 10:38:12 UTC (buildkit.dockerfile.v0)ENV LANG_WHICH=en
2023-11-28 10:38:12 UTC (buildkit.dockerfile.v0)ENV LANG_WHERE=US
2023-11-28 10:38:12 UTC (buildkit.dockerfile.v0)ENV ENCODING=UTF-8
2023-11-28 10:38:12 UTC (buildkit.dockerfile.v0)ENV LANGUAGE=en_US.UTF-8
2023-11-28 10:38:12 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2023-11-28 10:39:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get -qqy update && apt-get -qqy --no-install-recommends install language-pack-en tzdata locales && locale-gen ${LANGUAGE} && dpkg-reconfigure --frontend noninteractive locales && apt-get -qyy autoremove && rm -rf /var/lib/apt/lists/* && apt-get -qyy clean # buildkit
2023-11-28 10:39:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update -qqy && apt-get -qqy install x11vnc && rm -rf /var/lib/apt/lists/* /var/cache/apt/* # buildkit
2023-11-28 10:39:10 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update -qqy && apt-get -qqy install fluxbox && rm -rf /var/lib/apt/lists/* /var/cache/apt/* # buildkit
2023-11-28 10:39:19 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get -qqy update && apt-get -qqy --no-install-recommends install libfontconfig libfreetype6 xfonts-cyrillic xfonts-scalable fonts-liberation fonts-ipafont-gothic fonts-wqy-zenhei fonts-tlwg-loma-otf fonts-ubuntu fonts-noto-color-emoji && rm -rf /var/lib/apt/lists/* && apt-get -qyy clean # buildkit
2023-11-28 10:39:19 UTC (buildkit.dockerfile.v0)ENV NOVNC_VERSION=1.4.0 WEBSOCKIFY_VERSION=0.11.0
2023-11-28 10:39:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c wget -nv -O noVNC.zip "https://github.com/novnc/noVNC/archive/refs/tags/v${NOVNC_VERSION}.zip" && unzip -x noVNC.zip && mv noVNC-${NOVNC_VERSION} /opt/bin/noVNC && cp /opt/bin/noVNC/vnc.html /opt/bin/noVNC/index.html && rm noVNC.zip && wget -nv -O websockify.zip "https://github.com/novnc/websockify/archive/refs/tags/v${WEBSOCKIFY_VERSION}.zip" && unzip -x websockify.zip && rm websockify.zip && rm -rf websockify-${WEBSOCKIFY_VERSION}/tests && mv websockify-${WEBSOCKIFY_VERSION} /opt/bin/noVNC/utils/websockify # buildkit
2023-11-28 10:39:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chmod +x /dev/shm # buildkit
2023-11-28 10:39:20 UTC (buildkit.dockerfile.v0)USER 1200
2023-11-28 10:39:20 UTC (buildkit.dockerfile.v0)COPY start-selenium-node.sh start-xvfb.sh /opt/bin/ # buildkit
2023-11-28 10:39:20 UTC (buildkit.dockerfile.v0)COPY selenium.conf /etc/supervisor/conf.d/ # buildkit
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p ${HOME}/.vnc && x11vnc -storepasswd secret ${HOME}/.vnc/passwd # buildkit
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c sudo chmod -R 775 ${HOME} && sudo chgrp -R 0 ${HOME} && sudo chmod -R g=u ${HOME} # buildkit
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)COPY start-vnc.sh start-novnc.sh /opt/bin/ # buildkit
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)COPY selenium_grid_logo.png /usr/share/images/fluxbox/ubuntu-light.png # buildkit
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_SCREEN_WIDTH=1360
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_SCREEN_HEIGHT=1020
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_SCREEN_DEPTH=24
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_SCREEN_DPI=96
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_START_XVFB=true
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_START_VNC=true
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_START_NO_VNC=true
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_NO_VNC_PORT=7900
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_VNC_PORT=5900
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV DISPLAY=:99.0
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV DISPLAY_NUM=99
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV CONFIG_FILE=/opt/selenium/config.toml
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV GENERATE_CONFIG=true
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_DRAIN_AFTER_SESSION_COUNT=0
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_OFFLINE=true
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_NODE_MAX_SESSIONS=1
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_NODE_SESSION_TIMEOUT=300
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV SE_NODE_OVERRIDE_MAX_SESSIONS=false
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c sudo mkdir -p /tmp/.X11-unix && sudo chmod 1777 /tmp/.X11-unix # buildkit
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)COPY generate_config /opt/bin/generate_config # buildkit
2023-11-28 10:39:21 UTC (buildkit.dockerfile.v0)EXPOSE map[5900/tcp:{}]
2023-11-28 10:39:29 UTC (buildkit.dockerfile.v0)LABEL authors=
2023-11-28 10:39:29 UTC (buildkit.dockerfile.v0)USER root
2023-11-28 10:39:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update -qqy && apt-get -qqy --no-install-recommends install libatk1.0-0 libatk-bridge2.0-0 libxkbcommon-x11-0 libgbm1 libpango-1.0-0 && rm -rf /var/lib/apt/lists/* /var/cache/apt/* # buildkit
2023-11-28 10:39:29 UTC (buildkit.dockerfile.v0)ARG DOWNLOAD_HOST=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing
2023-11-28 10:39:29 UTC (buildkit.dockerfile.v0)ARG VERSION_HOST=https://googlechromelabs.github.io/chrome-for-testing
2023-11-28 10:39:29 UTC (buildkit.dockerfile.v0)ARG CHROME_VERSION=LATEST_RELEASE_STABLE
2023-11-28 10:39:29 UTC (buildkit.dockerfile.v0)ARG CHROME_PLATFORM=linux64
2023-11-28 10:39:35 UTC (buildkit.dockerfile.v0)RUN |4 DOWNLOAD_HOST=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing VERSION_HOST=https://googlechromelabs.github.io/chrome-for-testing CHROME_VERSION=LATEST_RELEASE_STABLE CHROME_PLATFORM=linux64 /bin/sh -c if [ ! -z "$CHROME_VERSION" ]; then GET_VERSION_URL=$VERSION_HOST/$CHROME_VERSION && if [ $(curl -I -s -o /dev/null -w "%{http_code}" $GET_VERSION_URL) -eq 200 ]; then echo "Getting Chrome version from "$GET_VERSION_URL && CHROME_VERSION=$(wget -qO- $VERSION_HOST"/"$CHROME_VERSION | sed 's/\r$//') ; fi else echo "Getting Chrome version "$CHROME_DRIVER_VERSION ; fi && CHROME_URL=$DOWNLOAD_HOST/$CHROME_VERSION/$CHROME_PLATFORM/chrome-$CHROME_PLATFORM.zip && if [ $(curl -I -s -o /dev/null -w "%{http_code}" $CHROME_URL) -ne 200 ]; then CHROME_MAJOR_VERSION=$(echo $CHROME_VERSION | sed -E "s/([0-9]+).*/\1/") && echo "Getting Chrome latest major version from "$VERSION_HOST"/LATEST_RELEASE_"$CHROME_MAJOR_VERSION && CHROME_VERSION=$(wget -qO- $VERSION_HOST/LATEST_RELEASE_${CHROME_MAJOR_VERSION} | sed 's/\r$//') && CHROME_URL=$DOWNLOAD_HOST/$CHROME_VERSION/$CHROME_PLATFORM/chrome-$CHROME_PLATFORM.zip ; fi && echo "Using Chrome from: "$CHROME_URL && wget --no-verbose -O /tmp/chrome-$CHROME_PLATFORM.zip $CHROME_URL && rm -rf /opt/google/chrome && unzip /tmp/chrome-$CHROME_PLATFORM.zip -d /opt/google && mv /opt/google/chrome-$CHROME_PLATFORM /opt/google/chrome && rm /tmp/chrome-$CHROME_PLATFORM.zip && mv /opt/google/chrome/chrome-wrapper /opt/google/chrome/google-chrome && chmod +x /opt/google/chrome/google-chrome && ln -fs /opt/google/chrome/google-chrome /usr/bin/google-chrome # buildkit
2023-11-28 10:39:35 UTC (buildkit.dockerfile.v0)COPY wrap_chrome_binary /opt/bin/wrap_chrome_binary # buildkit
2023-11-28 10:39:36 UTC (buildkit.dockerfile.v0)RUN |4 DOWNLOAD_HOST=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing VERSION_HOST=https://googlechromelabs.github.io/chrome-for-testing CHROME_VERSION=LATEST_RELEASE_STABLE CHROME_PLATFORM=linux64 /bin/sh -c /opt/bin/wrap_chrome_binary # buildkit
2023-11-28 10:39:36 UTC (buildkit.dockerfile.v0)ARG CHROME_DRIVER_VERSION=LATEST_RELEASE_STABLE
2023-11-28 10:39:36 UTC (buildkit.dockerfile.v0)RUN |5 DOWNLOAD_HOST=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing VERSION_HOST=https://googlechromelabs.github.io/chrome-for-testing CHROME_VERSION=LATEST_RELEASE_STABLE CHROME_PLATFORM=linux64 CHROME_DRIVER_VERSION=LATEST_RELEASE_STABLE /bin/sh -c if [ ! -z "$CHROME_DRIVER_VERSION" ]; then GET_VERSION_URL=$VERSION_HOST/$CHROME_DRIVER_VERSION && if [ $(curl -I -s -o /dev/null -w "%{http_code}" $GET_VERSION_URL) -eq 200 ]; then echo "Getting ChromeDriver version from "$GET_VERSION_URL && CHROME_DRIVER_VERSION=$(wget -qO- $VERSION_HOST"/"$CHROME_DRIVER_VERSION | sed 's/\r$//') ; fi else CHROME_DRIVER_VERSION=$(google-chrome --version | sed -E "s/.* ([0-9]+(\.[0-9]+)+).*/\1/") && echo "Getting ChromeDriver same as browser version "$CHROME_DRIVER_VERSION ; fi && CHROME_DRIVER_URL=$DOWNLOAD_HOST/$CHROME_DRIVER_VERSION/$CHROME_PLATFORM/chromedriver-$CHROME_PLATFORM.zip && if [ $(curl -I -s -o /dev/null -w "%{http_code}" $CHROME_DRIVER_URL) -ne 200 ]; then CHROME_MAJOR_VERSION=$(echo $CHROME_DRIVER_VERSION | sed -E "s/([0-9]+).*/\1/") && echo "Getting ChromeDriver latest major version from "$VERSION_HOST"/LATEST_RELEASE_"$CHROME_MAJOR_VERSION && CHROME_DRIVER_VERSION=$(wget -qO- $VERSION_HOST/LATEST_RELEASE_${CHROME_MAJOR_VERSION} | sed 's/\r$//') && CHROME_DRIVER_URL=$DOWNLOAD_HOST/$CHROME_DRIVER_VERSION/$CHROME_PLATFORM/chromedriver-$CHROME_PLATFORM.zip ; fi && echo "Using ChromeDriver from: "$CHROME_DRIVER_URL && echo "Using ChromeDriver version: "$CHROME_DRIVER_VERSION && wget --no-verbose -O /tmp/chromedriver_$CHROME_PLATFORM.zip $CHROME_DRIVER_URL && rm -rf /opt/selenium/chromedriver && unzip /tmp/chromedriver_$CHROME_PLATFORM.zip -d /opt/selenium && rm /tmp/chromedriver_$CHROME_PLATFORM.zip && mv /opt/selenium/chromedriver-$CHROME_PLATFORM/chromedriver /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION && chmod 755 /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION && ln -fs /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION /usr/bin/chromedriver # buildkit
2023-11-28 10:39:36 UTC (buildkit.dockerfile.v0)USER 1200
2023-11-28 10:39:37 UTC (buildkit.dockerfile.v0)RUN |5 DOWNLOAD_HOST=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing VERSION_HOST=https://googlechromelabs.github.io/chrome-for-testing CHROME_VERSION=LATEST_RELEASE_STABLE CHROME_PLATFORM=linux64 CHROME_DRIVER_VERSION=LATEST_RELEASE_STABLE /bin/sh -c echo "chrome" > /opt/selenium/browser_name # buildkit
2023-11-28 10:39:37 UTC (buildkit.dockerfile.v0)RUN |5 DOWNLOAD_HOST=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing VERSION_HOST=https://googlechromelabs.github.io/chrome-for-testing CHROME_VERSION=LATEST_RELEASE_STABLE CHROME_PLATFORM=linux64 CHROME_DRIVER_VERSION=LATEST_RELEASE_STABLE /bin/sh -c google-chrome --version | awk '{print $5}' > /opt/selenium/browser_version # buildkit
2023-11-28 10:39:37 UTC (buildkit.dockerfile.v0)RUN |5 DOWNLOAD_HOST=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing VERSION_HOST=https://googlechromelabs.github.io/chrome-for-testing CHROME_VERSION=LATEST_RELEASE_STABLE CHROME_PLATFORM=linux64 CHROME_DRIVER_VERSION=LATEST_RELEASE_STABLE /bin/sh -c echo "\"goog:chromeOptions\": {\"binary\": \"/usr/bin/google-chrome\"}" > /opt/selenium/browser_binary_location # buildkit
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.