docker.io/tomcat:9.0.67-jdk8-temurin linux/amd64

docker.io/tomcat:9.0.67-jdk8-temurin - 国内下载镜像源 浏览次数:176
Apache Tomcat 是一个基于 Java 的 web 服务器软件,提供了 HTTP 和 HTTPS 等协议支持。该镜像用于运行 Apache Tomcat 服务,用于部署和运行 JavaEE 应用程序。
源镜像 docker.io/tomcat:9.0.67-jdk8-temurin
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.67-jdk8-temurin
镜像ID sha256:6b6c35305b17090490a7acca66277d1bf823a8d4f0ed3a23e2345708abee57c5
镜像TAG 9.0.67-jdk8-temurin
大小 336.78MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD catalina.sh run
启动入口
工作目录 /usr/local/tomcat
OS/平台 linux/amd64
浏览量 176 次
贡献者
镜像创建 2022-10-06T05:27:16.128309512Z
同步时间 2024-08-07 20:44
更新时间 2025-01-17 09:51
开放端口
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=jdk8u345-b01 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.67 TOMCAT_SHA512=f3c4841754640a21842de9d8ec4674b1a072d42f3ba9d1accea143a61ac4f77b06c789fbcc395c23ed2154ec7e7cd76e6d39743e544f7c6f2022967e8a2334d5

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2022-10-06 13:27:16  0.00B 
/bin/sh -c #(nop)  CMD ["catalina.sh" "run"]
                        
# 2022-10-06 13:27:16  0.00B 
/bin/sh -c #(nop)  EXPOSE 8080
                        
# 2022-10-06 13:27:15  0.00B 
/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
                        
# 2022-10-06 13:27:14  20.31MB 
/bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		curl 		dirmngr 		gnupg 	; 		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://downloads.apache.org/$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 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*; 	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 		; 		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 777 logs temp work; 		catalina.sh version
                        
# 2022-10-06 13:26:47  0.00B 
/bin/sh -c #(nop)  ENV TOMCAT_SHA512=f3c4841754640a21842de9d8ec4674b1a072d42f3ba9d1accea143a61ac4f77b06c789fbcc395c23ed2154ec7e7cd76e6d39743e544f7c6f2022967e8a2334d5
                        
# 2022-10-06 13:26:47  0.00B 
/bin/sh -c #(nop)  ENV TOMCAT_VERSION=9.0.67
                        
# 2022-10-06 13:26:47  0.00B 
/bin/sh -c #(nop)  ENV TOMCAT_MAJOR=9
                        
# 2022-10-06 13:26:47  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=48F8E69F6390C9F25CFEDCD268248959359E722B A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243
                        
# 2022-10-06 13:22:17  0.00B 
/bin/sh -c #(nop)  ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib
                        
# 2022-10-06 13:22:17  0.00B 
/bin/sh -c #(nop)  ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib
                        
# 2022-10-06 13:22:16  0.00B 
/bin/sh -c #(nop) WORKDIR /usr/local/tomcat
                        
# 2022-10-06 13:22:16  0.00B 
/bin/sh -c mkdir -p "$CATALINA_HOME"
                        
# 2022-10-06 13:22:16  0.00B 
/bin/sh -c #(nop)  ENV PATH=/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2022-10-06 13:22:16  0.00B 
/bin/sh -c #(nop)  ENV CATALINA_HOME=/usr/local/tomcat
                        
# 2022-10-06 01:00:44  0.00B 
/bin/sh -c echo Verifying install ...     && echo javac -version && javac -version     && echo java -version && java -version     && echo Complete.
                        
