2024-09-07 23:23:08 UTC
579 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_HEALTHCHECK_INTERVAL120
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_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-standalone
SE_OTEL_TRACES_EXPORTERotlp
SE_REJECT_UNSUPPORTED_CAPStrue
SE_RELAX_CHECKStrue
SE_SCREEN_DEPTH24
SE_SCREEN_DPI96
SE_SCREEN_HEIGHT1080
SE_SCREEN_WIDTH1920
SE_SERVER_PROTOCOLhttp
SE_SESSION_REQUEST_TIMEOUT300
SE_SESSION_RETRY_INTERVAL15
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:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356 - 4.89% (28.3 MB)
[#001] sha256:1e0930cbf1f759109446f4c19d5dab9981993a71fc2299f81e0121ac151e3d92 - 31.49% (182 MB)
[#002] sha256:cacd6d730d7b81a8c7a7957ccf71044a6c10a7c888fb1709a99901fc875cabfe - 0.0% (2.41 KB)
[#003] sha256:53bf8a9fc1a8eea7c4d33938baf3d886b4ef44539b0952067239c159a330c8cf - 0.0% (391 Bytes)
[#004] sha256:28d01732c4fade78d223384fd317de5ba6a56343b0f85e8a5bb68db09a063671 - 0.0% (833 Bytes)
[#005] sha256:62b0a8551aa302623d5ae6726c8a8637a5057bd58f4923452280e422e94e53af - 0.0% (1.95 KB)
[#006] sha256:78d32ca3b2dd076242412afe94f66c951d3331eb8fba17e39fcbd340178b66f8 - 0.0% (5.63 KB)
[#007] sha256:4cf7e0c57f0de2aabfa20fc7a80c6c680829e698ae8ba4e5d0e49788b66990c1 - 0.06% (350 KB)
[#008] sha256:5868ecb92a052ee3de3374a8194b794ce4b810df7e9d3dfc26c78f9a44a9db3a - 34.05% (197 MB)
[#009] sha256:7315bce3e276e1b8d9a76ef115529648bf1812e0b022bf3d434830a3a873109c - 0.0% (4.3 KB)
[#010] sha256:68b3ac64b5b78bdfdea34a991c5c8db726fc1193b21ace16bcb30116ed34de96 - 0.0% (18 KB)
[#011] sha256:44344460b79ed5e0a893f1e3e96ec3a33fda4c11b36368cd99c5cccd7edde08d - 0.0% (704 Bytes)
[#012] sha256:1c490e77331b8df17bc81d05c7989ecb6e2836b0fa159067a030f0fa61b38a35 - 28.04% (162 MB)
[#013] sha256:6791c15853e4bd8d21f367bec095c78bb8e5584da5f287f235d8f3ccc21e8212 - 0.0% (780 Bytes)
[#014] sha256:09ca55fdae99f7e371f85ea2d9e593a5a2c5caf406481e8d5de2db4e9e8f45c5 - 0.0% (1.51 KB)
[#015] sha256:2a2a78adde349395f50f6a7d15aad100dd52e21ae36b1c29fad79fad1e0aa0dd - 1.46% (8.47 MB)
[#016] sha256:f7f3584955276fc807d88820da830a71c31b2ccf34ba6b4042e26fe5df6e7097 - 0.0% (763 Bytes)
[#017] sha256:bda36215b3d3bde0e8642c73e797931379c6f47000c8960d3d62871d94159043 - 0.0% (573 Bytes)
[#018] sha256:e9a6adc1372c4a2d8c43578a819044f94cc2b90ffbf4d2742996a77709ba6df2 - 0.0% (177 Bytes)
[#019] sha256:a54acc1fbaf174fa155a52c17f50b4f7f981709703305f2087fd421735b11faf - 0.0% (187 Bytes)
[#020] sha256:02e6eccb905ff9d46f052df4195b0d46a1153196aefb432056fd27a133f496f5 - 0.0% (227 Bytes)
[#021] sha256:1d53f24be4f27cc8ae305a70c3b1148d0af61a6305e9d1ec99f991422644e48b - 0.0% (2.12 KB)
[#022] sha256:cc6420ca5b33f38ca8882e0a2c246cb47d8acce1ee6587c892f52ffb5ac336f7 - 0.0% (702 Bytes)
[#023] sha256:68b284e8f38eecbe59600b8d43232ffa346bf8c62f088b3bd3435771094d2f3b - 0.0% (869 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-08-01 14:23:53 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-08-01 14:23:53 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-08-01 14:23:53 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-08-01 14:23:55 UTC/bin/sh -c #(nop) ADD file:c2e78eb585ec4e503f14c4ea98f4962c998f5eb075749507953f85387742694b in /
2024-08-01 14:23:55 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)LABEL authors=Selenium <selenium-developers@googlegroups.com>
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG VERSION=4.24.0
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG RELEASE=selenium-4.24.0
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG OPENTELEMETRY_VERSION=1.40.0
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG GRPC_VERSION=1.65.1
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG NETTY_VERSION=4.1.111.Final
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG CS_VERSION=2.1.10
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG SEL_USER=seluser
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG SEL_GROUP=seluser
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG HOME=/home/seluser
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG UID=1200
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG GID=1201
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG TZ=UTC
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG JRE_VERSION=17
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG TARGETVARIANT=
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)USER root
2024-09-07 22:34:41 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-09-07 22:34:41 UTC (buildkit.dockerfile.v0)RUN |16 VERSION=4.24.0 RELEASE=selenium-4.24.0 AUTHORS=SeleniumHQ OPENTELEMETRY_VERSION=1.40.0 GRPC_VERSION=1.65.1 NETTY_VERSION=4.1.111.Final CS_VERSION=2.1.10 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 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-09-07 22:34:41 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-09-07 22:34:41 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 mask /usr/local/bin/ # buildkit
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)COPY supervisord.conf /etc # buildkit
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)ARG CERT_TRUST_ATTR=TCu,Cu,Tu
2024-09-07 22:34:41 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 certs/add-cert-helper.sh certs/add-jks-helper.sh /opt/bin/ # buildkit
2024-09-07 22:51:42 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-09-07 22:51:42 UTC (buildkit.dockerfile.v0)USER 1200:1201
2024-09-07 22:51:48 UTC (buildkit.dockerfile.v0)RUN |17 VERSION=4.24.0 RELEASE=selenium-4.24.0 AUTHORS=SeleniumHQ OPENTELEMETRY_VERSION=1.40.0 GRPC_VERSION=1.65.1 NETTY_VERSION=4.1.111.Final CS_VERSION=2.1.10 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-09-07 22:51:48 UTC (buildkit.dockerfile.v0)ENV SE_BIND_HOST=false SE_SERVER_PROTOCOL=http 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_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-09-07 22:51:48 UTC (buildkit.dockerfile.v0)CMD ["/opt/bin/entry_point.sh"]
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)ARG NOVNC_SOURCE=heads
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)ARG NOVNC_VERSION=master
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)ARG WEBSOCKIFY_SOURCE=heads
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)ARG WEBSOCKIFY_VERSION=master
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)ARG LANG_WHICH=en
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)ARG LANG_WHERE=US
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)ARG ENCODING=UTF-8
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)ARG LANGUAGE=en_US.UTF-8
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)USER root
2024-09-07 22:56:51 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-09-07 22:56:51 UTC (buildkit.dockerfile.v0)RUN |9 AUTHORS=SeleniumHQ NOVNC_SOURCE=heads NOVNC_VERSION=master WEBSOCKIFY_SOURCE=heads WEBSOCKIFY_VERSION=master 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 && 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} /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 && mv websockify-${WEBSOCKIFY_VERSION} /opt/bin/noVNC/utils/websockify && rm -rf /opt/bin/noVNC/utils/websockify/docker /opt/bin/noVNC/utils/websockify/tests && 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-09-07 22:56:51 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-09-07 22:56:51 UTC (buildkit.dockerfile.v0)COPY selenium_grid_logo.png /usr/share/images/fluxbox/ubuntu-light.png # buildkit
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)COPY selenium.conf /etc/supervisor/conf.d/ # buildkit
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)USER 1200
2024-09-07 22:56:51 UTC (buildkit.dockerfile.v0)EXPOSE map[5900/tcp:{}]
2024-09-07 23:07:41 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-09-07 23:07:41 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ
2024-09-07 23:07:41 UTC (buildkit.dockerfile.v0)USER root
2024-09-07 23:07:41 UTC (buildkit.dockerfile.v0)ARG CHROME_VERSION=google-chrome-stable
2024-09-07 23:07:41 UTC (buildkit.dockerfile.v0)RUN |2 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-stable /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-09-07 23:07:42 UTC (buildkit.dockerfile.v0)COPY wrap_chrome_binary /opt/bin/wrap_chrome_binary # buildkit
2024-09-07 23:07:42 UTC (buildkit.dockerfile.v0)RUN |2 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-stable /bin/sh -c /opt/bin/wrap_chrome_binary # buildkit
2024-09-07 23:07:42 UTC (buildkit.dockerfile.v0)ARG CHROME_DRIVER_VERSION
2024-09-07 23:07:42 UTC (buildkit.dockerfile.v0)RUN |3 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-stable 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-09-07 23:07:43 UTC (buildkit.dockerfile.v0)COPY chrome-cleanup.sh /opt/bin/chrome-cleanup.sh # buildkit
2024-09-07 23:07:43 UTC (buildkit.dockerfile.v0)COPY chrome-cleanup.conf /etc/supervisor/conf.d/chrome-cleanup.conf # buildkit
2024-09-07 23:07:43 UTC (buildkit.dockerfile.v0)USER 1200
2024-09-07 23:07:43 UTC (buildkit.dockerfile.v0)RUN |3 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-stable CHROME_DRIVER_VERSION= /bin/sh -c echo "chrome" > /opt/selenium/browser_name # buildkit
2024-09-07 23:07:43 UTC (buildkit.dockerfile.v0)RUN |3 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-stable CHROME_DRIVER_VERSION= /bin/sh -c google-chrome --version | awk '{print $3}' > /opt/selenium/browser_version # buildkit
2024-09-07 23:07:43 UTC (buildkit.dockerfile.v0)RUN |3 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-stable CHROME_DRIVER_VERSION= /bin/sh -c echo "\"goog:chromeOptions\": {\"binary\": \"/usr/bin/google-chrome\"}" > /opt/selenium/browser_binary_location # buildkit
2024-09-07 23:07:43 UTC (buildkit.dockerfile.v0)ENV SE_OTEL_SERVICE_NAME=selenium-node-chrome
2024-09-07 23:23:08 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-09-07 23:23:08 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ
2024-09-07 23:23:08 UTC (buildkit.dockerfile.v0)USER 1200
2024-09-07 23:23:08 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 start-selenium-standalone.sh /opt/bin/start-selenium-standalone.sh # buildkit
2024-09-07 23:23:08 UTC (buildkit.dockerfile.v0)COPY selenium.conf /etc/supervisor/conf.d/ # buildkit
2024-09-07 23:23:08 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 generate_config /opt/bin/generate_config # buildkit
2024-09-07 23:23:08 UTC (buildkit.dockerfile.v0)ENV SE_SESSION_REQUEST_TIMEOUT=300 SE_SESSION_RETRY_INTERVAL=15 SE_HEALTHCHECK_INTERVAL=120 SE_RELAX_CHECKS=true SE_REJECT_UNSUPPORTED_CAPS=true SE_OTEL_SERVICE_NAME=selenium-standalone
2024-09-07 23:23:08 UTC (buildkit.dockerfile.v0)EXPOSE map[4444/tcp:{}]
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.