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

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

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

源镜像 docker.io/library/php:7.2.34-fpm-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.2.34-fpm-alpine
镜像ID sha256:a63e75145178597de7d06624f11535967d76aeb55b2841c957dd82faa85be80a
镜像TAG 7.2.34-fpm-alpine
大小 74.15MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD php-fpm
启动入口 docker-php-entrypoint
工作目录 /var/www/html
OS/平台 linux/amd64
浏览量 176 次
贡献者
镜像创建 2020-12-17T10:34:33.572990107Z
同步时间 2024-09-20 12:42
更新时间 2025-01-18 07:18
开放端口
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_EXTRA_CONFIGURE_ARGS=--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi 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=1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F PHP_VERSION=7.2.34 PHP_URL=https://www.php.net/distributions/php-7.2.34.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.2.34.tar.xz.asc PHP_SHA256=409e11bc6a2c18707dfc44bc61c820ddfd81e17481470f3405ee7822d8379903

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2020-12-17 18:34:33  0.00B 
/bin/sh -c #(nop)  CMD ["php-fpm"]
                        
# 2020-12-17 18:34:33  0.00B 
/bin/sh -c #(nop)  EXPOSE 9000
                        
# 2020-12-17 18:34:33  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGQUIT
                        
# 2020-12-17 18:34:32  23.57KB 
/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 '[www]'; 		echo '; if we send this to /proc/self/fd/1, it never appears'; 		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'; 	} | tee php-fpm.d/docker.conf; 	{ 		echo '[global]'; 		echo 'daemonize = no'; 		echo; 		echo '[www]'; 		echo 'listen = 9000'; 	} | tee php-fpm.d/zz-docker.conf
                        
# 2020-12-17 18:34:31  0.00B 
/bin/sh -c #(nop) WORKDIR /var/www/html
                        
# 2020-12-17 18:34:31  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-php-entrypoint"]
                        
# 2020-12-17 18:34:31  46.26KB 
/bin/sh -c docker-php-ext-enable sodium
                        
# 2020-12-17 18:34:30  6.73KB 
/bin/sh -c #(nop) COPY multi:ebc915bbde1078ce3122b918e2e4c7726858af785343ade1a8d1a94f1052a4c7 in /usr/local/bin/ 
                        