# 2022-10-06 01:00:43  204.28MB 
/bin/sh -c set -eux;     ARCH="$(dpkg --print-architecture)";     case "${ARCH}" in        aarch64|arm64)          ESUM='c1965fb24dded7d7944e2da36cd902adf3b7b1d327aaa21ea507cff00a5a0090';          BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_aarch64_linux_hotspot_8u345b01.tar.gz';          ;;        armhf|arm)          ESUM='af4ecd311df32b405142d5756f966418d0200fbf6cb9009c20a44dc691e8da6f';          BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_arm_linux_hotspot_8u345b01.tar.gz';          apt-get update          && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1          && rm -rf /var/lib/apt/lists/*          ;;        ppc64el|powerpc:common64)          ESUM='f2be72678f6c2ad283453d0e21a6cb03144dda356e4edf79f818d99c37feaf34';          BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_ppc64le_linux_hotspot_8u345b01.tar.gz';          ;;        amd64|i386:x86-64)          ESUM='ed6c9db3719895584fb1fd69fc79c29240977675f26631911c5a1dbce07b7d58';          BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_x64_linux_hotspot_8u345b01.tar.gz';          ;;        *)          echo "Unsupported arch: ${ARCH}";          exit 1;          ;;     esac; 	  wget -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 /tmp/openjdk.tar.gz;     find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf;     ldconfig;
                        
# 2022-10-06 01:00:38  0.00B 
/bin/sh -c #(nop)  ENV JAVA_VERSION=jdk8u345-b01
                        
# 2022-10-06 01:00:37  34.35MB 
/bin/sh -c apt-get update     && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales     && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen     && locale-gen en_US.UTF-8     && rm -rf /var/lib/apt/lists/*
                        
# 2022-10-06 00:59:56  0.00B 
/bin/sh -c #(nop)  ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
                        
# 2022-10-06 00:59:56  0.00B 
/bin/sh -c #(nop)  ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2022-10-06 00:59:56  0.00B 
/bin/sh -c #(nop)  ENV JAVA_HOME=/opt/java/openjdk
                        
# 2022-10-05 07:35:20  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2022-10-05 07:35:20  77.84MB 
/bin/sh -c #(nop) ADD file:6cd2e13356aa5339c1f2abd3c210a52f6ed74fae05cd61aa09f37b6a4764f65c in / 
                        
                    

镜像信息

{
    "Id": "sha256:6b6c35305b17090490a7acca66277d1bf823a8d4f0ed3a23e2345708abee57c5",
    "RepoTags": [
        "tomcat:9.0.67-jdk8",
        "tomcat:9.0.67-jdk8-temurin",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.67-jdk8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.67-jdk8-temurin"
    ],
    "RepoDigests": [
        "tomcat@sha256:45dcce3845001146e6b7c138da88fd61d583907093af5338ca0916b0bf8cda05",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat@sha256:33bcf98291e3cd7920c0b8cdf3c5642307e2e46476ea8fbefffbd558422927cd"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-10-06T05:27:16.128309512Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "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=jdk8u345-b01",
            "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.67",
            "TOMCAT_SHA512=f3c4841754640a21842de9d8ec4674b1a072d42f3ba9d1accea143a61ac4f77b06c789fbcc395c23ed2154ec7e7cd76e6d39743e544f7c6f2022967e8a2334d5"
        ],
        "Cmd": [
            "catalina.sh",
            "run"
        ],
        "Image": "sha256:4bba7d7f67573837e2df3380ac052db28dfb945934cc126dba4e0d69d72b5176",
        "Volumes": null,
        "WorkingDir": "/usr/local/tomcat",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 336781878,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/aea7bb237d97eb2071fbedafeae425687366a16f4161e19bf876a6b0259d0455/diff:/var/lib/docker/overlay2/321d18d735a453b7bf9bbf96c5a9d01814098a2ec630798d5b6f368ebbd092c6/diff:/var/lib/docker/overlay2/91c4a760f2d893cb821f199d73977ca78eb2f2f149fd3cb348b6ecd2dc2c7c62/diff:/var/lib/docker/overlay2/db22d467da68713d39af22b71a5aab2cff209d794db63f1ba8ac6b9e45306bf3/diff:/var/lib/docker/overlay2/d87d35cfbfc2e2c30b3f304f3060762a53b6cf0feccb068efaec5d75ff83dfb0/diff:/var/lib/docker/overlay2/bf02f8769a49f018cac224147388e6ae0759a2bfd10551ca3e27de5d5778dcff/diff",
            "MergedDir": "/var/lib/docker/overlay2/23244906eda81316a328e9444bfd9f25eb7a991c6064a2d975957373e0139711/merged",
            "UpperDir": "/var/lib/docker/overlay2/23244906eda81316a328e9444bfd9f25eb7a991c6064a2d975957373e0139711/diff",
            "WorkDir": "/var/lib/docker/overlay2/23244906eda81316a328e9444bfd9f25eb7a991c6064a2d975957373e0139711/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:17f623af01e277c5ffe6779af8164907de02d9af7a0e161662fc735dd64f117b",
            "sha256:c97e1967001a22469c743b09f1553177893b10bf4b919df9b6eeabed34bdb87c",
            "sha256:00a349eddcd2559a930cb388f212037ec6b82b153de193f78e57d086304ee6c7",
            "sha256:17059b5854f2c169f77747a1253be39761b945085a50cc5e691b61acdafcac84",
            "sha256:3aefd618385a7c93fcff732f6e35dfcc3562e0357edf5354ea18eaa961842440",
            "sha256:ff1a2bc02994c2b3c424e76a9b885147d0adf2e1ea1cb819f8dc2501358d4a02",
            "sha256:eb2896fc852a1e1c77c8bbe0aff22dbdb8a5c9267320052785d3ac9e148e9380"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-07T20:44:36.400557599+08:00"
    }
}

更多版本

docker.io/tomcat:8.5-jre10-slim

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

docker.io/tomcat:9.0.67-jdk8

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

docker.io/tomcat:9.0.67-jdk8-temurin

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

docker.io/tomcat:9.0.67-jre8-temurin

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

docker.io/tomcat:8-jdk8-openjdk

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

docker.io/tomcat:8.0

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

docker.io/tomcat:9.0.75-jdk8-corretto

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

docker.io/tomcat:7.0.103

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

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

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

docker.io/tomcat:8.5-jdk8

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

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

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

docker.io/tomcat:8.5.59-jdk8

linux/amd64 docker.io532.64MB2024-11-22 09:12
91

docker.io/tomcat:8.5.95-jdk8

linux/amd64 docker.io344.32MB2024-11-25 15:37
96

docker.io/tomcat:8.5.100-jdk8

linux/amd64 docker.io338.04MB2024-11-28 13:37
95

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

linux/amd64 docker.io247.29MB2025-01-15 14:15
17