Namespace
selenium
Image / Tag
hub:4.24
Content Digest
sha256:78fa0c190d39527e95495adc97e7968045cbbf5b69640e41c095eba3cf71c345
Details
Created

2024-09-07 22:54:58 UTC

Size

211 MB

Content Digest
Labels
  • authors
    SeleniumHQ
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    24.04

Environment
DEBCONF_NONINTERACTIVE_SEEN

true

DEBIAN_FRONTEND

noninteractive

HOME

/home/seluser

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

SEL_DOWNLOAD_DIR

/home/seluser/Downloads

SEL_GID

1201

SEL_UID

1200

SEL_USER

seluser

SE_BIND_HOST

false

SE_ENABLE_TLS

false

SE_ENABLE_TRACING

true

SE_HEALTHCHECK_INTERVAL

120

SE_HTTPS_CERTIFICATE

/opt/selenium/secrets/tls.crt

SE_HTTPS_PRIVATE_KEY

/opt/selenium/secrets/tls.key

SE_HTTP_LOGS

false

SE_JAVA_DISABLE_HOSTNAME_VERIFICATION

true

SE_JAVA_SSL_TRUST_STORE

/opt/selenium/secrets/server.jks

SE_JAVA_SSL_TRUST_STORE_PASSWORD

/opt/selenium/secrets/server.pass

SE_LOG_LEVEL

INFO

SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED

true

SE_OTEL_SERVICE_NAME

selenium-hub

SE_OTEL_TRACES_EXPORTER

otlp

SE_REJECT_UNSUPPORTED_CAPS

false

SE_RELAX_CHECKS

true

SE_SERVER_PROTOCOL

http

SE_SESSION_REQUEST_TIMEOUT

300

SE_SESSION_RETRY_INTERVAL

15

SE_STRUCTURED_LOGS

false

SE_SUPERVISORD_CHILD_LOG_DIR

/tmp

SE_SUPERVISORD_LOG_FILE

/tmp/supervisord.log

SE_SUPERVISORD_LOG_LEVEL

info

SE_SUPERVISORD_PID_FILE

/tmp/supervisord.pid

TZ

UTC


Layers

