Namespace
selenium
Image / Tag
hub:latest
Content Digest
sha256:8792d3c143f4ff5da8d9d2d59ba2f36f918fbf9948ebd295c3552d4fe46e3c54
Details
Created

2024-11-27 05:44:42 UTC

Size

209 MB

Content Digest
Labels
  • authors
    SeleniumHQ
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.source
    https://github.com/SeleniumHQ/docker-selenium
  • org.opencontainers.image.version
    24.04

Environment
CONFIG_FILE

/opt/selenium/config.toml

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_LOG_TIMESTAMP_FORMAT

%Y-%m-%d %H:%M:%S,%3N

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:afad30e59d72d5c8df4023014c983e457f21818971775c4224163595ec20b69f - 13.54% (28.4 MB)

[#001] sha256:8867f48bac208fae53af2f241dcb9a4d17085f55dbb4d4095eab40eace71c1ed - 86.29% (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.16% (352 KB)

[#008] sha256:37797740dc30c031dcb89663891325db6db72866f1eb49f2dc2340306323d840 - 0.0% (1.79 KB)

[#009] sha256:77585557973aec74df3f11eb4e8bb74ef389deb5e6218e618769121a7819e13f - 0.0% (427 Bytes)


History
2024-10-16 09:25:54 UTC

/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:44:42 UTC (buildkit.dockerfile.v0)

ARG AUTHORS=SeleniumHQ

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

LABEL authors=SeleniumHQ

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

USER 1200

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

EXPOSE map[4442/tcp:{}]

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

EXPOSE map[4443/tcp:{}]

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

EXPOSE map[4444/tcp:{}]

2024-11-27 05:44:42 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-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

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

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-11-27 05:44:42 UTC

Size

208 MB

Content Digest
Labels
  • authors
    SeleniumHQ
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.source
    https://github.com/SeleniumHQ/docker-selenium
  • org.opencontainers.image.version
    24.04

Environment
CONFIG_FILE

/opt/selenium/config.toml

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_LOG_TIMESTAMP_FORMAT

%Y-%m-%d %H:%M:%S,%3N

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:e3366dd687552c0533285c7066bb8e937a5aaa2ff3a0c1c7f1305b3310399895 - 13.25% (27.6 MB)

[#001] sha256:132824d1354ab4d3ab54cb8ac05f839e20e5de61768103980f4dfa525fc50507 - 86.58% (180 MB)

[#002] sha256:1ba910f25ba4e9165f534736c87b5cfc936645b1981598bc00aa55838bfd38f0 - 0.0% (2.64 KB)

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

[#004] sha256:16cc5ec67a9ff3c9b66c1fce52c671305c9547a5234ca4002d087fa3421fb944 - 0.0% (838 Bytes)

[#005] sha256:0bf84a420fba5141c3c6efb8a925fe0e8fe347fae30a5cad230d94deb4d361ad - 0.0% (1.95 KB)

[#006] sha256:8d5e97b3eca92b45ec10672f67ed83c8638f8bc45cb92af357086f049503ad8b - 0.0% (5.63 KB)

[#007] sha256:39604d0661111d0f3c8326cdc219ee47f2046679c5513f56b3eb1aee43b17fe1 - 0.17% (352 KB)

[#008] sha256:d925d7a0a9c1af99e825e9da3b3ad1b6e56a40770ffae9b6af0bcb891197f6a2 - 0.0% (1.79 KB)

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


History
2024-10-16 09:25:38 UTC

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

2024-10-16 09:25:38 UTC

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

2024-10-16 09:25:38 UTC

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

2024-10-16 09:25:38 UTC

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

2024-10-16 09:25:40 UTC

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

2024-10-16 09:25:40 UTC

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

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG AUTHORS=SeleniumHQ

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

LABEL authors=SeleniumHQ <[email protected]>

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/SeleniumHQ/docker-selenium

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG VERSION=4.27.0

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG RELEASE=selenium-4.27.0

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG OPENTELEMETRY_VERSION=1.44.1

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG GRPC_VERSION=1.68.1

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG NETTY_VERSION=4.1.115.Final

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG CS_VERSION=2.1.18

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG SEL_USER=seluser

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG SEL_GROUP=seluser

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG HOME=/home/seluser

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG UID=1200

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG GID=1201

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG TZ=UTC

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG JRE_VERSION=17

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH=arm64

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG TARGETVARIANT=

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

USER root

2024-11-27 05:42:45 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:42:45 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=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 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:42:45 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:42:45 UTC (buildkit.dockerfile.v0)

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

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

COPY supervisord.conf /etc # buildkit

2024-11-27 05:42:45 UTC (buildkit.dockerfile.v0)

ARG CERT_TRUST_ATTR=TCu,Cu,Tu

2024-11-27 05:42:45 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:42:45 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:42:45 UTC (buildkit.dockerfile.v0)

USER 1200:1201

2024-11-27 05:44:23 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=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-11-27 05:44:23 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:44:23 UTC (buildkit.dockerfile.v0)

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

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

ARG AUTHORS=SeleniumHQ

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

LABEL authors=SeleniumHQ

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

USER 1200

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

EXPOSE map[4442/tcp:{}]

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

EXPOSE map[4443/tcp:{}]

2024-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

EXPOSE map[4444/tcp:{}]

2024-11-27 05:44:42 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-11-27 05:44:42 UTC (buildkit.dockerfile.v0)

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

2024-11-27 05:44:42 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