docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101 linux/amd64

docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101 - 国内下载镜像源 浏览次数:24

Selenium Node Chrome 镜像

这是一个包含了 Selenium WebDriver 的 Node.js 环境的 Docker 镜像,用于运行 Chrome 浏览器。它提供了以下功能:

  • Selenium WebDriver 用于自动化 Chrome 浏览器
  • Node.js 环境用于编写测试脚本
  • Chrome 浏览器已经预先安装配置

使用该镜像可以轻松地构建自动化测试环境,并在 Docker 容器中运行 Chrome 浏览器测试。

源镜像 docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101
镜像ID sha256:12b5fa18c59bd778b2c6983fb34e0c8cd5f331f52ff00d56c39c39a40610392f
镜像TAG 130.0-chromedriver-130.0-grid-4.26.0-20241101
大小 1.51GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /opt/bin/entry_point.sh
启动入口
工作目录
OS/平台 linux/amd64
浏览量 24 次
贡献者
镜像创建 2024-11-01T17:24:56.558770792Z
同步时间 2024-11-13 15:30
更新时间 2024-11-21 18:42
开放端口
5900/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 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 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 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-chrome 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 GENERATE_CONFIG=true DBUS_SESSION_BUS_ADDRESS=/dev/null
镜像标签
SeleniumHQ: authors ubuntu: org.opencontainers.image.ref.name https://github.com/SeleniumHQ/docker-selenium: org.opencontainers.image.source 24.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 24.04 扫描引擎: Trivy 扫描时间: 2024-11-13 15:30

低危漏洞:45 中危漏洞:57 高危漏洞:2 严重漏洞:0

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101  docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101  docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101

Shell快速替换命令

sed -i 's#selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101  docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101  docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101'

镜像历史

