docker.io/tomcat:10.0.0-M5-jdk8-openjdk linux/amd64

docker.io/tomcat:10.0.0-M5-jdk8-openjdk - 国内下载镜像源 浏览次数:235
Apache Tomcat 是一个基于 Java 的 web 服务器软件,提供了 HTTP 和 HTTPS 等协议支持。该镜像用于运行 Apache Tomcat 服务,用于部署和运行 JavaEE 应用程序。
源镜像 docker.io/tomcat:10.0.0-M5-jdk8-openjdk
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk
镜像ID sha256:6d3fccb104f25154a76e6f78c6f4bc26e57184a834d76d5276bd3e2b7dc64bcf
镜像TAG 10.0.0-M5-jdk8-openjdk
大小 529.59MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD catalina.sh run
启动入口
工作目录 /usr/local/tomcat
OS/平台 linux/amd64
浏览量 235 次
贡献者
镜像创建 2020-05-16T12:03:10.543661998Z
同步时间 2024-10-21 19:58
更新时间 2024-11-21 14:27
开放端口
8080/tcp
环境变量
PATH=/usr/local/tomcat/bin:/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 JAVA_HOME=/usr/local/openjdk-8 JAVA_VERSION=8u252 JAVA_BASE_URL=https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u252-b09/OpenJDK8U-jdk_ JAVA_URL_VERSION=8u252b09 CATALINA_HOME=/usr/local/tomcat TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib GPG_KEYS=A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 TOMCAT_MAJOR=10 TOMCAT_VERSION=10.0.0-M5 TOMCAT_SHA512=09d6d4c084857d3a7846fdb4ed562ef49402a164dbd140636a7d8fe1370f902f56144d8a20cc71b698189b873ce38cec2a12c38abedb6d7173b091eb46ea26a9
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 10.4 扫描引擎: Trivy 扫描时间: 2024-10-27 23:06

低危漏洞:254 中危漏洞:242 高危漏洞:298 严重漏洞:63

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk  docker.io/tomcat:10.0.0-M5-jdk8-openjdk

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk  docker.io/tomcat:10.0.0-M5-jdk8-openjdk

Shell快速替换命令

sed -i 's#tomcat:10.0.0-M5-jdk8-openjdk#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk  docker.io/tomcat:10.0.0-M5-jdk8-openjdk'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk  docker.io/tomcat:10.0.0-M5-jdk8-openjdk'

镜像历史

