docker.io/library/php:8.3.10-fpm linux/amd64

docker.io/library/php:8.3.10-fpm - 国内下载镜像源 浏览次数:32 安全受验证的发布者-Docker
这是镜像描述信息:

PHP是用于Web开发的一种脚本语言,旨在使网络开发变得容易快速。它最初由Rasmus Lerdorf于1995年创建,后来由Andi Gutmans、Sascha Schumann和Zeev Suraski等人继续发展。目前,PHP 7.x已成为最流行的Web服务器语言之一。

源镜像 docker.io/library/php:8.3.10-fpm
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.10-fpm
镜像ID sha256:f07154f74a142c0c7e17393fd2e90180b8ab197f88203fa308d744b1eb30b31d
镜像TAG 8.3.10-fpm
大小 498.90MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD php-fpm
启动入口 docker-php-entrypoint
工作目录 /var/www/html
OS/平台 linux/amd64
浏览量 32 次
贡献者 ch*****n@hudongtang.cn
镜像创建 2024-08-13T01:37:39.409950367Z
同步时间 2025-01-08 14:36
更新时间 2025-01-15 22:53
开放端口
9000/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c PHP_INI_DIR=/usr/local/etc/php PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 PHP_LDFLAGS=-Wl,-O1 -pie GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA PHP_VERSION=8.3.10 PHP_URL=https://www.php.net/distributions/php-8.3.10.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.10.tar.xz.asc PHP_SHA256=a0f2179d00931fe7631a12cbc3428f898ca3d99fe564260c115af381d2a1978d
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.6 扫描引擎: Trivy 扫描时间: 2025-01-08 14:37

低危漏洞:266 中危漏洞:1035 高危漏洞:266 严重漏洞:2

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.10-fpm
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.10-fpm  docker.io/library/php:8.3.10-fpm

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.10-fpm
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.10-fpm  docker.io/library/php:8.3.10-fpm

Shell快速替换命令

sed -i 's#library/php:8.3.10-fpm#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.10-fpm#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-08-13 09:37:39  0.00B 
/bin/sh -c #(nop)  CMD ["php-fpm"]
                        
# 2024-08-13 09:37:39  0.00B 
/bin/sh -c #(nop)  EXPOSE 9000
                        
# 2024-08-13 09:37:39  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGQUIT
                        
# 2024-08-13 09:37:39  28.01KB 
/bin/sh -c set -eux; 	cd /usr/local/etc; 	if [ -d php-fpm.d ]; then 		sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; 		cp php-fpm.d/www.conf.default php-fpm.d/www.conf; 	else 		mkdir php-fpm.d; 		cp php-fpm.conf.default php-fpm.d/www.conf; 		{ 			echo '[global]'; 			echo 'include=etc/php-fpm.d/*.conf'; 		} | tee php-fpm.conf; 	fi; 	{ 		echo '[global]'; 		echo 'error_log = /proc/self/fd/2'; 		echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; 		echo; 		echo '[www]'; 		echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; 		echo '; https://bugs.php.net/bug.php?id=73886'; 		echo 'access.log = /proc/self/fd/2'; 		echo; 		echo 'clear_env = no'; 		echo; 		echo '; Ensure worker stdout and stderr are sent to the main error log.'; 		echo 'catch_workers_output = yes'; 		echo 'decorate_workers_output = no'; 	} | tee php-fpm.d/docker.conf; 	{ 		echo '[global]'; 		echo 'daemonize = no'; 		echo; 		echo '[www]'; 		echo 'listen = 9000'; 	} | tee php-fpm.d/zz-docker.conf; 	mkdir -p "$PHP_INI_DIR/conf.d"; 	{ 		echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; 		echo 'fastcgi.logging = Off'; 	} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
                        
# 2024-08-13 09:37:38  0.00B 
/bin/sh -c #(nop) WORKDIR /var/www/html
                        
# 2024-08-13 09:37:38  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-php-entrypoint"]
                        