大小 创建时间 层信息
0.00B 2024-11-02 01:24:56 ENV SE_OTEL_SERVICE_NAME=selenium-node-chrome
59.00B 2024-11-02 01:24:56 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
14.00B 2024-11-02 01:24:56 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
7.00B 2024-11-02 01:24:56 RUN |3 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-stable CHROME_DRIVER_VERSION= /bin/sh -c echo "chrome" > /opt/selenium/browser_name # buildkit
0.00B 2024-11-02 01:24:55 USER 1200
775.00B 2024-11-02 01:24:55 COPY chrome-cleanup.conf /etc/supervisor/conf.d/chrome-cleanup.conf # buildkit
1.36KB 2024-11-02 01:24:55 COPY chrome-cleanup.sh /opt/bin/chrome-cleanup.sh # buildkit
17.84MB 2024-11-02 01:24:55 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
0.00B 2024-11-02 01:24:55 ARG CHROME_DRIVER_VERSION
2.51KB 2024-11-02 01:24:55 RUN |2 AUTHORS=SeleniumHQ CHROME_VERSION=google-chrome-stable /bin/sh -c /opt/bin/wrap_chrome_binary # buildkit
1.09KB 2024-11-02 01:24:55 COPY wrap_chrome_binary /opt/bin/wrap_chrome_binary # buildkit
411.93MB 2024-11-02 01:24:55 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
0.00B 2024-11-02 01:24:55 ARG CHROME_VERSION=google-chrome-stable
0.00B 2024-11-02 01:24:55 USER root
0.00B 2024-11-02 01:24:55 LABEL authors=SeleniumHQ
0.00B 2024-11-02 01:24:55 ARG AUTHORS=SeleniumHQ
0.00B 2024-11-02 01:08:25 EXPOSE map[5900/tcp:{}]
0.00B 2024-11-02 01:08:25 USER 1200
1.79KB 2024-11-02 01:08:25 COPY selenium.conf /etc/supervisor/conf.d/ # buildkit
20.41KB 2024-11-02 01:08:25 COPY selenium_grid_logo.png /usr/share/images/fluxbox/ubuntu-light.png # buildkit
14.23KB 2024-11-02 01:08:25 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
619.55MB 2024-11-02 01:08:25 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
0.00B 2024-11-02 01:08:25 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
0.00B 2024-11-02 01:08:25 USER root
0.00B 2024-11-02 01:08:25 ARG LANGUAGE=en_US.UTF-8
0.00B 2024-11-02 01:08:25 ARG ENCODING=UTF-8
0.00B 2024-11-02 01:08:25 ARG LANG_WHERE=US
0.00B 2024-11-02 01:08:25 ARG LANG_WHICH=en
0.00B 2024-11-02 01:08:25 ARG WEBSOCKIFY_VERSION=master
0.00B 2024-11-02 01:08:25 ARG WEBSOCKIFY_SOURCE=heads
0.00B 2024-11-02 01:08:25 ARG NOVNC_VERSION=master
0.00B 2024-11-02 01:08:25 ARG NOVNC_SOURCE=heads
0.00B 2024-11-02 01:08:25 LABEL authors=SeleniumHQ
0.00B 2024-11-02 01:08:25 ARG AUTHORS=SeleniumHQ
0.00B 2024-11-02 01:03:19 CMD ["/opt/bin/entry_point.sh"]
0.00B 2024-11-02 01:03:19 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
983.18KB 2024-11-02 01:03:19 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
0.00B 2024-11-02 01:03:14 USER 1200:1201
6.07KB 2024-11-02 01:03:14 COPY --chown=1200:1201 certs/tls.crt certs/tls.key certs/server.jks certs/server.pass /opt/selenium/secrets/ # buildkit
5.78KB 2024-11-02 00:43:15 COPY --chown=1200:1201 certs/add-cert-helper.sh certs/add-jks-helper.sh /opt/bin/ # buildkit
0.00B 2024-11-02 00:43:15 ARG CERT_TRUST_ATTR=TCu,Cu,Tu
1.63KB 2024-11-02 00:43:15 COPY supervisord.conf /etc # buildkit
476.00B 2024-11-02 00:43:15 COPY --chown=1200:1201 mask /usr/local/bin/ # buildkit
6.91KB 2024-11-02 00:43:15 COPY --chown=1200:1201 check-grid.sh entry_point.sh configs/node/nodeGridUrl.sh configs/node/nodePreStop.sh /opt/bin/ # buildkit
378.74MB 2024-11-02 00:43:15 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
0.00B 2024-11-02 00:43:15 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
0.00B 2024-11-02 00:43:15 USER root
0.00B 2024-11-02 00:43:15 ARG TARGETVARIANT=
0.00B 2024-11-02 00:43:15 ARG TARGETARCH=amd64
0.00B 2024-11-02 00:43:15 ARG JRE_VERSION=17
0.00B 2024-11-02 00:43:15 ARG TZ=UTC
0.00B 2024-11-02 00:43:15 ARG GID=1201
0.00B 2024-11-02 00:43:15 ARG UID=1200
0.00B 2024-11-02 00:43:15 ARG HOME=/home/seluser
0.00B 2024-11-02 00:43:15 ARG SEL_GROUP=seluser
0.00B 2024-11-02 00:43:15 ARG SEL_USER=seluser
0.00B 2024-11-02 00:43:15 ARG CS_VERSION=2.1.13
0.00B 2024-11-02 00:43:15 ARG NETTY_VERSION=4.1.114.Final
0.00B 2024-11-02 00:43:15 ARG GRPC_VERSION=1.68.0
0.00B 2024-11-02 00:43:15 ARG OPENTELEMETRY_VERSION=1.43.0
0.00B 2024-11-02 00:43:15 ARG RELEASE=selenium-4.26.0
0.00B 2024-11-02 00:43:15 ARG VERSION=4.26.0
0.00B 2024-11-02 00:43:15 LABEL org.opencontainers.image.source=https://github.com/SeleniumHQ/docker-selenium
0.00B 2024-11-02 00:43:15 LABEL authors=SeleniumHQ <selenium-developers@googlegroups.com>
0.00B 2024-11-02 00:43:15 ARG AUTHORS=SeleniumHQ
0.00B 2024-10-11 11:48:04 /bin/sh -c #(nop) CMD ["/bin/bash"]
78.11MB 2024-10-11 11:48:03 /bin/sh -c #(nop) ADD file:34dc4f3ab7a694ecde47ff7a610be18591834c45f1d7251813267798412604e5 in /
0.00B 2024-10-11 11:48:01 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
0.00B 2024-10-11 11:48:01 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-10-11 11:48:01 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-10-11 11:48:01 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:12b5fa18c59bd778b2c6983fb34e0c8cd5f331f52ff00d56c39c39a40610392f",
    "RepoTags": [
        "selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome:130.0-chromedriver-130.0-grid-4.26.0-20241101"
    ],
    "RepoDigests": [
        "selenium/node-chrome@sha256:6c3a949b5f9aeecda31944a8f817b30d80fee99c58a26f55ac369186544c7887",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/selenium/node-chrome@sha256:a4576fafc87eb118154b8e8816b9c07ae26b4bba0281018a541f3e731dd964b9"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-01T17:24:56.558770792Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "1200",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5900/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "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",
            "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",
            "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-chrome",
            "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",
            "GENERATE_CONFIG=true",
            "DBUS_SESSION_BUS_ADDRESS=/dev/null"
        ],
        "Cmd": [
            "/opt/bin/entry_point.sh"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "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"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1507227618,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/bd195c0671dd4fdb8a00d827ab36af0e3966e589813def529518fc1810177056/diff:/var/lib/docker/overlay2/69b18b8b51768a53557f65bf34151c77b04446ede32d53ce9d92c3bb3e40b577/diff:/var/lib/docker/overlay2/858eefa2e1ca756ae3a30ad72def53ea1205eb4032468279437eb76b6c3fb516/diff:/var/lib/docker/overlay2/e0532da6a8f800c0d0f758b5dff22ed1f5b72cfed750e5e95e2fa89733cc8821/diff:/var/lib/docker/overlay2/d9d983e0bd22ce5e93e8559d21277cbc5f104d9b5ae6632fc3ce883cf23ca947/diff:/var/lib/docker/overlay2/ee426c5cb08cc9173f076360e97272b530c805d0506b0cd79324dd8af259cdb9/diff:/var/lib/docker/overlay2/cf1fb5fa564fce39a203bb54e8d419ce8433725222a832102d9e42a5b020318f/diff:/var/lib/docker/overlay2/8d8d7104f089a4a043d1426df3ba458304ac7e596e72d51739310048ee9912cf/diff:/var/lib/docker/overlay2/58b359967dac682a59b6f6ddf23c9423c0efcae450aeedfc366c26c991ed57d9/diff:/var/lib/docker/overlay2/3a4a21ef2505a2203afc5f8d7cc641259422b990ee29fbc8f39c3d5a6e668002/diff:/var/lib/docker/overlay2/d9ec5382995823b4152dc16b6e81f2f18c2d2db036b08196e35e660e94dc25e3/diff:/var/lib/docker/overlay2/67e0567c751a193330e847b7196c7e8985b889d80b70b42964a319e0b10bd458/diff:/var/lib/docker/overlay2/844df4a09c83608856cf3a101fd657785bb9e8faccc2162554eef0dc780fe5ef/diff:/var/lib/docker/overlay2/8090b221aacd1483c4323502b95f4cf6eb7ea851697bb7fefb3212b3eb4253a6/diff:/var/lib/docker/overlay2/5255366462de941a81bea8d47ddf4d529c7a2ebe5ba794f733aecef170ad3c27/diff:/var/lib/docker/overlay2/a09c737545a25a254afe2d695de0ed35dc96d987dd047dd75af14197cfdc826d/diff:/var/lib/docker/overlay2/26bf01f489ce4299349f2b53a9c72880d9f854a6eebe0241376bf4270a53c413/diff:/var/lib/docker/overlay2/8718d0c8a1d8615fd74009b175644409ed553cbc23550a02eef7274066c3e517/diff:/var/lib/docker/overlay2/968d948584bf07d3824adc98d7eb610793d40280d25fc30d255426abe6476e42/diff:/var/lib/docker/overlay2/66bcd0d171e5753f08fc2ba86a3c6615a543d21d382ab127ede9b2376a49d649/diff",
            "MergedDir": "/var/lib/docker/overlay2/aae4d8c7f9d2dbf8233ba1528b55a862fa6b060d5f30020c8c2f684ae8ca07ff/merged",
            "UpperDir": "/var/lib/docker/overlay2/aae4d8c7f9d2dbf8233ba1528b55a862fa6b060d5f30020c8c2f684ae8ca07ff/diff",
            "WorkDir": "/var/lib/docker/overlay2/aae4d8c7f9d2dbf8233ba1528b55a862fa6b060d5f30020c8c2f684ae8ca07ff/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a46a5fb872b554648d9d0262f302b2c1ded46eeb1ef4dc727ecc5274605937af",
            "sha256:58e58dc1c165cf8d6346b44c943fcc933b1f44868b5019a819c6c466022e53bf",
            "sha256:480f8c57f5372bbbfc8b40aa90090fdc97a4a0dbb9a3bd595bde3f9553182634",
            "sha256:e8ebf6301c4d017c1006aaa1bc2b704729210da423fb14113425b8c7c426656a",
            "sha256:32e53a0f789c90b19de621bad4ab6ff1f86a2eabb5a13bee3f1c5a9413218a44",
            "sha256:c1606c8472bfae538204d3ec8569c895ff0276f08f5d377562c30b2412fbbed9",
            "sha256:e1cbb22f9fc40cbf4b8bd4d0b84e2f3860aac4dcc23198b4d8bec1f68a7e5472",
            "sha256:eff152ad66ada5a7948f8d82c20d1c63555ade48ee915fe5cf7c4ca5f37311a4",
            "sha256:1b311f3353430d8065cb675fbd0e801291c6aaacfbcedc3d42f5019b1e9f5001",
            "sha256:eff62618e77f37147108690c8e3634a9350f23ce5236d314d747551814eb105e",
            "sha256:954e52f836e5af5dbb2d31508adbcaf7ae3ef648c880f458d4ba40d77413c766",
            "sha256:d43710f502a0f4d3997867243c029980e35f35aa25eff1a005ee5b0d74153970",
            "sha256:a87a4e6c66cd601d720fdc0f0f656d72c744dd0d6c8332327e3375676c403c0b",
            "sha256:cdb7e116e4a357a6d94a6f96f6fcfb5d523de9cc47e58c7dfab961ffe73306f5",
            "sha256:a1b4858094350300b7cfcb95acd9cf24d9342586fcd83a7ed1bfd5d3c4465eac",
            "sha256:eb1eb90286afe8014d4c82208c2562a1137ad93bbf2de39ae249f30f40df46da",
            "sha256:d24b3864d2d30bab632f31cbd5b0a4e64202779fc9f63a977184f569f13496fd",
            "sha256:abd40e3226869755788c4c7e9c4769dc52b9b0d0b34b825ef05e79ab42a7df4b",
            "sha256:2f5f975728112178972bd7784e9230cda16cf140d8d410a23fa8476c5987260c",
            "sha256:eb875f1ae33da2b61685a2d5abe9e85a96fb10c5fb8b4fd43a17950cf53f27c8",
            "sha256:c9d7570abb68dd41b6823e07124e3f8da6d88be8d9b3edf31e2f4f349f5309fd"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-13T15:28:58.98366409+08:00"
    }
}

更多版本