大小 创建时间 层信息
0.00B 2020-05-16 20:03:10 /bin/sh -c #(nop) CMD ["catalina.sh" "run"]
0.00B 2020-05-16 20:03:10 /bin/sh -c #(nop) EXPOSE 8080
0.00B 2020-05-16 20:03:10 /bin/sh -c set -e && nativeLines="$(catalina.sh configtest 2>&1)" && nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')" && nativeLines="$(echo "$nativeLines" | sort -u)" && if ! echo "$nativeLines" | grep -E 'INFO: Loaded( APR based)? Apache Tomcat Native library' >&2; then echo >&2 "$nativeLines"; exit 1; fi
19.32MB 2020-05-16 20:03:07 /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr wget ca-certificates ; ddist() { local f="$1"; shift; local distFile="$1"; shift; local mvnFile="${1:-}"; local success=; local distUrl=; for distUrl in "https://www.apache.org/dyn/closer.cgi?action=download&filename=$distFile" "https://www-us.apache.org/dist/$distFile" "https://www.apache.org/dist/$distFile" "https://archive.apache.org/dist/$distFile" ${mvnFile:+"https://repo1.maven.org/maven2/org/apache/tomcat/tomcat/$mvnFile"} ; do if wget -O "$f" "$distUrl" && [ -s "$f" ]; then success=1; break; fi; done; [ -n "$success" ]; }; ddist 'tomcat.tar.gz' "tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz" "$TOMCAT_VERSION/tomcat-$TOMCAT_VERSION.tar.gz"; echo "$TOMCAT_SHA512 *tomcat.tar.gz" | sha512sum --strict --check -; ddist 'tomcat.tar.gz.asc' "tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz.asc" "$TOMCAT_VERSION/tomcat-$TOMCAT_VERSION.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done; gpg --batch --verify tomcat.tar.gz.asc tomcat.tar.gz; tar -xf tomcat.tar.gz --strip-components=1; rm bin/*.bat; rm tomcat.tar.gz*; command -v gpgconf && gpgconf --kill all || :; rm -rf "$GNUPGHOME"; mv webapps webapps.dist; mkdir webapps; nativeBuildDir="$(mktemp -d)"; tar -xf bin/tomcat-native.tar.gz -C "$nativeBuildDir" --strip-components=1; apt-get install -y --no-install-recommends dpkg-dev gcc libapr1-dev libssl-dev make ; ( export CATALINA_HOME="$PWD"; cd "$nativeBuildDir/native"; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; aprConfig="$(command -v apr-1-config)"; ./configure --build="$gnuArch" --libdir="$TOMCAT_NATIVE_LIBDIR" --prefix="$CATALINA_HOME" --with-apr="$aprConfig" --with-java-home="$JAVA_HOME" --with-ssl=yes; make -j "$(nproc)"; make install; ); rm -rf "$nativeBuildDir"; rm bin/tomcat-native.tar.gz; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find "$TOMCAT_NATIVE_LIBDIR" -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; find ./bin/ -name '*.sh' -exec sed -ri 's|^#!/bin/sh$|#!/usr/bin/env bash|' '{}' +; chmod -R +rX .; chmod 777 logs temp work
0.00B 2020-05-16 20:02:34 /bin/sh -c #(nop) ENV TOMCAT_SHA512=09d6d4c084857d3a7846fdb4ed562ef49402a164dbd140636a7d8fe1370f902f56144d8a20cc71b698189b873ce38cec2a12c38abedb6d7173b091eb46ea26a9
0.00B 2020-05-16 20:02:34 /bin/sh -c #(nop) ENV TOMCAT_VERSION=10.0.0-M5
0.00B 2020-05-16 20:02:34 /bin/sh -c #(nop) ENV TOMCAT_MAJOR=10
0.00B 2020-05-16 20:02:33 /bin/sh -c #(nop) ENV GPG_KEYS=A9C5DF4D22E99998D9875A5110C01C5A2F6059E7
0.00B 2020-05-16 20:02:33 /bin/sh -c #(nop) ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib
0.00B 2020-05-16 20:02:33 /bin/sh -c #(nop) ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib
0.00B 2020-05-16 20:02:33 /bin/sh -c #(nop) WORKDIR /usr/local/tomcat
0.00B 2020-05-16 20:02:33 /bin/sh -c mkdir -p "$CATALINA_HOME"
0.00B 2020-05-16 20:02:32 /bin/sh -c #(nop) ENV PATH=/usr/local/tomcat/bin:/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2020-05-16 20:02:32 /bin/sh -c #(nop) ENV CATALINA_HOME=/usr/local/tomcat
205.57MB 2020-05-16 05:04:23 /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64) upstreamArch='x64' ;; arm64) upstreamArch='aarch64' ;; *) echo >&2 "error: unsupported architecture: $dpkgArch" ;; esac; wget -O openjdk.tgz.asc "${JAVA_BASE_URL}${upstreamArch}_linux_${JAVA_URL_VERSION}.tar.gz.sign"; wget -O openjdk.tgz "${JAVA_BASE_URL}${upstreamArch}_linux_${JAVA_URL_VERSION}.tar.gz" --progress=dot:giga; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --keyserver-options no-self-sigs-only --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --list-sigs --keyid-format 0xLONG CA5F11C6CE22644D42C6AC4492EF8D39DC13168F | tee /dev/stderr | grep '0xA5CD6035332FA671' | grep 'Andrew Haley'; gpg --batch --verify openjdk.tgz.asc openjdk.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME"; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'if ! [ -d "$JAVA_HOME" ]; then echo >&2 "error: missing JAVA_HOME environment variable"; exit 1; fi'; echo 'cacertsFile=; for f in "$JAVA_HOME/lib/security/cacerts" "$JAVA_HOME/jre/lib/security/cacerts"; do if [ -e "$f" ]; then cacertsFile="$f"; break; fi; done'; echo 'if [ -z "$cacertsFile" ] || ! [ -f "$cacertsFile" ]; then echo >&2 "error: failed to find cacerts file in $JAVA_HOME"; exit 1; fi'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$cacertsFile"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; javac -version; java -version
0.00B 2020-05-16 05:04:12 /bin/sh -c #(nop) ENV JAVA_URL_VERSION=8u252b09
0.00B 2020-05-16 05:04:12 /bin/sh -c #(nop) ENV JAVA_BASE_URL=https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u252-b09/OpenJDK8U-jdk_
0.00B 2020-05-16 05:04:12 /bin/sh -c #(nop) ENV JAVA_VERSION=8u252
27.00B 2020-05-16 05:04:12 /bin/sh -c { echo '#/bin/sh'; echo 'echo "$JAVA_HOME"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home && [ "$JAVA_HOME" = "$(docker-java-home)" ]
0.00B 2020-05-16 05:04:11 /bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2020-05-16 05:04:10 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-8
0.00B 2020-05-16 05:02:20 /bin/sh -c #(nop) ENV LANG=C.UTF-8
11.10MB 2020-05-16 05:02:20 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 unzip xz-utils ca-certificates p11-kit fontconfig libfreetype6 ; rm -rf /var/lib/apt/lists/*
145.53MB 2020-05-16 01:32:41 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
17.54MB 2020-05-16 01:32:19 /bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
16.48MB 2020-05-16 01:32:13 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl netbase wget && rm -rf /var/lib/apt/lists/*
0.00B 2020-05-15 14:28:13 /bin/sh -c #(nop) CMD ["bash"]
114.06MB 2020-05-15 14:28:12 /bin/sh -c #(nop) ADD file:fb54c709daa205bf9d04eb3d90ba068db4c34dfe3b6ec0d7691f677286120903 in /

镜像信息

{
    "Id": "sha256:6d3fccb104f25154a76e6f78c6f4bc26e57184a834d76d5276bd3e2b7dc64bcf",
    "RepoTags": [
        "tomcat:10.0.0-M5-jdk8-openjdk",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:10.0.0-M5-jdk8-openjdk"
    ],
    "RepoDigests": [
        "tomcat@sha256:0303f8e568e8590aec61bb5800ffd84c86e8ca67de5875e75cbaf7a819553b8c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat@sha256:c7670bc588b4e56bd79ae6d0f98fa73296243b597d9aea093305d26b37302c2e"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-05-16T12:03:10.543661998Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "18.09.7",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8080/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/tomcat/bin:/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "JAVA_HOME=/usr/local/openjdk-8",
            "JAVA_VERSION=8u252",
            "JAVA_BASE_URL=https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u252-b09/OpenJDK8U-jdk_",
            "JAVA_URL_VERSION=8u252b09",
            "CATALINA_HOME=/usr/local/tomcat",
            "TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib",
            "LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib",
            "GPG_KEYS=A9C5DF4D22E99998D9875A5110C01C5A2F6059E7",
            "TOMCAT_MAJOR=10",
            "TOMCAT_VERSION=10.0.0-M5",
            "TOMCAT_SHA512=09d6d4c084857d3a7846fdb4ed562ef49402a164dbd140636a7d8fe1370f902f56144d8a20cc71b698189b873ce38cec2a12c38abedb6d7173b091eb46ea26a9"
        ],
        "Cmd": [
            "catalina.sh",
            "run"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:4ca583e87158b810d17583362bf62e9ed4a7d5c24adf6131bd90501ef2c18bc0",
        "Volumes": null,
        "WorkingDir": "/usr/local/tomcat",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 529594858,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8091a64d03244162088b5d49f40dcc68572d35ff9f87e60faeb2dae41b04ed73/diff:/var/lib/docker/overlay2/6e8e1d03129a05dde39d5cffb4804f5c55009ca73564f3f88d17720be83a17ab/diff:/var/lib/docker/overlay2/7a6d62bc3174a1c7256994fd151f1bf312c12ae6cb481fdf8870c34d7dd3acb7/diff:/var/lib/docker/overlay2/6b3d9a5363a52b66f8438d8bc1261503bd8d66198abde6e30d7dfc04bc197a33/diff:/var/lib/docker/overlay2/172263c27f0c6b6b5ed3747fbe14eca78c85b878e39cff33baf3d4abb21cbe91/diff:/var/lib/docker/overlay2/2980efa5f78a2401155b88d9836cc165c58e9da55ec989ee0eb2f05ccac88df9/diff:/var/lib/docker/overlay2/731bde92fe3860227dd43d03b349116c70ec59cbff8127c6fb5ca6e23c9b4c70/diff:/var/lib/docker/overlay2/1b8afc5774edaaacf2ebc2f2add024d0a669305e22d177a2a60ce0890915a19d/diff:/var/lib/docker/overlay2/665e7d525af98b3ff8b04879c58d82df471352305e4378ed9670ae85f51c0f57/diff",
            "MergedDir": "/var/lib/docker/overlay2/74324927ee44508893e077d02aa1c66a54c27d32fe254c892b2f20b5e4ec4f6f/merged",
            "UpperDir": "/var/lib/docker/overlay2/74324927ee44508893e077d02aa1c66a54c27d32fe254c892b2f20b5e4ec4f6f/diff",
            "WorkDir": "/var/lib/docker/overlay2/74324927ee44508893e077d02aa1c66a54c27d32fe254c892b2f20b5e4ec4f6f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8c02234b86056c009036ff0c31efb9a726412392d9872dacf95103767ac3b101",
            "sha256:7cc1c2d7e744369899e8affd52f9be62076b1ef0205f02ed11547bb5327e5a43",
            "sha256:760e8d95cf58e8696de9ba210ef58522750aee7a1f24c15695f493582002c08e",
            "sha256:88cfc2fcd059f99b165d045b00500d40892c5afaa7181a95d9936350320c8f9c",
            "sha256:155d997ed77ca415391df55e0b61fd4552031f1a1e9615c8bcf9531192ba755c",
            "sha256:715d0a3d2cc2b8ae4c24163aa9526f7792fa24dc7a3c2a75e2cc38757c655fe4",
            "sha256:7d0784c2c563ae1f1bb86682d8a67fbda71b1d55e5e857d431c091e9622b171e",
            "sha256:f7af3efa0a84df8080409985c7ca27dc1b66a9c541c9391e635813940112b6e7",
            "sha256:f89a4d7ac395e9f2f4aa75888345057da5a3fd965e9d12598534fdbc2c224d37",
            "sha256:a1f3b8ad60e45a0dd18508ddfd6a70571f32b33c78d0d56339a03cd76b4ce7be"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-21T19:58:26.112847463+08:00"
    }
}

更多版本

docker.io/tomcat:8.5-jre10-slim

linux/amd64 docker.io315.28MB2024-06-21 18:19
250

docker.io/tomcat:9.0.67-jdk8

linux/amd64 docker.io336.78MB2024-08-07 20:43
739

docker.io/tomcat:9.0.67-jdk8-temurin

linux/amd64 docker.io336.78MB2024-08-07 20:44
132

docker.io/tomcat:9.0.67-jre8-temurin

linux/amd64 docker.io241.05MB2024-08-07 20:59
293

docker.io/tomcat:8-jdk8-openjdk

linux/amd64 docker.io546.46MB2024-08-10 09:45
410

docker.io/tomcat:8.0

linux/amd64 docker.io356.25MB2024-08-11 18:39
310

docker.io/tomcat:9.0.75-jdk8-corretto

linux/amd64 docker.io381.84MB2024-08-16 10:29
283

docker.io/tomcat:7.0.103

linux/amd64 docker.io529.31MB2024-09-11 18:47
210

docker.io/tomcat:8.5.100-jre8-temurin-jammy

linux/arm64 docker.io232.03MB2024-09-11 21:32
172

docker.io/tomcat:8.5-jdk8

linux/amd64 docker.io338.04MB2024-09-27 19:21
268

docker.io/tomcat:10.0.0-M5-jdk8-openjdk

linux/amd64 docker.io529.59MB2024-10-21 19:58
234