[#000] sha256:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356 - 13.42% (28.3 MB)

[#001] sha256:1e0930cbf1f759109446f4c19d5dab9981993a71fc2299f81e0121ac151e3d92 - 86.42% (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.16% (350 KB)

[#008] sha256:bf6da80b3a59a38d95443d63bee95054955c7e48294d97c1cbfedd39479f63f7 - 0.0% (1.81 KB)

[#009] sha256:d8e18282cdff6488dc48bbc2fdf129c963eff0536be7a4432876de225776112f - 0.0% (426 Bytes)


History
2024-08-01 14:23:53 UTC

/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 <[email protected]>

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:54:58 UTC (buildkit.dockerfile.v0)

ARG AUTHORS=SeleniumHQ

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

LABEL authors=SeleniumHQ

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

USER 1200

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

EXPOSE map[4442/tcp:{}]

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

EXPOSE map[4443/tcp:{}]

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

EXPOSE map[4444/tcp:{}]

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

ENV SE_SESSION_REQUEST_TIMEOUT=300 SE_SESSION_RETRY_INTERVAL=15 SE_HEALTHCHECK_INTERVAL=120 SE_RELAX_CHECKS=true SE_OTEL_SERVICE_NAME=selenium-hub

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

COPY --chown=1200:1201 start-selenium-grid-hub.sh /opt/bin/ # buildkit

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

COPY selenium-grid-hub.conf /etc/supervisor/conf.d/ # buildkit

Details
Created

2024-09-07 22:54:58 UTC

Size

209 MB

Content Digest
Labels
  • authors
    SeleniumHQ
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    24.04

Environment
DEBCONF_NONINTERACTIVE_SEEN

true

DEBIAN_FRONTEND

noninteractive

HOME

/home/seluser

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

SEL_DOWNLOAD_DIR

/home/seluser/Downloads

SEL_GID

1201

SEL_UID

1200

SEL_USER

seluser

SE_BIND_HOST

false

SE_ENABLE_TLS

false

SE_ENABLE_TRACING

true

SE_HEALTHCHECK_INTERVAL

120

SE_HTTPS_CERTIFICATE

/opt/selenium/secrets/tls.crt

SE_HTTPS_PRIVATE_KEY

/opt/selenium/secrets/tls.key

SE_HTTP_LOGS

false

SE_JAVA_DISABLE_HOSTNAME_VERIFICATION

true

SE_JAVA_SSL_TRUST_STORE

/opt/selenium/secrets/server.jks

SE_JAVA_SSL_TRUST_STORE_PASSWORD

/opt/selenium/secrets/server.pass

SE_LOG_LEVEL

INFO

SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED

true

SE_OTEL_SERVICE_NAME

selenium-hub

SE_OTEL_TRACES_EXPORTER

otlp

SE_REJECT_UNSUPPORTED_CAPS

false

SE_RELAX_CHECKS

true

SE_SERVER_PROTOCOL

http

SE_SESSION_REQUEST_TIMEOUT

300

SE_SESSION_RETRY_INTERVAL

15

SE_STRUCTURED_LOGS

false

SE_SUPERVISORD_CHILD_LOG_DIR

/tmp

SE_SUPERVISORD_LOG_FILE

/tmp/supervisord.log

SE_SUPERVISORD_LOG_LEVEL

info

SE_SUPERVISORD_PID_FILE

/tmp/supervisord.pid

TZ

UTC


Layers

[#000] sha256:9f23a71f1e313efedd46a7ba220354d3a6eb7196085ef28ddab1b7f266cb0666 - 13.14% (27.5 MB)

[#001] sha256:14148a0c2051e5ed701b4141bf479861486bcca4c0b196811f0f882dddc3dd90 - 86.69% (181 MB)

[#002] sha256:500c33f433975609449aa232c27db5eeb65571c30941d7820460bdc451ec9062 - 0.0% (2.41 KB)

[#003] sha256:f38c7db96dc89c3c63ead3d7f6b7137e80765c971d67aa5a34a9d2e984f4ee18 - 0.0% (391 Bytes)

[#004] sha256:a9ec97fb23ed8ce43608d47f06ed193f47e5dcd754afebfb89200060853346e7 - 0.0% (835 Bytes)

[#005] sha256:9fe588d878e65b37f956f817ca6ff73c9bd29e90472acd6b0a16d126353b7f62 - 0.0% (1.95 KB)

[#006] sha256:5ca877a553dfdccf68e836c605ae5f543e7baa9f4cec394ec86cda94b9fe8a16 - 0.0% (5.63 KB)

[#007] sha256:e07e05638beb06af235992b14ba75e69fe334e272144e3c9554d2125ad62e229 - 0.16% (351 KB)

[#008] sha256:a9f10e080ddd0c6c754b2b20ebaed1fc52b53d34aaf6207b6be491927dedb83c - 0.0% (1.81 KB)

[#009] sha256:613b51f26f63b1c3e4f30840bf5eedc6b75339028e005b5e67fb1db9e8264af0 - 0.0% (427 Bytes)


History
2024-08-01 15:33:35 UTC

/bin/sh -c #(nop) ARG RELEASE

2024-08-01 15:33:35 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2024-08-01 15:33:35 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2024-08-01 15:33:36 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04

2024-08-01 15:33:38 UTC

/bin/sh -c #(nop) ADD file:154285ca3d49a142bc6d59c9d48f14546f32b2d6de94387c30c1ba3759249b0f in /

2024-08-01 15:33:38 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

LABEL authors=Selenium <[email protected]>

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG VERSION=4.24.0

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG RELEASE=selenium-4.24.0

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG AUTHORS=SeleniumHQ

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG OPENTELEMETRY_VERSION=1.40.0

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG GRPC_VERSION=1.65.1

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG NETTY_VERSION=4.1.111.Final

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG CS_VERSION=2.1.10

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG SEL_USER=seluser

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG SEL_GROUP=seluser

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG HOME=/home/seluser

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG UID=1200

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG GID=1201

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG TZ=UTC

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG JRE_VERSION=17

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH=arm64

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG TARGETVARIANT=

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

USER root

2024-09-07 22:47:54 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:47:54 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=arm64 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:47:54 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:47:54 UTC (buildkit.dockerfile.v0)

COPY --chown=1200:1201 mask /usr/local/bin/ # buildkit

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

COPY supervisord.conf /etc # buildkit

2024-09-07 22:47:54 UTC (buildkit.dockerfile.v0)

ARG CERT_TRUST_ATTR=TCu,Cu,Tu

2024-09-07 22:47:54 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:54:52 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=arm64 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:54:52 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:54:52 UTC (buildkit.dockerfile.v0)

CMD ["/opt/bin/entry_point.sh"]

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

ARG AUTHORS=SeleniumHQ

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

LABEL authors=SeleniumHQ

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

USER 1200

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

EXPOSE map[4442/tcp:{}]

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

EXPOSE map[4443/tcp:{}]

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

EXPOSE map[4444/tcp:{}]

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

ENV SE_SESSION_REQUEST_TIMEOUT=300 SE_SESSION_RETRY_INTERVAL=15 SE_HEALTHCHECK_INTERVAL=120 SE_RELAX_CHECKS=true SE_OTEL_SERVICE_NAME=selenium-hub

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

COPY --chown=1200:1201 start-selenium-grid-hub.sh /opt/bin/ # buildkit

2024-09-07 22:54:58 UTC (buildkit.dockerfile.v0)

COPY selenium-grid-hub.conf /etc/supervisor/conf.d/ # buildkit

Danger Zone
Delete Tag

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.

Delete