docker.io/library/tomcat:9.0.93-jdk8 linux/amd64

docker.io/library/tomcat:9.0.93-jdk8 - 国内下载镜像源 浏览次数:259 安全受验证的发布者-Docker

Apache Tomcat 是一个开源的 Java Servlet 容器,可以运行 Java 企业应用程序。Tomcat 提供了许多有用的功能,如 HTTP 协议支持、SSL 支持、JK 代理支持等。

源镜像 docker.io/library/tomcat:9.0.93-jdk8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/tomcat:9.0.93-jdk8
镜像ID sha256:a71603ae9c73d25b162a9a5791091e2faa6a1a1cf907a71737ef352e2d5f1f52
镜像TAG 9.0.93-jdk8
大小 349.24MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD catalina.sh run
启动入口
工作目录 /usr/local/tomcat
OS/平台 linux/amd64
浏览量 259 次
贡献者
镜像创建 2024-08-06T08:03:42Z
同步时间 2024-08-16 16:43
更新时间 2024-11-23 09:56
开放端口
8080/tcp
环境变量
PATH=/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/opt/java/openjdk LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk8u422-b05 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=48F8E69F6390C9F25CFEDCD268248959359E722B A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 TOMCAT_MAJOR=9 TOMCAT_VERSION=9.0.93 TOMCAT_SHA512=3069924eb7041ccc0f2aeceb7d8626793a1a073a5b739a840d7974a18ebeb26cc3374cc5f4a3ffc74d3b019c0cb33e3d1fe96296e6663ac75a73c1171811726d
镜像标签
ubuntu: org.opencontainers.image.ref.name 24.04: org.opencontainers.image.version

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/tomcat:9.0.93-jdk8
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/tomcat:9.0.93-jdk8  docker.io/library/tomcat:9.0.93-jdk8

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-08-06 16:03:42 CMD ["catalina.sh" "run"]
0.00B 2024-08-06 16:03:42 ENTRYPOINT []
0.00B 2024-08-06 16:03:42 EXPOSE map[8080/tcp:{}]
0.00B 2024-08-06 16:03:42 RUN /bin/sh -c set -eux; 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 # buildkit
29.04MB 2024-08-06 16:03:42 RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg ; ddist() { local f="$1"; shift; local distFile="$1"; shift; local mvnFile="${1:-}"; local success=; local distUrl=; for distUrl in "https://dlcdn.apache.org/$distFile" "https://archive.apache.org/dist/$distFile" ${mvnFile:+"https://repo1.maven.org/maven2/org/apache/tomcat/tomcat/$mvnFile"} ; do if curl -fL -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 keyserver.ubuntu.com --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*; 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 ; nproc="$(nproc)"; 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) }' | xargs -rt readlink -e | sort -u | xargs -rt dpkg-query --search | cut -d: -f1 | sort -u | tee "$TOMCAT_NATIVE_LIBDIR/.dependencies.txt" | 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 1777 logs temp work; catalina.sh version # buildkit
0.00B 2024-08-06 16:03:42 ENV TOMCAT_SHA512=3069924eb7041ccc0f2aeceb7d8626793a1a073a5b739a840d7974a18ebeb26cc3374cc5f4a3ffc74d3b019c0cb33e3d1fe96296e6663ac75a73c1171811726d
0.00B 2024-08-06 16:03:42 ENV TOMCAT_VERSION=9.0.93
0.00B 2024-08-06 16:03:42 ENV TOMCAT_MAJOR=9
0.00B 2024-08-06 16:03:42 ENV GPG_KEYS=48F8E69F6390C9F25CFEDCD268248959359E722B A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243
0.00B 2024-08-06 16:03:42 ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib
0.00B 2024-08-06 16:03:42 ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib
0.00B 2024-08-06 16:03:42 WORKDIR /usr/local/tomcat
0.00B 2024-08-06 16:03:42 RUN /bin/sh -c mkdir -p "$CATALINA_HOME" # buildkit
0.00B 2024-08-06 16:03:42 ENV PATH=/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-08-06 16:03:42 ENV CATALINA_HOME=/usr/local/tomcat
0.00B 2024-07-25 06:19:06 ENTRYPOINT ["/bin/bash" "/__cacert_entrypoint.sh"]
4.55KB 2024-07-25 06:19:06 COPY entrypoint.sh /__cacert_entrypoint.sh # buildkit
0.00B 2024-07-25 06:19:06 RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "javac -version"; javac -version; echo "java -version"; java -version; echo "Complete." # buildkit
204.52MB 2024-07-25 06:19:06 RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='4c6056f6167fae73ace7c3080b78940be5c87d54f5b08894b3517eed1cbb2c06'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u422-b05/OpenJDK8U-jdk_x64_linux_hotspot_8u422b05.tar.gz'; ;; arm64) ESUM='af98a839ec238106078bd360af9e405dc6665c05ee837178ed13b92193681923'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u422-b05/OpenJDK8U-jdk_aarch64_linux_hotspot_8u422b05.tar.gz'; ;; armhf) ESUM='5bd0203b2b09b033e3a762299a4975939d7571b433eab8b59340cc966102bef1'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u422-b05/OpenJDK8U-jdk_arm_linux_hotspot_8u422b05.tar.gz'; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1; rm -rf /var/lib/apt/lists/*; ;; ppc64el) ESUM='78fbd7b01204cdf90bcb3f9fe6a8e9432bdaa75776fa333aa9cbcb5a79de34cd'; BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u422-b05/OpenJDK8U-jdk_ppc64le_linux_hotspot_8u422b05.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; # buildkit
0.00B 2024-07-25 06:19:06 ENV JAVA_VERSION=jdk8u422-b05
37.63MB 2024-07-25 06:19:06 RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-07-25 06:19:06 ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2024-07-25 06:19:06 ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-07-25 06:19:06 ENV JAVA_HOME=/opt/java/openjdk
0.00B 2024-06-07 20:00:09 /bin/sh -c #(nop) CMD ["/bin/bash"]
78.05MB 2024-06-07 20:00:08 /bin/sh -c #(nop) ADD file:5601f441718b0d192d73394b35fd07675342837ec9089ddd52dd1dc0de79630e in /
0.00B 2024-06-07 20:00:06 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
0.00B 2024-06-07 20:00:06 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-06-07 20:00:06 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-06-07 20:00:06 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:a71603ae9c73d25b162a9a5791091e2faa6a1a1cf907a71737ef352e2d5f1f52",
    "RepoTags": [
        "tomcat:9.0.93-jdk8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/tomcat:9.0.93-jdk8"
    ],
    "RepoDigests": [
        "tomcat@sha256:a45994da1f73cce4bec519e38a97f354a82906be8471a19baf6fd2172daa8831",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/tomcat@sha256:62aa6380f035655046480a072043348c210ba56de89dfb2e3517b56ed1048173"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-08-06T08:03:42Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "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:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/opt/java/openjdk",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "LC_ALL=en_US.UTF-8",
            "JAVA_VERSION=jdk8u422-b05",
            "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=48F8E69F6390C9F25CFEDCD268248959359E722B A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243",
            "TOMCAT_MAJOR=9",
            "TOMCAT_VERSION=9.0.93",
            "TOMCAT_SHA512=3069924eb7041ccc0f2aeceb7d8626793a1a073a5b739a840d7974a18ebeb26cc3374cc5f4a3ffc74d3b019c0cb33e3d1fe96296e6663ac75a73c1171811726d"
        ],
        "Cmd": [
            "catalina.sh",
            "run"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/usr/local/tomcat",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "24.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 349235659,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2c410f01c5da6239fd5f3ae817f2a67efbf57d97622dfac23d13a47c8892393c/diff:/var/lib/docker/overlay2/c179beabc6d4846ff1def1e8c7ae2843c129983a08df26760fbd6da0c44e2623/diff:/var/lib/docker/overlay2/706ba7ad6d1423fcc4a4f90c963faba8576307d79d3880e8d82dd50235f971f8/diff:/var/lib/docker/overlay2/5da8714322dff78300f8951de73738b695befcc6a443347150f23c1090d6d51a/diff:/var/lib/docker/overlay2/c468214b4ee765868e521dd94f4411299a6d1725b0f31a2325550f228751aac0/diff:/var/lib/docker/overlay2/48b3f11ae5332ad9f5b238441603da931e0ee6937bc8c5c62223541a465e7ce7/diff:/var/lib/docker/overlay2/f6485eac7fb8638aa4826045d3df81c91b5070947c4a280a216ccb3695eb0ac1/diff:/var/lib/docker/overlay2/28f8b93478e4d159e51f8f97329670549e461590ce42cddaa16330bb2c012b3a/diff",
            "MergedDir": "/var/lib/docker/overlay2/ee2e8c1d77b8eca8a0c9bcc81bf0c6e4084d76976ce248d0828e87a4214ea615/merged",
            "UpperDir": "/var/lib/docker/overlay2/ee2e8c1d77b8eca8a0c9bcc81bf0c6e4084d76976ce248d0828e87a4214ea615/diff",
            "WorkDir": "/var/lib/docker/overlay2/ee2e8c1d77b8eca8a0c9bcc81bf0c6e4084d76976ce248d0828e87a4214ea615/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a30a5965a4f7d9d5ff76a46eb8939f58e95be844de1ac4a4b452d5d31158fdea",
            "sha256:12fa8d9dfb01ad62678ef49769b8056bdd973b3e89840e3848d00416662bd2ca",
            "sha256:ce0668c299ce674ac777886f7106d7de501daf9a9341fd0b49b2709d228da4a0",
            "sha256:93453079d7b41539d2ee7deb4cf8cfe80b1c5d2d8cfa077c1f6b8e8987d4fba0",
            "sha256:c836091729ccf8fdb72465b328654c7520c13f33c5767e33f58f58dbd43dc065",
            "sha256:289d7d904cae6a92def5ceed073bc23175a2844bc88c45874950173cb2e53b8e",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:92cbd3a4c976bee4e163228fd8db9a55b8afe671cd68d870c461b6e7ab1aaa89",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-16T16:43:18.54152007+08:00"
    }
}

更多版本

docker.io/library/tomcat:9.0.93-jdk8

linux/amd64 docker.io349.24MB2024-08-16 16:43
258