2024-11-01 17:41:40 UTC
600 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_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-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:ff65ddf9395be21bfe1f320b7705e539ee44c1053034f801b1a3cbbf2d0f4056 - 4.73% (28.4 MB)
[#001] sha256:9b523d6cea30719e1f6485ccf1bc84d0ff5f08648bba233f5c3c83548bcabc69 - 29.86% (179 MB)
[#002] sha256:d032042f652ac6f9577304ce6bdcd33da13ffe629a58dd3ea4c75438ab69da9f - 0.0% (2.64 KB)
[#003] sha256:dc4ed9213aa851a461bd0e4d1445b9d5688213906aa66b404a0f19ba3a851a6a - 0.0% (391 Bytes)
[#004] sha256:6d5373726d7785d6ae4883c334871b54898db43f0bb7bbd6e35780e9e5cfc30c - 0.0% (836 Bytes)
[#005] sha256:f92dfe9b6ae5a31f83dbd19c0f8dcb05efc2e9080bfa963fdf0b548480f47ccf - 0.0% (1.95 KB)
[#006] sha256:46157f5fb5a705a154a0ba9719227a177ba9b8c07f13e2b80d32107fa0a57d4e - 0.0% (5.63 KB)
[#007] sha256:52ab0de3cc75a04e84ad7d6bbe4cc7057fef9854c03f39d406685275858e1619 - 0.06% (352 KB)
[#008] sha256:c8c4dbcd9a09c957b1ebe41cb8e6da0136283a901ec4bdd5e58901ddefb16477 - 36.78% (221 MB)
[#009] sha256:a18ba4b5e658640f60a24af812982cd0e686e29150202a86c8c0d6ff7d77db1e - 0.0% (4.31 KB)
[#010] sha256:1eb3fa2abe153c2817e732dc9b3dca0b84c18717f961be36b9c498f71a99c053 - 0.0% (18 KB)
[#011] sha256:afd3a078af6a160fad62b64198a1fee5c3e32b496175899cec4ef0a080735049 - 0.0% (703 Bytes)
[#012] sha256:985d6fccc4b8154cb0385518ce59a8b3f5be6b8c4b941c3f0ce3ec45fff6c9b1 - 27.19% (163 MB)
[#013] sha256:498e041fb5f50d6513fa0952803d64b84bfef01614f35d237e903d44e545a48a - 0.0% (780 Bytes)
[#014] sha256:774b699eeea804a5c7f49fc73d70e425689539395d04d18e0eb4d6a6800675a1 - 0.0% (1.51 KB)
[#015] sha256:21d3a65c0d5c766a5b4a9a6201c864e3ebc10f819fd3b6f60bba83007b0365bb - 1.37% (8.21 MB)
[#016] sha256:222e2e44d03f448d05b6d798be35baf838f3e0003d4fe6ba0140981d88597e11 - 0.0% (763 Bytes)
[#017] sha256:b200902a04c3f4ce927f38cb7d95d46ee7e6019f09ce16e85c9d537d0aad3d34 - 0.0% (573 Bytes)
[#018] sha256:9a2fafc599c68aa97f24d38065cf5c15bd9a1f14c82a5bb3806fa880b4a28ff5 - 0.0% (176 Bytes)
[#019] sha256:11534e9af3c59b144080d64dd4721e210b896ffd5bfa07ac6f7a00284168704d - 0.0% (184 Bytes)
[#020] sha256:5605b5b53859b00f17c93de4eb2aae96254e49d88ae0f0009f0c109e96b1282b - 0.0% (227 Bytes)
[#021] sha256:ae6d9c4263d00c57c543f6bd5288a2d07386e0765684db4bd2ea1a71a13eec0a - 0.0% (2.12 KB)
[#022] sha256:b3594d7a15e74455d9f7fe84a48c77d5900693b6f7de751eb487f8aa03d30a5e - 0.0% (699 Bytes)
[#023] sha256:ea718fd1cbb94b32f56347d171d16c8fa2420902c0e66985009327c7328b1b43 - 0.0% (868 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-10-11 03:48:01 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-10-11 03:48:01 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-10-11 03:48:01 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-10-11 03:48:03 UTC/bin/sh -c #(nop) ADD file:34dc4f3ab7a694ecde47ff7a610be18591834c45f1d7251813267798412604e5 in /
2024-10-11 03:48:04 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ <selenium-developers@googlegroups.com>
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/SeleniumHQ/docker-selenium
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG VERSION=4.26.0
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG RELEASE=selenium-4.26.0
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG OPENTELEMETRY_VERSION=1.43.0
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG GRPC_VERSION=1.68.0
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG NETTY_VERSION=4.1.114.Final
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG CS_VERSION=2.1.13
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG SEL_USER=seluser
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG SEL_GROUP=seluser
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG HOME=/home/seluser
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG UID=1200
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG GID=1201
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG TZ=UTC
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG JRE_VERSION=17
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG TARGETVARIANT=
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)USER root
2024-11-01 16:43:15 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-01 16:43:15 UTC (buildkit.dockerfile.v0)RUN |16 AUTHORS=SeleniumHQ VERSION=4.26.0 RELEASE=selenium-4.26.0 OPENTELEMETRY_VERSION=1.43.0 GRPC_VERSION=1.68.0 NETTY_VERSION=4.1.114.Final CS_VERSION=2.1.13 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-01 16:43:15 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-01 16:43:15 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 mask /usr/local/bin/ # buildkit
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)COPY supervisord.conf /etc # buildkit
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)ARG CERT_TRUST_ATTR=TCu,Cu,Tu
2024-11-01 16:43:15 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 certs/add-cert-helper.sh certs/add-jks-helper.sh /opt/bin/ # buildkit
2024-11-01 17:03:14 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-01 17:03:14 UTC (buildkit.dockerfile.v0)USER 1200:1201
2024-11-01 17:03:19 UTC (buildkit.dockerfile.v0)RUN |17 AUTHORS=SeleniumHQ VERSION=4.26.0 RELEASE=selenium-4.26.0 OPENTELEMETRY_VERSION=1.43.0 GRPC_VERSION=1.68.0 NETTY_VERSION=4.1.114.Final CS_VERSION=2.1.13 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-01 17:03:19 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-01 17:03:19 UTC (buildkit.dockerfile.v0)CMD ["/opt/bin/entry_point.sh"]
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)ARG NOVNC_SOURCE=heads
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)ARG NOVNC_VERSION=master
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)ARG WEBSOCKIFY_SOURCE=heads
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)ARG WEBSOCKIFY_VERSION=master
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)ARG LANG_WHICH=en
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)ARG LANG_WHERE=US
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)ARG ENCODING=UTF-8
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)ARG LANGUAGE=en_US.UTF-8
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)USER root
2024-11-01 17:08:25 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-01 17:08:25 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 && 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} /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} && 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} && 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-01 17:08:25 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-01 17:08:25 UTC (buildkit.dockerfile.v0)COPY selenium_grid_logo.png /usr/share/images/fluxbox/ubuntu-light.png # buildkit
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)COPY selenium.conf /etc/supervisor/conf.d/ # buildkit
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)USER 1200
2024-11-01 17:08:25 UTC (buildkit.dockerfile.v0)EXPOSE map[5900/tcp:{}]
2024-11-01 17:24:55 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-11-01 17:24:55 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ
2024-11-01 17:24:55 UTC (buildkit.dockerfile.v0)USER root
2024-11-01 17:24:55 UTC (buildkit.dockerfile.v0)ARG CHROME_VERSION=google-chrome-stable
2024-11-01 17:24:55 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-11-01 17:24:55 UTC (buildkit.dockerfile.v0)COPY wrap_chrome_binary /opt/bin/wrap_chrome_binary # buildkit
2024-11-01 17:24:55 UTC (buildkit.dockerfile.v0)RUN |2 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-stable /bin/sh -c /opt/bin/wrap_chrome_binary # buildkit
2024-11-01 17:24:55 UTC (buildkit.dockerfile.v0)ARG CHROME_DRIVER_VERSION
2024-11-01 17:24:55 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-11-01 17:24:55 UTC (buildkit.dockerfile.v0)COPY chrome-cleanup.sh /opt/bin/chrome-cleanup.sh # buildkit
2024-11-01 17:24:55 UTC (buildkit.dockerfile.v0)COPY chrome-cleanup.conf /etc/supervisor/conf.d/chrome-cleanup.conf # buildkit
2024-11-01 17:24:55 UTC (buildkit.dockerfile.v0)USER 1200
2024-11-01 17:24:56 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-11-01 17:24:56 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-11-01 17:24:56 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-11-01 17:24:56 UTC (buildkit.dockerfile.v0)ENV SE_OTEL_SERVICE_NAME=selenium-node-chrome
2024-11-01 17:41:40 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-11-01 17:41:40 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ
2024-11-01 17:41:40 UTC (buildkit.dockerfile.v0)USER 1200
2024-11-01 17:41:40 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 start-selenium-standalone.sh /opt/bin/start-selenium-standalone.sh # buildkit
2024-11-01 17:41:40 UTC (buildkit.dockerfile.v0)COPY selenium.conf /etc/supervisor/conf.d/ # buildkit
2024-11-01 17:41:40 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 generate_config /opt/bin/generate_config # buildkit
2024-11-01 17:41:40 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-11-01 17:41:40 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.