2024-12-01 02:38:11 UTC
602 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
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SEL_DOWNLOAD_DIR/home/seluser/Downloads
SEL_GID1201
SEL_UID1200
SEL_USERseluser
SE_BIND_HOSTfalse
SE_BROWSER_LEFTOVERS_INTERVAL_SECS3600
SE_BROWSER_LEFTOVERS_PROCESSES_SECS7200
SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS1
SE_DRAIN_AFTER_SESSION_COUNT0
SE_ENABLE_BROWSER_LEFTOVERS_CLEANUPfalse
SE_ENABLE_TLSfalse
SE_ENABLE_TRACINGtrue
SE_HTTPS_CERTIFICATE/opt/selenium/secrets/tls.crt
SE_HTTPS_PRIVATE_KEY/opt/selenium/secrets/tls.key
SE_HTTP_LOGSfalse
SE_JAVA_DISABLE_HOSTNAME_VERIFICATIONtrue
SE_JAVA_SSL_TRUST_STORE/opt/selenium/secrets/server.jks
SE_JAVA_SSL_TRUST_STORE_PASSWORD/opt/selenium/secrets/server.pass
SE_LOG_LEVELINFO
SE_LOG_TIMESTAMP_FORMAT%Y-%m-%d %H:%M:%S,%3N
SE_NODE_HEARTBEAT_PERIOD30
SE_NODE_MAX_SESSIONS1
SE_NODE_OVERRIDE_MAX_SESSIONSfalse
SE_NODE_SESSION_TIMEOUT300
SE_NO_VNC_PORT7900
SE_OFFLINEtrue
SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLEDtrue
SE_OTEL_SERVICE_NAMEselenium-node-chrome
SE_OTEL_TRACES_EXPORTERotlp
SE_REJECT_UNSUPPORTED_CAPSfalse
SE_SCREEN_DEPTH24
SE_SCREEN_DPI96
SE_SCREEN_HEIGHT1080
SE_SCREEN_WIDTH1920
SE_SERVER_PROTOCOLhttp
SE_START_NO_VNCtrue
SE_START_VNCtrue
SE_START_XVFBtrue
SE_STRUCTURED_LOGSfalse
SE_SUPERVISORD_CHILD_LOG_DIR/tmp
SE_SUPERVISORD_LOG_FILE/tmp/supervisord.log
SE_SUPERVISORD_LOG_LEVELinfo
SE_SUPERVISORD_PID_FILE/tmp/supervisord.pid
SE_VNC_PORT5900
TZUTC
[#000] sha256:afad30e59d72d5c8df4023014c983e457f21818971775c4224163595ec20b69f - 4.71% (28.4 MB)
[#001] sha256:8867f48bac208fae53af2f241dcb9a4d17085f55dbb4d4095eab40eace71c1ed - 30.0% (181 MB)
[#002] sha256:f886c9f30ecb21f56f1ef7fff30a58a1538eca7bbbe3da30de5589687f419628 - 0.0% (2.64 KB)
[#003] sha256:368db19e02ca7fe8373e5f118963e2a4d9db0782d88d1e4ffce9736a23995c3b - 0.0% (389 Bytes)
[#004] sha256:5e705dbc2e701ead4f813ab9b25f26b60569ed6f5206091d82725da54c4ed748 - 0.0% (836 Bytes)
[#005] sha256:a44efd00a2d160eab61cc7e5ef5af83a1aeb108fc78811e6313c06e185f74786 - 0.0% (1.94 KB)
[#006] sha256:7854a018494cb93a64559be47b26dd244d5d5b1313ae7ab56010e7c1c76f2b20 - 0.0% (5.63 KB)
[#007] sha256:b2fab7381b99c6f7a2e38b33d30f6977cb5303b1411750e11290c1bb83b7468d - 0.06% (352 KB)
[#008] sha256:01c715d3962200458c0b5fd633e267885b6f02df7b41ae60a6e2bbc7aee0f82f - 36.63% (221 MB)
[#009] sha256:669bef4f63a88dff4371f327d8c0baedb6c67dc5ed74dd077d3017076f66d212 - 0.0% (4.31 KB)
[#010] sha256:2480dabb93e2996d7e612c37cd406c6be318614a98183238fcaa88723d86b25c - 0.0% (18 KB)
[#011] sha256:483071ef95c96741e6e75332ef3a396e06364d8a0437dc33d5f5ac0ab6f892b4 - 0.0% (704 Bytes)
[#012] sha256:cdc2977d68c6f3b335c0798be4753a7abcf453443acd0a1bb78508fa432b2124 - 27.2% (164 MB)
[#013] sha256:4994819b627a4ec03422cbdcffd61a4fdea9a706d0e96130d4de6d5acbe9e6c6 - 0.0% (778 Bytes)
[#014] sha256:0a10446ed4eb132a477682c09f7d51e8b08c7a7d698f53bbda36ca9e80acc4ed - 0.0% (1.52 KB)
[#015] sha256:db8ac8055047aa05f46394c4afd7820c696e8b8331a8d1b07fde34057ffea408 - 1.39% (8.4 MB)
[#016] sha256:d6c3d24027e9a6c49f7b291421b1f1884b97d79c8b2a829022d855fc1b6220f1 - 0.0% (763 Bytes)
[#017] sha256:826329ae3188e04a42d74638bfacd22e51a11f42e81d8112456028b0593aa101 - 0.0% (575 Bytes)
[#018] sha256:ad3a32d10fb7bec3c94f715212b3b216eaf274c4f99928955fa578b343e1528c - 0.0% (177 Bytes)
[#019] sha256:8a7c8033e9db42efd7605d578eb14e51f312f866368a8ee28b4dfa3b6214b296 - 0.0% (183 Bytes)
[#020] sha256:fd3e570be225afc87d6307e1c15f3a14e6c3aa27d439653e7506afd3772f0fdb - 0.0% (228 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-10-16 09:25:54 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-10-16 09:25:54 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-10-16 09:25:55 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-10-16 09:25:57 UTC/bin/sh -c #(nop) ADD file:a3272496fda5a8d021b94dccaa6baa685ded51e9d23edb05f0b30978a83c9fc2 in /
2024-10-16 09:25:57 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ <[email protected]>
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/SeleniumHQ/docker-selenium
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG VERSION=4.27.0
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG RELEASE=selenium-4.27.0
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG OPENTELEMETRY_VERSION=1.44.1
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG GRPC_VERSION=1.68.1
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG NETTY_VERSION=4.1.115.Final
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG CS_VERSION=2.1.18
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG SEL_USER=seluser
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG SEL_GROUP=seluser
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG HOME=/home/seluser
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG UID=1200
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG GID=1201
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG TZ=UTC
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG JRE_VERSION=17
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG TARGETVARIANT=
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)USER root
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true SEL_USER=seluser SEL_UID=1200 SEL_GID=1201 HOME=/home/seluser TZ=UTC SEL_DOWNLOAD_DIR=/home/seluser/Downloads
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)RUN |16 AUTHORS=SeleniumHQ VERSION=4.27.0 RELEASE=selenium-4.27.0 OPENTELEMETRY_VERSION=1.44.1 GRPC_VERSION=1.68.1 NETTY_VERSION=4.1.115.Final CS_VERSION=2.1.18 SEL_USER=seluser SEL_GROUP=seluser HOME=/home/seluser UID=1200 GID=1201 TZ=UTC JRE_VERSION=17 TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c if [ "$(dpkg --print-architecture)" = "amd64" ]; then echo "deb http://archive.ubuntu.com/ubuntu noble main universe\n" > /etc/apt/sources.list && echo "deb http://archive.ubuntu.com/ubuntu noble-updates main universe\n" >> /etc/apt/sources.list && echo "deb http://security.ubuntu.com/ubuntu noble-security main universe\n" >> /etc/apt/sources.list ; fi && apt-get -qqy update && apt-get upgrade -yq && apt-get -qqy --no-install-recommends install acl bzip2 ca-certificates tzdata sudo unzip wget jq curl supervisor gnupg2 libnss3-tools python3-pip openjdk-${JRE_VERSION}-jre-headless && if [ "${TARGETARCH}" = "arm" ] && [ "${TARGETVARIANT}" = "v7" ]; then export ARCH=armhf ; else export ARCH=$(dpkg --print-architecture) ; fi && sed -i 's/securerandom\.source=file:\/dev\/random/securerandom\.source=file:\/dev\/urandom/' /usr/lib/jvm/java-${JRE_VERSION}-openjdk-${ARCH}/conf/security/java.security && rm -rf /var/lib/apt/lists/* /var/cache/apt/* && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime && dpkg-reconfigure -f noninteractive tzdata && cat /etc/timezone && groupadd ${SEL_GROUP} --gid ${SEL_GID} && useradd ${SEL_USER} --create-home --gid ${SEL_GID} --shell /bin/bash --uid ${SEL_UID} && usermod -a -G sudo ${SEL_USER} && echo 'ALL ALL = (ALL) NOPASSWD: ALL' >> /etc/sudoers && echo "${SEL_USER}:$(cat /run/secrets/SEL_PASSWD)" | chpasswd && mkdir -p /opt/selenium /opt/selenium/assets /opt/selenium/secrets /var/run/supervisor /var/log/supervisor ${SEL_DOWNLOAD_DIR} ${HOME}/.mozilla ${HOME}/.vnc ${HOME}/.pki/nssdb && certutil -d sql:${HOME}/.pki/nssdb -N --empty-password && touch /opt/selenium/config.toml && chown -R ${SEL_USER}:${SEL_GROUP} /opt/selenium /var/run/supervisor /var/log/supervisor /etc/passwd ${HOME} && chmod -R 775 /opt/selenium /var/run/supervisor /var/log/supervisor /etc/passwd ${HOME} && wget --no-verbose https://github.com/${AUTHORS}/selenium/releases/download/${RELEASE}/selenium-server-${VERSION}.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:${SEL_USER}:rwx /opt /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor && setfacl -Rm g:${SEL_GROUP}:rwx /opt /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor && if [ `arch` = "aarch64" ] || [ `arch` = "x86_64" ]; then curl -fL https://github.com/coursier/coursier/releases/download/v${CS_VERSION}/coursier.jar > /tmp/cs && chmod +x /tmp/cs && mkdir -p /external_jars && chmod -R 775 /external_jars ; fi && if [ -f "/tmp/cs" ]; then java -jar /tmp/cs fetch --classpath --cache /external_jars io.opentelemetry:opentelemetry-exporter-otlp:${OPENTELEMETRY_VERSION} io.grpc:grpc-netty:${GRPC_VERSION} io.netty:netty-codec-http:${NETTY_VERSION} > /external_jars/.classpath.txt && chmod 664 /external_jars/.classpath.txt ; fi && rm -fr /root/.cache/* && echo 'if [[ $(ulimit -n) -gt 200000 ]]; then echo "WARNING: Very high value reported by \"ulimit -n\". Consider passing \"--ulimit nofile=32768\" to \"docker run\"."; fi' >> ${HOME}/.bashrc # buildkit
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 check-grid.sh entry_point.sh configs/node/nodeGridUrl.sh configs/node/nodePreStop.sh /opt/bin/ # buildkit
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 mask /usr/local/bin/ # buildkit
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)COPY supervisord.conf /etc # buildkit
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)ARG CERT_TRUST_ATTR=TCu,Cu,Tu
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 certs/add-cert-helper.sh certs/add-jks-helper.sh /opt/bin/ # buildkit
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 certs/tls.crt certs/tls.key certs/server.jks certs/server.pass /opt/selenium/secrets/ # buildkit
2024-11-27 05:33:12 UTC (buildkit.dockerfile.v0)USER 1200:1201
2024-11-27 05:33:16 UTC (buildkit.dockerfile.v0)RUN |17 AUTHORS=SeleniumHQ VERSION=4.27.0 RELEASE=selenium-4.27.0 OPENTELEMETRY_VERSION=1.44.1 GRPC_VERSION=1.68.1 NETTY_VERSION=4.1.115.Final CS_VERSION=2.1.18 SEL_USER=seluser SEL_GROUP=seluser HOME=/home/seluser UID=1200 GID=1201 TZ=UTC JRE_VERSION=17 TARGETARCH=amd64 TARGETVARIANT= CERT_TRUST_ATTR=TCu,Cu,Tu /bin/sh -c /opt/bin/add-jks-helper.sh -d /opt/selenium/secrets && /opt/bin/add-cert-helper.sh -d /opt/selenium/secrets ${CERT_TRUST_ATTR} # buildkit
2024-11-27 05:33:16 UTC (buildkit.dockerfile.v0)ENV SE_BIND_HOST=false SE_SERVER_PROTOCOL=http CONFIG_FILE=/opt/selenium/config.toml SE_REJECT_UNSUPPORTED_CAPS=false SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED=true SE_OTEL_TRACES_EXPORTER=otlp SE_SUPERVISORD_LOG_LEVEL=info SE_SUPERVISORD_CHILD_LOG_DIR=/tmp SE_SUPERVISORD_LOG_FILE=/tmp/supervisord.log SE_SUPERVISORD_PID_FILE=/tmp/supervisord.pid SE_LOG_TIMESTAMP_FORMAT=%Y-%m-%d %H:%M:%S,%3N SE_LOG_LEVEL=INFO SE_HTTP_LOGS=false SE_STRUCTURED_LOGS=false SE_ENABLE_TRACING=true SE_ENABLE_TLS=false SE_JAVA_SSL_TRUST_STORE=/opt/selenium/secrets/server.jks SE_JAVA_SSL_TRUST_STORE_PASSWORD=/opt/selenium/secrets/server.pass SE_JAVA_DISABLE_HOSTNAME_VERIFICATION=true SE_HTTPS_CERTIFICATE=/opt/selenium/secrets/tls.crt SE_HTTPS_PRIVATE_KEY=/opt/selenium/secrets/tls.key
2024-11-27 05:33:16 UTC (buildkit.dockerfile.v0)CMD ["/opt/bin/entry_point.sh"]
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)ARG NOVNC_SOURCE=tags
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)ARG NOVNC_VERSION=v1.5.0
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)ARG WEBSOCKIFY_SOURCE=tags
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)ARG WEBSOCKIFY_VERSION=v0.12.0
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)ARG LANG_WHICH=en
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)ARG LANG_WHERE=US
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)ARG ENCODING=UTF-8
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)ARG LANGUAGE=en_US.UTF-8
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)USER root
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)ENV LANG_WHICH=en LANG_WHERE=US ENCODING=UTF-8 LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP=false SE_BROWSER_LEFTOVERS_INTERVAL_SECS=3600 SE_BROWSER_LEFTOVERS_PROCESSES_SECS=7200 SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS=1 SE_DRAIN_AFTER_SESSION_COUNT=0 SE_NODE_MAX_SESSIONS=1 SE_NODE_SESSION_TIMEOUT=300 SE_NODE_OVERRIDE_MAX_SESSIONS=false SE_NODE_HEARTBEAT_PERIOD=30 SE_OTEL_SERVICE_NAME=selenium-node SE_OFFLINE=true SE_SCREEN_WIDTH=1920 SE_SCREEN_HEIGHT=1080 SE_SCREEN_DEPTH=24 SE_SCREEN_DPI=96 SE_START_XVFB=true SE_START_VNC=true SE_START_NO_VNC=true SE_NO_VNC_PORT=7900 SE_VNC_PORT=5900 DISPLAY=:99.0 DISPLAY_NUM=99 CONFIG_FILE=/opt/selenium/config.toml GENERATE_CONFIG=true DBUS_SESSION_BUS_ADDRESS=/dev/null
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)RUN |9 AUTHORS=SeleniumHQ NOVNC_SOURCE=tags NOVNC_VERSION=v1.5.0 WEBSOCKIFY_SOURCE=tags WEBSOCKIFY_VERSION=v0.12.0 LANG_WHICH=en LANG_WHERE=US ENCODING=UTF-8 LANGUAGE=en_US.UTF-8 /bin/sh -c apt-get update -qqy && apt-get -qqy --no-install-recommends install xvfb libxcb1 xauth pulseaudio x11vnc x11-utils fluxbox eterm hsetroot feh language-pack-en locales libfontconfig libfreetype6 xfonts-scalable xfonts-cyrillic fonts-ubuntu fonts-liberation fonts-ipafont-gothic fonts-wqy-zenhei fonts-tlwg-loma-otf fonts-noto-color-emoji && locale-gen ${LANGUAGE} && dpkg-reconfigure --frontend noninteractive locales && apt-get -qyy autoremove && rm -rf /var/lib/apt/lists/* && apt-get -qyy clean && pip install --no-cache-dir --upgrade --break-system-packages setuptools && wget -nv -O noVNC.zip "https://github.com/novnc/noVNC/archive/refs/${NOVNC_SOURCE}/${NOVNC_VERSION}.zip" && unzip -x noVNC.zip && mv noVNC-${NOVNC_VERSION#v} /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/${WEBSOCKIFY_SOURCE}/${WEBSOCKIFY_VERSION}.zip" && unzip -x websockify.zip && rm websockify.zip && cd websockify-${WEBSOCKIFY_VERSION#v} && python3 setup.py install && mv websockify /opt/bin/noVNC/utils/websockify && mv run /opt/bin/noVNC/utils/websockify && chmod +x /opt/bin/noVNC/utils/websockify/run && cd .. && rm -rf websockify-${WEBSOCKIFY_VERSION#v} && chmod +x /dev/shm && mkdir -p /tmp/.X11-unix && x11vnc -storepasswd $(cat /run/secrets/SEL_PASSWD) ${HOME}/.vnc/passwd && chown -R "${SEL_USER}:${SEL_GROUP}" ${HOME}/.vnc && chmod -R 775 ${HOME} /tmp/.X11-unix && chgrp -R 0 ${HOME} /tmp/.X11-unix && chmod -R g=u ${HOME} /tmp/.X11-unix # buildkit
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 start-selenium-node.sh start-xvfb.sh start-vnc.sh start-novnc.sh generate_config generate_relay_config /opt/bin/ # buildkit
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)COPY selenium_grid_logo.png /usr/share/images/fluxbox/ubuntu-light.png # buildkit
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)COPY selenium.conf /etc/supervisor/conf.d/ # buildkit
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)USER 1200
2024-11-27 05:46:00 UTC (buildkit.dockerfile.v0)EXPOSE map[5900/tcp:{}]
2024-12-01 02:38:09 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-12-01 02:38:09 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ
2024-12-01 02:38:09 UTC (buildkit.dockerfile.v0)USER root
2024-12-01 02:38:09 UTC (buildkit.dockerfile.v0)ARG CHROME_VERSION=google-chrome-beta
2024-12-01 02:38:09 UTC (buildkit.dockerfile.v0)RUN |2 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-beta /bin/sh -c wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor | tee /etc/apt/trusted.gpg.d/google.gpg >/dev/null && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list && apt-get update -qqy && if echo "${CHROME_VERSION}" | grep -qE "google-chrome-stable[_|=][0-9]*"; then CHROME_VERSION=$(echo "$CHROME_VERSION" | tr '=' '_') && wget -qO google-chrome.deb "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/${CHROME_VERSION}_$(dpkg --print-architecture).deb" && apt-get -qqy --no-install-recommends install --allow-downgrades ./google-chrome.deb && rm -rf google-chrome.deb ; else apt-get -qqy --no-install-recommends install ${CHROME_VERSION} ; fi && rm /etc/apt/sources.list.d/google-chrome.list && rm -rf /var/lib/apt/lists/* /var/cache/apt/* # buildkit
2024-12-01 02:38:09 UTC (buildkit.dockerfile.v0)COPY wrap_chrome_binary /opt/bin/wrap_chrome_binary # buildkit
2024-12-01 02:38:09 UTC (buildkit.dockerfile.v0)RUN |2 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-beta /bin/sh -c /opt/bin/wrap_chrome_binary # buildkit
2024-12-01 02:38:09 UTC (buildkit.dockerfile.v0)ARG CHROME_DRIVER_VERSION
2024-12-01 02:38:10 UTC (buildkit.dockerfile.v0)RUN |3 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-beta CHROME_DRIVER_VERSION= /bin/sh -c DRIVER_ARCH=$(if [ "$(dpkg --print-architecture)" = "amd64" ]; then echo "linux64"; else echo "linux-aarch64"; fi) && if [ ! -z "$CHROME_DRIVER_VERSION" ]; then CHROME_DRIVER_URL=https://storage.googleapis.com/chrome-for-testing-public/$CHROME_DRIVER_VERSION/${DRIVER_ARCH}/chromedriver-${DRIVER_ARCH}.zip ; else CHROME_MAJOR_VERSION=$(google-chrome --version | sed -E "s/.* ([0-9]+)(\.[0-9]+){3}.*/\1/") && echo "Geting ChromeDriver latest version from https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_${CHROME_MAJOR_VERSION}" && CHROME_DRIVER_VERSION=$(wget -qO- https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_${CHROME_MAJOR_VERSION} | sed 's/\r$//') && CHROME_DRIVER_URL=https://storage.googleapis.com/chrome-for-testing-public/$CHROME_DRIVER_VERSION/${DRIVER_ARCH}/chromedriver-${DRIVER_ARCH}.zip ; fi && echo "Using ChromeDriver from: "$CHROME_DRIVER_URL && echo "Using ChromeDriver version: "$CHROME_DRIVER_VERSION && wget --no-verbose -O /tmp/chromedriver_${DRIVER_ARCH}.zip $CHROME_DRIVER_URL && rm -rf /opt/selenium/chromedriver && unzip /tmp/chromedriver_${DRIVER_ARCH}.zip -d /opt/selenium && rm /tmp/chromedriver_${DRIVER_ARCH}.zip && mv /opt/selenium/chromedriver-${DRIVER_ARCH}/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
2024-12-01 02:38:10 UTC (buildkit.dockerfile.v0)COPY chrome-cleanup.sh /opt/bin/chrome-cleanup.sh # buildkit
2024-12-01 02:38:10 UTC (buildkit.dockerfile.v0)COPY chrome-cleanup.conf /etc/supervisor/conf.d/chrome-cleanup.conf # buildkit
2024-12-01 02:38:10 UTC (buildkit.dockerfile.v0)USER 1200
2024-12-01 02:38:10 UTC (buildkit.dockerfile.v0)RUN |3 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-beta CHROME_DRIVER_VERSION= /bin/sh -c echo "chrome" > /opt/selenium/browser_name # buildkit
2024-12-01 02:38:10 UTC (buildkit.dockerfile.v0)RUN |3 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-beta CHROME_DRIVER_VERSION= /bin/sh -c google-chrome --version | awk '{print $3}' > /opt/selenium/browser_version # buildkit
2024-12-01 02:38:11 UTC (buildkit.dockerfile.v0)RUN |3 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-beta CHROME_DRIVER_VERSION= /bin/sh -c echo "\"goog:chromeOptions\": {\"binary\": \"/usr/bin/google-chrome\"}" > /opt/selenium/browser_binary_location # buildkit
2024-12-01 02:38:11 UTC (buildkit.dockerfile.v0)ENV SE_OTEL_SERVICE_NAME=selenium-node-chrome
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.