# 2024-08-13 09:37:38  17.00B 
/bin/sh -c docker-php-ext-enable sodium
                        
# 2024-08-13 09:37:37  7.20KB 
/bin/sh -c #(nop) COPY multi:869bde9dbeae74886a05c9e2107b3e3b4877116db8c6d9adbaff2719f9fb5262 in /usr/local/bin/ 
                        
# 2024-08-13 09:37:37  94.76MB 
/bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		libargon2-dev 		libcurl4-openssl-dev 		libonig-dev 		libreadline-dev 		libsodium-dev 		libsqlite3-dev 		libssl-dev 		libxml2-dev 		zlib1g-dev 	; 		export 		CFLAGS="$PHP_CFLAGS" 		CPPFLAGS="$PHP_CPPFLAGS" 		LDFLAGS="$PHP_LDFLAGS" 		PHP_BUILD_PROVIDER='https://github.com/docker-library/php' 		PHP_UNAME='Linux - Docker' 	; 	docker-php-source extract; 	cd /usr/src/php; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; 	if [ ! -d /usr/include/curl ]; then 		ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; 	fi; 	./configure 		--build="$gnuArch" 		--with-config-file-path="$PHP_INI_DIR" 		--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" 				--enable-option-checking=fatal 				--with-mhash 				--with-pic 				--enable-mbstring 		--enable-mysqlnd 		--with-password-argon2 		--with-sodium=shared 		--with-pdo-sqlite=/usr 		--with-sqlite3=/usr 				--with-curl 		--with-iconv 		--with-openssl 		--with-readline 		--with-zlib 				--disable-phpdbg 				--with-pear 				--with-libdir="lib/$debMultiarch" 				--disable-cgi 				--enable-fpm 		--with-fpm-user=www-data 		--with-fpm-group=www-data 	; 	make -j "$(nproc)"; 	find -type f -name '*.a' -delete; 	make install; 	find 		/usr/local 		-type f 		-perm '/0111' 		-exec sh -euxc ' 			strip --strip-all "$@" || : 		' -- '{}' + 	; 	make clean; 		cp -v php.ini-* "$PHP_INI_DIR/"; 		cd /; 	docker-php-source delete; 		apt-mark auto '.*' > /dev/null; 	[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; 	find /usr/local -type f -executable -exec ldd '{}' ';' 		| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' 		| 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/*; 		pecl update-channels; 	rm -rf /tmp/pear ~/.pearrc; 		php --version
                        
# 2024-08-13 09:26:31  587.00B 
/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/ 
                        
