Namespace
selenium
Image / Tag
hub:4.23.1-20240820
Content Digest
sha256:a7566ba829401465ac0246bed3587637cd27fe83d868c5abd29cd9f858064934
Details
Created

2024-08-20 05:54:53 UTC

Size

198 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_LOG_LEVEL

info

TZ

UTC


Layers

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

[#001] sha256:c49adfc675e0442fc6b59f4e0c6cebd27f492d2b9846465e785b61b58f5b6a4f - 85.49% (169 MB)

[#002] sha256:7c8e98925d27cd04fdb368930e6fea0784dfa0b2b47b5ef927e5052806a93b79 - 0.0% (2.32 KB)

[#003] sha256:e70769fbc9bba4a62d566a0943f755dcb19e09019921379f2c6e4dde3d85471c - 0.0% (393 Bytes)

[#004] sha256:7cd6241529120db10a6e93cd2fb8680d21c48808658ef8fe87c5de3f9f451d7c - 0.0% (823 Bytes)

[#005] sha256:8432848dde53295d69b69158041b688d8a1f80b25316b8af05818ea83d1dc774 - 0.0% (1.95 KB)

[#006] sha256:6c8dd8e8e442b3ee9de0ffc8ecf7a255cc23a7f5c4fcb1694888cd5f4cfffd04 - 0.0% (5.63 KB)

[#007] sha256:52da3ff40d467d507f927bd6015317ff98f22e9c887257d54ae23b4f3e210009 - 0.17% (349 KB)

[#008] sha256:fd509b59e71dd76de6db0ba55da7945a6e8bb1fc87cff73e419eb2feb0de8f8a - 0.0% (1.68 KB)

[#009] sha256:43682999988da7a90825bdef2b92eb552c4a3842e47e146daaa2f99adc35bf02 - 0.0% (422 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-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

LABEL authors=Selenium <[email protected]>

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG VERSION=4.23.1

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG RELEASE=selenium-4.23.0

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG AUTHORS=SeleniumHQ

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG OPENTELEMETRY_VERSION=1.40.0

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG GRPC_VERSION=1.65.1

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG NETTY_VERSION=4.1.111.Final

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG CS_VERSION=2.1.10

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG SEL_USER=seluser

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG SEL_GROUP=seluser

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG SEL_PASSWD=secret

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG HOME=/home/seluser

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG UID=1200

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG GID=1201

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG TZ=UTC

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG JRE_VERSION=17

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH=amd64

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG TARGETVARIANT=

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

USER root

2024-08-20 05:35:47 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-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

RUN |17 VERSION=4.23.1 RELEASE=selenium-4.23.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 SEL_PASSWD=secret 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}:${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 && echo "${SEL_PASSWD}" > /opt/selenium/initialPasswd && 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-08-20 05:35:47 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-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

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

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

COPY supervisord.conf /etc # buildkit

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

ARG CERT_TRUST_ATTR=TCu,Cu,Tu

2024-08-20 05:35:47 UTC (buildkit.dockerfile.v0)

COPY --chown=1200:1201 certs/add-cert-helper.sh certs/add-jks-helper.sh /opt/bin/ # buildkit

2024-08-20 05:51:47 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-08-20 05:51:47 UTC (buildkit.dockerfile.v0)

USER 1200:1201

2024-08-20 05:51:52 UTC (buildkit.dockerfile.v0)

RUN |18 VERSION=4.23.1 RELEASE=selenium-4.23.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 SEL_PASSWD=secret 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-08-20 05:51: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_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-08-20 05:51:52 UTC (buildkit.dockerfile.v0)

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

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

ARG AUTHORS=SeleniumHQ

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

LABEL authors=SeleniumHQ

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

USER 1200

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

EXPOSE map[4442/tcp:{}]

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

EXPOSE map[4443/tcp:{}]

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

EXPOSE map[4444/tcp:{}]

2024-08-20 05:54:53 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-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

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

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-08-20 05:54:53 UTC

Size

196 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_LOG_LEVEL

info

TZ

UTC


Layers

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

[#001] sha256:7c7f54665e76d9c58fcc468555f1828eabdde942020da8ea2ac11407b0141ffe - 85.8% (168 MB)

[#002] sha256:4685921c5aeb8d7e5ec8c09f8666636d237a9b0c7fa453097c5dc4bc0a98d2f0 - 0.0% (2.32 KB)

[#003] sha256:a9bbe9bf79559767f0560f93a8a8d8a510e9ec6d9fa0656ca0419c33bca616d5 - 0.0% (389 Bytes)

[#004] sha256:941746466a81b0da1bf5da22ff82919906eeefb396b606d8f37f1ea62f09e96a - 0.0% (825 Bytes)

[#005] sha256:66e713a85aa8a947708c22cfd6787b2b635fd42252de441362f2462e4a7665c4 - 0.0% (1.95 KB)

[#006] sha256:0a6e5c2ade2f0ab46c7920685c225f727d8645ad193ae4c08bef14c904cdbba2 - 0.0% (5.64 KB)

[#007] sha256:ffd0d8aa4ac7717ae8de65bdd9cf381a56243dfc56302c4241fb1f684a47bc4b - 0.17% (350 KB)

[#008] sha256:f4322cdf8b88ea4115727c79d02ca2d9f974dd7a6e9e8d9fa522bfdbd6d89875 - 0.0% (1.68 KB)

[#009] sha256:48d64f52ba5f0703bdddf54d899b8f863c21a2e09b604e03d02f5db9aa16f9e4 - 0.0% (425 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-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

LABEL authors=Selenium <[email protected]>

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG VERSION=4.23.1

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG RELEASE=selenium-4.23.0

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG AUTHORS=SeleniumHQ

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG OPENTELEMETRY_VERSION=1.40.0

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG GRPC_VERSION=1.65.1

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG NETTY_VERSION=4.1.111.Final

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG CS_VERSION=2.1.10

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG SEL_USER=seluser

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG SEL_GROUP=seluser

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG SEL_PASSWD=secret

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG HOME=/home/seluser

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG UID=1200

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG GID=1201

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG TZ=UTC

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG JRE_VERSION=17

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH=arm64

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG TARGETVARIANT=

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

USER root

2024-08-20 05:48:09 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-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

RUN |17 VERSION=4.23.1 RELEASE=selenium-4.23.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 SEL_PASSWD=secret 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}:${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 && echo "${SEL_PASSWD}" > /opt/selenium/initialPasswd && 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-08-20 05:48:09 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-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

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

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

COPY supervisord.conf /etc # buildkit

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

ARG CERT_TRUST_ATTR=TCu,Cu,Tu

2024-08-20 05:48:09 UTC (buildkit.dockerfile.v0)

COPY --chown=1200:1201 certs/add-cert-helper.sh certs/add-jks-helper.sh /opt/bin/ # buildkit

2024-08-20 05:51:47 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-08-20 05:51:47 UTC (buildkit.dockerfile.v0)

USER 1200:1201

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

RUN |18 VERSION=4.23.1 RELEASE=selenium-4.23.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 SEL_PASSWD=secret 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-08-20 05:54:53 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_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-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

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

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

ARG AUTHORS=SeleniumHQ

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

LABEL authors=SeleniumHQ

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

USER 1200

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

EXPOSE map[4442/tcp:{}]

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

EXPOSE map[4443/tcp:{}]

2024-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

EXPOSE map[4444/tcp:{}]

2024-08-20 05:54:53 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-08-20 05:54:53 UTC (buildkit.dockerfile.v0)

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

2024-08-20 05:54:53 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