docker.io/library/php:8.3.4-fpm-alpine3.19 linux/amd64

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

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

源镜像 docker.io/library/php:8.3.4-fpm-alpine3.19
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.4-fpm-alpine3.19
镜像ID sha256:07660a152dcc6c3d7953aacb6ca147db5381d6a15ad025e5374bf69717f67083
镜像TAG 8.3.4-fpm-alpine3.19
大小 83.05MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD php-fpm
启动入口 docker-php-entrypoint
工作目录 /var/www/html
OS/平台 linux/amd64
浏览量 14 次
贡献者 ru******i@163.com
镜像创建 2024-03-16T00:41:39.360443872Z
同步时间 2025-04-01 21:23
更新时间 2025-04-03 22:34
开放端口
9000/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf 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.4 PHP_URL=https://www.php.net/distributions/php-8.3.4.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.4.tar.xz.asc PHP_SHA256=39a337036a546e5c28aea76cf424ac172db5156bd8a8fd85252e389409a5ba63

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#library/php:8.3.4-fpm-alpine3.19#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.4-fpm-alpine3.19#' 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.4-fpm-alpine3.19 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.4-fpm-alpine3.19  docker.io/library/php:8.3.4-fpm-alpine3.19'

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-03-16 08:41:39  0.00B 
/bin/sh -c #(nop)  CMD ["php-fpm"]
                        
# 2024-03-16 08:41:39  0.00B 
/bin/sh -c #(nop)  EXPOSE 9000
                        
# 2024-03-16 08:41:39  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGQUIT
                        
# 2024-03-16 08:41: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-03-16 08:41:38  0.00B 
/bin/sh -c #(nop) WORKDIR /var/www/html
                        
# 2024-03-16 08:41:38  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-php-entrypoint"]
                        
# 2024-03-16 08:41:38  53.80KB 
/bin/sh -c docker-php-ext-enable sodium
                        
# 2024-03-16 08:41:36  7.20KB 
/bin/sh -c #(nop) COPY multi:869bde9dbeae74886a05c9e2107b3e3b4877116db8c6d9adbaff2719f9fb5262 in /usr/local/bin/ 
                        