# 2024-08-13 09:26:31  13.70MB 
/bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends gnupg; 	rm -rf /var/lib/apt/lists/*; 		mkdir -p /usr/src; 	cd /usr/src; 		curl -fsSL -o php.tar.xz "$PHP_URL"; 		if [ -n "$PHP_SHA256" ]; then 		echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; 	fi; 		if [ -n "$PHP_ASC_URL" ]; then 		curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; 		export GNUPGHOME="$(mktemp -d)"; 		for key in $GPG_KEYS; do 			gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; 		done; 		gpg --batch --verify php.tar.xz.asc php.tar.xz; 		gpgconf --kill all; 		rm -rf "$GNUPGHOME"; 	fi; 		apt-mark auto '.*' > /dev/null; 	apt-mark manual $savedAptMark > /dev/null; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
                        
# 2024-08-13 09:26:20  0.00B 
/bin/sh -c #(nop)  ENV PHP_SHA256=a0f2179d00931fe7631a12cbc3428f898ca3d99fe564260c115af381d2a1978d
                        
# 2024-08-13 09:26:20  0.00B 
/bin/sh -c #(nop)  ENV PHP_URL=https://www.php.net/distributions/php-8.3.10.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.10.tar.xz.asc
                        
# 2024-08-13 09:26:20  0.00B 
/bin/sh -c #(nop)  ENV PHP_VERSION=8.3.10
                        
# 2024-08-13 09:26:20  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
                        
# 2024-08-13 08:56:26  0.00B 
/bin/sh -c #(nop)  ENV PHP_LDFLAGS=-Wl,-O1 -pie
                        
# 2024-08-13 08:56:26  0.00B 
/bin/sh -c #(nop)  ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2024-08-13 08:56:26  0.00B 
/bin/sh -c #(nop)  ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2024-08-13 08:56:25  0.00B 
/bin/sh -c set -eux; 	mkdir -p "$PHP_INI_DIR/conf.d"; 	[ ! -d /var/www/html ]; 	mkdir -p /var/www/html; 	chown www-data:www-data /var/www/html; 	chmod 1777 /var/www/html
                        
# 2024-08-13 08:56:25  0.00B 
/bin/sh -c #(nop)  ENV PHP_INI_DIR=/usr/local/etc/php
                        
# 2024-08-13 08:56:24  315.63MB 
/bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		$PHPIZE_DEPS 		ca-certificates 		curl 		xz-utils 	; 	rm -rf /var/lib/apt/lists/*
                        
# 2024-08-13 08:56:07  0.00B 
/bin/sh -c #(nop)  ENV PHPIZE_DEPS=autoconf 		dpkg-dev 		file 		g++ 		gcc 		libc-dev 		make 		pkg-config 		re2c
                        
# 2024-08-13 08:56:07  46.00B 
/bin/sh -c set -eux; 	{ 		echo 'Package: php*'; 		echo 'Pin: release *'; 		echo 'Pin-Priority: -1'; 	} > /etc/apt/preferences.d/no-debian-php
                        
# 2024-08-13 08:20:20  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-08-13 08:20:20  74.78MB 
/bin/sh -c #(nop) ADD file:3d9897cfe027ecc7cbdb16e74a676ed143725ea2d08dbb0dde23309e041de0f3 in / 
                        
                    

镜像信息

{
    "Id": "sha256:f07154f74a142c0c7e17393fd2e90180b8ab197f88203fa308d744b1eb30b31d",
    "RepoTags": [
        "php:8.3.10-fpm",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.10-fpm"
    ],
    "RepoDigests": [
        "php@sha256:bf53cbae8cf08d175d35e7709d3c7fcd6c6127eb5ecc35b7860fa70abb5e9cc6",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php@sha256:f6da1ff498ecebb63807bfbcd7a6693116363dd4d94ea8e7967871b1049d64e7"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2024-08-13T01:37:39.409950367Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "23.0.11",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "9000/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "PHPIZE_DEPS=autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c",
            "PHP_INI_DIR=/usr/local/etc/php",
            "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
            "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
            "PHP_LDFLAGS=-Wl,-O1 -pie",
            "GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA",
            "PHP_VERSION=8.3.10",
            "PHP_URL=https://www.php.net/distributions/php-8.3.10.tar.xz",
            "PHP_ASC_URL=https://www.php.net/distributions/php-8.3.10.tar.xz.asc",
            "PHP_SHA256=a0f2179d00931fe7631a12cbc3428f898ca3d99fe564260c115af381d2a1978d"
        ],
        "Cmd": [
            "php-fpm"
        ],
        "Image": "sha256:f0d769b5446b4e9b7a6d9dec9e286bae486193d66d7b5a5371ff22fd0eb247f6",
        "Volumes": null,
        "WorkingDir": "/var/www/html",
        "Entrypoint": [
            "docker-php-entrypoint"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGQUIT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 498903430,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f4a7b8fb05d5a4695826e1d5681595a689c8fd53c38bc2140af00c14ba7a0d2c/diff:/var/lib/docker/overlay2/024ac6f1aabd7017ca076ec3b6b353af36e4aa8ac4f648b57107854ab4d3d6cb/diff:/var/lib/docker/overlay2/19241204e3d8fae4acfdf2bf8bf8dbe28bbba439732766d2bee29c65f743afe9/diff:/var/lib/docker/overlay2/1cdc77d6374f1e514ab7aa10230193d72329b326b3e6363af9af4f82688f9ea0/diff:/var/lib/docker/overlay2/ef9c0331b0c0d87b09156c302a045ecd6809155371d4ec928ea020c8ff286321/diff:/var/lib/docker/overlay2/7f3f4f7cdef238d29f12555137f9c9a4165f272971f6b651486aea0ba4a2a7d2/diff:/var/lib/docker/overlay2/1b1757a0cc55f906fbd67f39f244b1ba604d001f302e516180087fee41c6a615/diff:/var/lib/docker/overlay2/94ded4acc194d0b3d0eb13cdf212584493be037e675ca944e691620b2c222e5e/diff:/var/lib/docker/overlay2/4718a9dc8182bd77467a0e41b78eb1e17cbd8058d35092b685621cee98a19bd8/diff",
            "MergedDir": "/var/lib/docker/overlay2/aa9b20b202d61d652f36d2600e3e18aae0469fa459775ea7c8a23b59a2be202e/merged",
            "UpperDir": "/var/lib/docker/overlay2/aa9b20b202d61d652f36d2600e3e18aae0469fa459775ea7c8a23b59a2be202e/diff",
            "WorkDir": "/var/lib/docker/overlay2/aa9b20b202d61d652f36d2600e3e18aae0469fa459775ea7c8a23b59a2be202e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9853575bc4f955c5892dd64187538a6cd02dba6968eba9201854876a7a257034",
            "sha256:4cae4ea97049ffe77607650a058d069bcfd37d79c2d0b8907ec937bc31f53af6",
            "sha256:7f0d23b78477cf960f0e870890d4e7f57107b2c21120832cb8a3ff59a84eb7cc",
            "sha256:8f42af1dd50e140a19f623041d48ce4937c89d5661ba6ee5adfae38d300c883a",
            "sha256:0ed0ef70e14df609dad347d20b110809d8262548604b6b68a43011ffa1147488",
            "sha256:15f130640270822c84fd6b3ffa87e671a59444768bc042269c1b5e6dba2a1e2c",
            "sha256:b26a3d79c5dbcf0cdf5a0ccdd61b63a8d30d39214d3293a7e3fa6112c4110e51",
            "sha256:850cb66790989b9abc8ecf2516bfe8399b01d611a82bcbdf6ab0e2ecc221ecc0",
            "sha256:e23624f44344f5e0a1448e583dab1f4acdeaf45d66c6ddf8ad68cbcf7efe5d0d",
            "sha256:06ddb26f17c861673f18eacc2dff89690415587fe0b2115727ccc0c02a2e96ba"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-08T14:36:08.243131465+08:00"
    }
}

更多版本

docker.io/library/php:7.2.34-fpm-alpine

linux/amd64 docker.io74.15MB2024-09-20 12:42
175

docker.io/library/php:5.6.40-alpine

linux/amd64 docker.io54.34MB2024-10-04 02:35
113

docker.io/library/php:7.4-apache

linux/amd64 docker.io452.59MB2024-10-22 20:36
287

docker.io/library/php:7.4.33-fpm-alpine

linux/amd64 docker.io66.76MB2024-10-30 15:06
137

docker.io/library/php:7.4-apache-buster

linux/amd64 docker.io397.63MB2024-12-04 18:45
52

docker.io/library/php:7.4.33-apache-buster

linux/amd64 docker.io397.63MB2024-12-19 11:56
37

docker.io/library/php:7.4.33-fpm

linux/amd64 docker.io443.14MB2024-12-27 17:28
41

docker.io/library/php:8.2.27-cli-alpine3.20

linux/amd64 docker.io104.19MB2025-01-06 09:54
33

docker.io/library/php:8.2-cli

linux/amd64 docker.io526.65MB2025-01-06 10:10
27

docker.io/library/php:8.3.15-cli

linux/amd64 docker.io534.50MB2025-01-06 10:11
28

docker.io/library/php:8.3.10-fpm

linux/amd64 docker.io498.90MB2025-01-08 14:36
31