# 2020-12-17 18:34:29  53.39MB 
/bin/sh -c set -eux; 	apk add --no-cache --virtual .build-deps 		$PHPIZE_DEPS 		argon2-dev 		coreutils 		curl-dev 		libedit-dev 		libsodium-dev 		libxml2-dev 		openssl-dev 		sqlite-dev 	; 		export CFLAGS="$PHP_CFLAGS" 		CPPFLAGS="$PHP_CPPFLAGS" 		LDFLAGS="$PHP_LDFLAGS" 	; 	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-ftp 		--enable-mbstring 		--enable-mysqlnd 		--with-password-argon2 		--with-sodium=shared 		--with-pdo-sqlite=/usr 		--with-sqlite3=/usr 				--with-curl 		--with-libedit 		--with-openssl 		--with-zlib 				$(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') 				${PHP_EXTRA_CONFIGURE_ARGS:-} 	; 	make -j "$(nproc)"; 	find -type f -name '*.a' -delete; 	make install; 	find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; 	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
                        
# 2020-12-17 18:28:06  587.00B 
/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/ 
                        
# 2020-12-17 18:28:06  12.35MB 
/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 ha.pool.sks-keyservers.net --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
                        
# 2020-12-17 18:28:02  0.00B 
/bin/sh -c #(nop)  ENV PHP_SHA256=409e11bc6a2c18707dfc44bc61c820ddfd81e17481470f3405ee7822d8379903
                        
# 2020-12-17 18:28:02  0.00B 
/bin/sh -c #(nop)  ENV PHP_URL=https://www.php.net/distributions/php-7.2.34.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.2.34.tar.xz.asc
                        
# 2020-12-17 18:28:02  0.00B 
/bin/sh -c #(nop)  ENV PHP_VERSION=7.2.34
                        
# 2020-12-17 18:28:02  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
                        
# 2020-12-17 16:49:00  0.00B 
/bin/sh -c #(nop)  ENV PHP_LDFLAGS=-Wl,-O1 -pie
                        
# 2020-12-17 16:49:00  0.00B 
/bin/sh -c #(nop)  ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2020-12-17 16:49:00  0.00B 
/bin/sh -c #(nop)  ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2020-12-17 16:48:59  0.00B 
/bin/sh -c #(nop)  ENV PHP_EXTRA_CONFIGURE_ARGS=--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi
                        
# 2020-12-17 16:41:57  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 777 /var/www/html
                        
# 2020-12-17 16:41:56  0.00B 
/bin/sh -c #(nop)  ENV PHP_INI_DIR=/usr/local/etc/php
                        
# 2020-12-17 16:41:55  4.68KB 
/bin/sh -c set -eux; 	addgroup -g 82 -S www-data; 	adduser -u 82 -D -S -G www-data www-data
                        
# 2020-12-17 16:41:54  2.75MB 
/bin/sh -c apk add --no-cache 		ca-certificates 		curl 		tar 		xz 		openssl
                        
# 2020-12-17 16:41:53  0.00B 
/bin/sh -c #(nop)  ENV PHPIZE_DEPS=autoconf 		dpkg-dev dpkg 		file 		g++ 		gcc 		libc-dev 		make 		pkgconf 		re2c
                        
# 2020-12-17 08:19:42  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2020-12-17 08:19:41  5.58MB 
/bin/sh -c #(nop) ADD file:ec475c2abb2d46435286b5ae5efacf5b50b1a9e3b6293b69db3c0172b5b9658b in / 
                        
                    

镜像信息

{
    "Id": "sha256:a63e75145178597de7d06624f11535967d76aeb55b2841c957dd82faa85be80a",
    "RepoTags": [
        "php:7.2.34-fpm-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.2.34-fpm-alpine"
    ],
    "RepoDigests": [
        "php@sha256:2e2d92415f3fc552e9a62548d1235f852c864fcdc94bcf2905805d92baefc87f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php@sha256:d8af1b7d45431a43c3a98ed162d569e4d1272067e6591becdfe203a2a4f8dc0a"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-12-17T10:34:33.572990107Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "19.03.12",
    "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_EXTRA_CONFIGURE_ARGS=--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi",
            "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=1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F",
            "PHP_VERSION=7.2.34",
            "PHP_URL=https://www.php.net/distributions/php-7.2.34.tar.xz",
            "PHP_ASC_URL=https://www.php.net/distributions/php-7.2.34.tar.xz.asc",
            "PHP_SHA256=409e11bc6a2c18707dfc44bc61c820ddfd81e17481470f3405ee7822d8379903"
        ],
        "Cmd": [
            "php-fpm"
        ],
        "Image": "sha256:9d923cc438b2ce124acf39f3b03e6e89b33c66c6661248ff4c609084152ef47f",
        "Volumes": null,
        "WorkingDir": "/var/www/html",
        "Entrypoint": [
            "docker-php-entrypoint"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGQUIT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 74150310,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3839cf5d9efc3f45ea5ecb4c534db8a0445780ccefbafaee4f628e5ffe54900c/diff:/var/lib/docker/overlay2/fb9b5e405e4e2aee73132787d5f7e329111a6d149138b592cb5cf1caec06cefe/diff:/var/lib/docker/overlay2/483a3017e0882725ef049792c075ab2c4191320844e121705a16993d739e898c/diff:/var/lib/docker/overlay2/f1e3daa9e770815db8840f28bc273327f03936acf74827f35076b26615a9e9fe/diff:/var/lib/docker/overlay2/c0cb09c11f9906adebf901b2bf4f29f9d18aed7989514d8617563e8ff33a35f9/diff:/var/lib/docker/overlay2/5310bac888cc2fc632d56fdb8c657902a3d675813e4c9a5c75139e8f7c314a34/diff:/var/lib/docker/overlay2/a2f0d3821eafd628cc091aae7018328ed7a89dc38687323c2c35fde8ba3aa994/diff:/var/lib/docker/overlay2/85bded16bc9001809ba2f6b59d2102df6765cf9f10012b64acf747353ae5174f/diff:/var/lib/docker/overlay2/2b73252586a605824bfcaad6c4180abe7692cb519572960f060dbca86f34499e/diff",
            "MergedDir": "/var/lib/docker/overlay2/4d8cae102fe5de4efa53a112650960ac26130e46f57ee585588ca50cfc665772/merged",
            "UpperDir": "/var/lib/docker/overlay2/4d8cae102fe5de4efa53a112650960ac26130e46f57ee585588ca50cfc665772/diff",
            "WorkDir": "/var/lib/docker/overlay2/4d8cae102fe5de4efa53a112650960ac26130e46f57ee585588ca50cfc665772/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:777b2c648970480f50f5b4d0af8f9a8ea798eea43dbcf40ce4a8c7118736bdcf",
            "sha256:22573737ba763653dd00e311ead1dbfe6a7108f41d0422c7df83498eedc62bec",
            "sha256:86d905c1f58ea741279c3fd0e228a2e2d21c57908d95b20b71520fbe3ca172b1",
            "sha256:24e52497c24fa3f7399f0ca88937fe5e2d5c25c22c705653cf2517f306d199a6",
            "sha256:be80e727dd2714ce3ef898fee40931c95510f92c7e97c48ef42be37f6f63349e",
            "sha256:7d12c6e1d8f1d0dd19806984a2c8c13fb9d4db4c0d292b572b8d613603b8da8c",
            "sha256:738a430a6dab22b7216a72deaffdaaf35861d7b6a6951e115c3ec27c7e1bd277",
            "sha256:ee81ef73796d80649398a5cf7a4857e893c67a8031fefc3665d1c65d0fd44b09",
            "sha256:5ce5d9de209bd66e37ef237790ece7f5a7eb976557bacaf0d161947052f59bb5",
            "sha256:69e56c02a5f341573364c36b9b1981b0d25e078813d163ee9fc28a38e25ef8d7"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-20T12:42:02.220771174+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
288

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
32