# 2024-03-16 08:41:36  57.10MB 
/bin/sh -c set -eux; 	apk add --no-cache --virtual .build-deps 		$PHPIZE_DEPS 		argon2-dev 		coreutils 		curl-dev 		gnu-libiconv-dev 		libsodium-dev 		libxml2-dev 		linux-headers 		oniguruma-dev 		openssl-dev 		readline-dev 		sqlite-dev 	; 		rm -vf /usr/include/iconv.h; 		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)"; 	./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=/usr 		--with-openssl 		--with-readline 		--with-zlib 				--disable-phpdbg 				--with-pear 				$(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') 				--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; 		runDeps="$( 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local 			| tr ',' '\n' 			| sort -u 			| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' 	)"; 	apk add --no-cache $runDeps; 		apk del --no-network .build-deps; 		pecl update-channels; 	rm -rf /tmp/pear ~/.pearrc; 		php --version
                        
# 2024-03-16 08:32:20  587.00B 
/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/ 
                        
# 2024-03-16 08:32:20  12.49MB 
/bin/sh -c set -eux; 		apk add --no-cache --virtual .fetch-deps gnupg; 		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; 		apk del --no-network .fetch-deps
                        
# 2024-03-16 08:32:13  0.00B 
/bin/sh -c #(nop)  ENV PHP_SHA256=39a337036a546e5c28aea76cf424ac172db5156bd8a8fd85252e389409a5ba63
                        
# 2024-03-16 08:32:13  0.00B 
/bin/sh -c #(nop)  ENV PHP_URL=https://www.php.net/distributions/php-8.3.4.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.4.tar.xz.asc
                        
# 2024-03-16 08:32:13  0.00B 
/bin/sh -c #(nop)  ENV PHP_VERSION=8.3.4
                        
# 2024-03-16 08:32:12  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
                        
# 2024-03-16 08:32:12  0.00B 
/bin/sh -c #(nop)  ENV PHP_LDFLAGS=-Wl,-O1 -pie
                        
# 2024-03-16 08:32:12  0.00B 
/bin/sh -c #(nop)  ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2024-03-16 08:32:12  0.00B 
/bin/sh -c #(nop)  ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2024-03-16 08:32:12  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-03-16 08:32:11  0.00B 
/bin/sh -c #(nop)  ENV PHP_INI_DIR=/usr/local/etc/php
                        
# 2024-03-16 08:32:11  4.68KB 
/bin/sh -c set -eux; 	adduser -u 82 -D -S -G www-data www-data
                        
# 2024-03-16 08:32:11  5.99MB 
/bin/sh -c apk add --no-cache 		ca-certificates 		curl 		openssl 		tar 		xz
                        
# 2024-03-16 08:32:09  0.00B 
/bin/sh -c #(nop)  ENV PHPIZE_DEPS=autoconf 		dpkg-dev dpkg 		file 		g++ 		gcc 		libc-dev 		make 		pkgconf 		re2c
                        
# 2024-01-27 08:30:48  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2024-01-27 08:30:48  7.38MB 
/bin/sh -c #(nop) ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in / 
                        
                    

镜像信息

{
    "Id": "sha256:07660a152dcc6c3d7953aacb6ca147db5381d6a15ad025e5374bf69717f67083",
    "RepoTags": [
        "php:8.3.4-fpm-alpine3.19",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:8.3.4-fpm-alpine3.19"
    ],
    "RepoDigests": [
        "php@sha256:966290ecdc9f984d0c5603a2980393f4f6c0f9e771960407cb09893936dbf9f1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php@sha256:4df626957fe8907b11d439553e830fbd815737a2c3ad15af912152ef2958ccf9"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2024-03-16T00:41:39.360443872Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.23",
    "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 dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \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.4",
            "PHP_URL=https://www.php.net/distributions/php-8.3.4.tar.xz",
            "PHP_ASC_URL=https://www.php.net/distributions/php-8.3.4.tar.xz.asc",
            "PHP_SHA256=39a337036a546e5c28aea76cf424ac172db5156bd8a8fd85252e389409a5ba63"
        ],
        "Cmd": [
            "php-fpm"
        ],
        "Image": "sha256:53ed672317546110e7ca035c4cb65c9f25c123895bac0cd49ab760845c22a76b",
        "Volumes": null,
        "WorkingDir": "/var/www/html",
        "Entrypoint": [
            "docker-php-entrypoint"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGQUIT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 83046414,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/700c9abd9c33c8c330228c086d993a75c3efce7f70aa4b4409d939b788b6a46a/diff:/var/lib/docker/overlay2/8d3ac6ff08852fd984e14ac4de9e06ec89f1ab2f51313aa4a2e9bfbb399a681a/diff:/var/lib/docker/overlay2/51da7ab5fd3a5f837a8a44a051e76dac5a5d2172b3634a234e472c99bdda4b58/diff:/var/lib/docker/overlay2/a95b8fda3624b1ede9cfb8193d9bdd108db4320ff11154f5025538a6fd8a9a95/diff:/var/lib/docker/overlay2/6b658d78fc6f8417007cc4ddc4c7298d45c40ed027c7c472c2139c4d344c0d8d/diff:/var/lib/docker/overlay2/e7bc3f631c9b537f6d5dd4a3c262e46143f184d29f89246f9d5488b4b2054636/diff:/var/lib/docker/overlay2/f679ff99843e13eced0c3dd198c9c765714fc43e09389b56e3cc812cf24b62a3/diff:/var/lib/docker/overlay2/54dcc7bc1ca86732edc20e4c5342e4b1d552586f7696604f5d928292e8de2572/diff:/var/lib/docker/overlay2/7f50ebbc9fe911763c3305271225e07480b507724feaac787ae0416589f778b9/diff",
            "MergedDir": "/var/lib/docker/overlay2/c8efef893c48e06cdaa4759eb4a2ac917ece2000ef713f83e2363619de4dd4a7/merged",
            "UpperDir": "/var/lib/docker/overlay2/c8efef893c48e06cdaa4759eb4a2ac917ece2000ef713f83e2363619de4dd4a7/diff",
            "WorkDir": "/var/lib/docker/overlay2/c8efef893c48e06cdaa4759eb4a2ac917ece2000ef713f83e2363619de4dd4a7/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d4fc045c9e3a848011de66f34b81f052d4f2c15a17bb196d637e526349601820",
            "sha256:ac9dba9d21f4a81a7e570dc6850346615b2c524800309b771d27ab197daec34d",
            "sha256:c307e1ff6585d8be314ef782ecb8d33e04346926a6eb424a84bac6532bd65355",
            "sha256:9e2e2872418e0b665d29999f0752844e234a54454f02d73c95d5f825e061ab23",
            "sha256:1572ea7e708ec1419600af97c7585c249986021f3394d8bd99a0c9bd746301a9",
            "sha256:fcc4a49abcf5ae15c615f679ccd89ef11f6e393eb46e2917bd56eb015ea09cdf",
            "sha256:8c8501ca320f0764356fc043366158baf1dab9c1ce92fcb31db1b57b99375b22",
            "sha256:92da4721db375a5808943b09806e837c9cc36aab4abc775d929b0473f6eb2f18",
            "sha256:d632f380fb631e7d845bcde314c8405355ca8d204fc3f424711b5d0d8c51760f",
            "sha256:d595920463fa8503690e77852f6311af9697f0855e4acbbcb3401f9f1b206fba"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-01T21:23:41.744349453+08:00"
    }
}

更多版本

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

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

docker.io/library/php:5.6.40-alpine

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

docker.io/library/php:7.4-apache

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

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

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

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

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

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

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

docker.io/library/php:7.4.33-fpm

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

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

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

docker.io/library/php:8.2-cli

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

docker.io/library/php:8.3.15-cli

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

docker.io/library/php:8.3.10-fpm

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

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

linux/amd64 docker.io84.46MB2025-02-05 20:48
76

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

linux/amd64 docker.io90.68MB2025-02-18 16:22
103

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

linux/amd64 docker.io84.79MB2025-02-19 22:23
87

docker.io/library/php:8.4-fpm

linux/amd64 docker.io503.30MB2025-02-21 12:24
69

docker.io/library/php:8.4-cli

linux/amd64 docker.io547.41MB2025-02-21 12:26
74

docker.io/library/php:8.4.4-fpm

linux/amd64 docker.io503.30MB2025-02-21 15:36
81

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

linux/amd64 docker.io71.63MB2025-02-22 13:26
80

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

linux/amd64 docker.io71.63MB2025-02-22 23:29
61

docker.io/library/php:5.6-apache

linux/amd64 docker.io354.77MB2025-03-05 21:32
54

docker.io/library/php:8.3.4-fpm-alpine3.19

linux/amd64 docker.io83.05MB2025-04-01 21:23
13

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

linux/amd64 docker.io84.90MB2025-04-01 22:43
16

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

linux/arm64 docker.io78.56MB2025-04-01 22:45
9