2024-10-10 13:12:59 UTC
199 MB
true
DEBIAN_FRONTENDnoninteractive
HOME/home/seluser
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_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_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLEDtrue
SE_OTEL_SERVICE_NAMEselenium-hub
SE_OTEL_TRACES_EXPORTERotlp
SE_REJECT_UNSUPPORTED_CAPSfalse
SE_RELAX_CHECKStrue
SE_SERVER_PROTOCOLhttp
SE_SESSION_REQUEST_TIMEOUT300
SE_SESSION_RETRY_INTERVAL15
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
TZUTC
[#000] sha256:eda6120e237e0bdd328bc3e0f610854590400d4f96d9678dfcf781edb2f541d0 - 14.28% (28.4 MB)
[#001] sha256:9020db8d4214741db852d63496e3d02b13c40e5f641077bcbef556370d059b8d - 85.55% (170 MB)
[#002] sha256:95e3b4ae7e39001b9645ac0e15a7f78a9ab0b5edcb88bbcf7c4354f2fdfa2d65 - 0.0% (2.58 KB)
[#003] sha256:954d19b3fd548ba204e2a6feb7c2772eb6f5a25b367f63fdb05918cff54f6653 - 0.0% (391 Bytes)
[#004] sha256:69ab5fc9c2c148ec5581cb94757e94c49cd2e945552913309b1e36f7aeaad1e7 - 0.0% (834 Bytes)
[#005] sha256:c64d8f605a34b4714c2e0b5d088025e0cc1933a691d44078b9699d328bb5921c - 0.0% (1.94 KB)
[#006] sha256:e05902c0f0fec9633d6177d9da767af3db20fd8ffbde48c66437fe2715f16f4a - 0.0% (5.62 KB)
[#007] sha256:88a99997f4bceb156ec08749c1ceaf994d022f0dd667498c8b29ed1a8fac0f84 - 0.17% (350 KB)
[#008] sha256:0e1a767d7067cc5744d0136d33c2f73dc55341a56d455755c3486a3011b675b1 - 0.0% (1.81 KB)
[#009] sha256:10a25ca0727b9f0d7ebdb306265d698d6acd723f86d8927db8285bd7a8676e44 - 0.0% (424 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-09-16 06:23:30 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-09-16 06:23:30 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-09-16 06:23:30 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-09-16 06:23:32 UTC/bin/sh -c #(nop) ADD file:6f881131af38dde06e3705e8376701ae22ce479e4824821a9580d4e0e0bcf0ac in /
2024-09-16 06:23:33 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ <[email protected]>
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/SeleniumHQ/docker-selenium
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG VERSION=4.25.0
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG RELEASE=selenium-4.25.0
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG OPENTELEMETRY_VERSION=1.42.1
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG GRPC_VERSION=1.66.0
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG NETTY_VERSION=4.1.113.Final
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG CS_VERSION=2.1.13
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG SEL_USER=seluser
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG SEL_GROUP=seluser
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG HOME=/home/seluser
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG UID=1200
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG GID=1201
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG TZ=UTC
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG JRE_VERSION=17
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG TARGETVARIANT=
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)USER root
2024-10-10 12:53:04 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-10-10 12:53:04 UTC (buildkit.dockerfile.v0)RUN |16 AUTHORS=SeleniumHQ VERSION=4.25.0 RELEASE=selenium-4.25.0 OPENTELEMETRY_VERSION=1.42.1 GRPC_VERSION=1.66.0 NETTY_VERSION=4.1.113.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 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-10-10 12:53:04 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-10-10 12:53:04 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 mask /usr/local/bin/ # buildkit
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)COPY supervisord.conf /etc # buildkit
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)ARG CERT_TRUST_ATTR=TCu,Cu,Tu
2024-10-10 12:53:04 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 certs/add-cert-helper.sh certs/add-jks-helper.sh /opt/bin/ # buildkit
2024-10-10 13:09:43 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-10-10 13:09:43 UTC (buildkit.dockerfile.v0)USER 1200:1201
2024-10-10 13:09:48 UTC (buildkit.dockerfile.v0)RUN |17 AUTHORS=SeleniumHQ VERSION=4.25.0 RELEASE=selenium-4.25.0 OPENTELEMETRY_VERSION=1.42.1 GRPC_VERSION=1.66.0 NETTY_VERSION=4.1.113.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-10-10 13:09: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-10-10 13:09:48 UTC (buildkit.dockerfile.v0)CMD ["/opt/bin/entry_point.sh"]
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)USER 1200
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)EXPOSE map[4442/tcp:{}]
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)EXPOSE map[4443/tcp:{}]
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)EXPOSE map[4444/tcp:{}]
2024-10-10 13:12:59 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-10-10 13:12:59 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 start-selenium-grid-hub.sh /opt/bin/ # buildkit
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)COPY selenium-grid-hub.conf /etc/supervisor/conf.d/ # buildkit
2024-10-10 13:12:59 UTC
197 MB
true
DEBIAN_FRONTENDnoninteractive
HOME/home/seluser
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_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_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLEDtrue
SE_OTEL_SERVICE_NAMEselenium-hub
SE_OTEL_TRACES_EXPORTERotlp
SE_REJECT_UNSUPPORTED_CAPSfalse
SE_RELAX_CHECKStrue
SE_SERVER_PROTOCOLhttp
SE_SESSION_REQUEST_TIMEOUT300
SE_SESSION_RETRY_INTERVAL15
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
TZUTC
[#000] sha256:25a614108e8d9c23a53cb3193f34ba623efe45c81ccaaa2281092b512ef7e07e - 13.97% (27.5 MB)
[#001] sha256:038eceb27f6255f9f293f76e9ba094f8073be4dd866ffb106d75c7d48a726fbf - 85.85% (169 MB)
[#002] sha256:2ff71ca35a65ef0dae02981fba3dd0bd1789f33fe774828b911afb74cedf7370 - 0.0% (2.58 KB)
[#003] sha256:9b87a2abcb1951b6588127eb01bf8961b9feca0f4ac00d8ebe2a8bd81fe9f756 - 0.0% (394 Bytes)
[#004] sha256:052d7ebf4cda9441ef657cfd92c2b6f7bbeba7d34d4651eeec7f8d6145c06616 - 0.0% (835 Bytes)
[#005] sha256:acdf5c52ed5e623750c481922823da2d6e5fe30d4a065129f4dae1e0ba048d4d - 0.0% (1.95 KB)
[#006] sha256:9b1a10833a893a9cb28a279ae94e5f21c28721df90344a6a84e06759d8cd8d3f - 0.0% (5.62 KB)
[#007] sha256:71d076afde152437e564d1ce51ab90646adfd330baa798d87c4a03b3f8965fb9 - 0.17% (351 KB)
[#008] sha256:9b83a094af3de17d226f551dc9c26dc7de6a2b695f85afbb10328858dda01df7 - 0.0% (1.81 KB)
[#009] sha256:0f4c1d091a841b091e2d316ac604cf561549ff700d4a4cac76ca2f8d7de671ed - 0.0% (424 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-09-16 06:23:55 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-09-16 06:23:55 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-09-16 06:23:55 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-09-16 06:23:58 UTC/bin/sh -c #(nop) ADD file:9d8a15341d364d2508ffca0657b4cb175a35d2edbdb0cf2476f7c4fff4f6c66a in /
2024-09-16 06:23:59 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ <[email protected]>
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/SeleniumHQ/docker-selenium
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG VERSION=4.25.0
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG RELEASE=selenium-4.25.0
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG OPENTELEMETRY_VERSION=1.42.1
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG GRPC_VERSION=1.66.0
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG NETTY_VERSION=4.1.113.Final
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG CS_VERSION=2.1.13
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG SEL_USER=seluser
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG SEL_GROUP=seluser
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG HOME=/home/seluser
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG UID=1200
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG GID=1201
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG TZ=UTC
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG JRE_VERSION=17
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=arm64
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG TARGETVARIANT=
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)USER root
2024-10-10 13:05:51 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-10-10 13:05:51 UTC (buildkit.dockerfile.v0)RUN |16 AUTHORS=SeleniumHQ VERSION=4.25.0 RELEASE=selenium-4.25.0 OPENTELEMETRY_VERSION=1.42.1 GRPC_VERSION=1.66.0 NETTY_VERSION=4.1.113.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=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-10-10 13:05:51 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-10-10 13:05:51 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 mask /usr/local/bin/ # buildkit
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)COPY supervisord.conf /etc # buildkit
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)ARG CERT_TRUST_ATTR=TCu,Cu,Tu
2024-10-10 13:05:51 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 certs/add-cert-helper.sh certs/add-jks-helper.sh /opt/bin/ # buildkit
2024-10-10 13:09:43 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-10-10 13:09:43 UTC (buildkit.dockerfile.v0)USER 1200:1201
2024-10-10 13:12:53 UTC (buildkit.dockerfile.v0)RUN |17 AUTHORS=SeleniumHQ VERSION=4.25.0 RELEASE=selenium-4.25.0 OPENTELEMETRY_VERSION=1.42.1 GRPC_VERSION=1.66.0 NETTY_VERSION=4.1.113.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=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-10-10 13:12: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_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-10-10 13:12:53 UTC (buildkit.dockerfile.v0)CMD ["/opt/bin/entry_point.sh"]
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)ARG AUTHORS=SeleniumHQ
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)LABEL authors=SeleniumHQ
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)USER 1200
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)EXPOSE map[4442/tcp:{}]
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)EXPOSE map[4443/tcp:{}]
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)EXPOSE map[4444/tcp:{}]
2024-10-10 13:12:59 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-10-10 13:12:59 UTC (buildkit.dockerfile.v0)COPY --chown=1200:1201 start-selenium-grid-hub.sh /opt/bin/ # buildkit
2024-10-10 13:12:59 UTC (buildkit.dockerfile.v0)COPY selenium-grid-hub.conf /etc/supervisor/conf.d/ # buildkit
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.