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

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

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

源镜像 docker.io/library/php:7.4.33-fpm-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.4.33-fpm-alpine
镜像ID sha256:37edad271fae45db83e0506c50a87da66f54cbda29ce8d1197ad61d215def79c
镜像TAG 7.4.33-fpm-alpine
大小 66.76MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD php-fpm
启动入口 docker-php-entrypoint
工作目录 /var/www/html
OS/平台 linux/amd64
浏览量 138 次
贡献者
镜像创建 2022-11-12T09:22:24.814654873Z
同步时间 2024-10-30 15:06
更新时间 2025-01-17 03:04
开放端口
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=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312 PHP_VERSION=7.4.33 PHP_URL=https://www.php.net/distributions/php-7.4.33.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.33.tar.xz.asc PHP_SHA256=924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.16.3 扫描引擎: Trivy 扫描时间: 2024-10-30 15:06

低危漏洞:4 中危漏洞:43 高危漏洞:27 严重漏洞:4

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#library/php:7.4.33-fpm-alpine#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.4.33-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.4.33-fpm-alpine && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.4.33-fpm-alpine  docker.io/library/php:7.4.33-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.4.33-fpm-alpine && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.4.33-fpm-alpine  docker.io/library/php:7.4.33-fpm-alpine'

镜像构建历史


# 2022-11-12 17:22:24  0.00B 
/bin/sh -c #(nop)  CMD ["php-fpm"]
                        
# 2022-11-12 17:22:24  0.00B 
/bin/sh -c #(nop)  EXPOSE 9000
                        
# 2022-11-12 17:22:24  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGQUIT
                        
# 2022-11-12 17:22:24  25.43KB 
/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 '; 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'; 		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
                        
# 2022-11-12 17:22:23  0.00B 
/bin/sh -c #(nop) WORKDIR /var/www/html
                        
# 2022-11-12 17:22:23  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-php-entrypoint"]
                        
# 2022-11-12 17:22:23  51.51KB 
/bin/sh -c docker-php-ext-enable sodium
                        
# 2022-11-12 17:22:22  7.20KB 
/bin/sh -c #(nop) COPY multi:869bde9dbeae74886a05c9e2107b3e3b4877116db8c6d9adbaff2719f9fb5262 in /usr/local/bin/ 
                        
# 2022-11-12 17:22:22  47.09MB 
/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; 	ln -sv /usr/include/gnu-libiconv/*.h /usr/include/; 		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-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
                        
# 2022-11-12 17:15:21  587.00B 
/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/ 
                        
# 2022-11-12 17:15:21  10.47MB 
/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
                        
# 2022-11-12 17:15:14  0.00B 
/bin/sh -c #(nop)  ENV PHP_SHA256=924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927
                        
# 2022-11-12 17:15:14  0.00B 
/bin/sh -c #(nop)  ENV PHP_URL=https://www.php.net/distributions/php-7.4.33.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.33.tar.xz.asc
                        
# 2022-11-12 17:15:14  0.00B 
/bin/sh -c #(nop)  ENV PHP_VERSION=7.4.33
                        
# 2022-11-12 17:15:14  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
                        
# 2022-11-12 16:36:58  0.00B 
/bin/sh -c #(nop)  ENV PHP_LDFLAGS=-Wl,-O1 -pie
                        
# 2022-11-12 16:36:58  0.00B 
/bin/sh -c #(nop)  ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2022-11-12 16:36:58  0.00B 
/bin/sh -c #(nop)  ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2022-11-12 16:36:58  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
                        
# 2022-11-12 16:36:57  0.00B 
/bin/sh -c #(nop)  ENV PHP_INI_DIR=/usr/local/etc/php
                        
# 2022-11-12 16:36:57  4.68KB 
/bin/sh -c set -eux; 	adduser -u 82 -D -S -G www-data www-data
                        
# 2022-11-12 16:36:56  3.57MB 
/bin/sh -c apk add --no-cache 		ca-certificates 		curl 		tar 		xz 		openssl
                        
# 2022-11-12 16:36:55  0.00B 
/bin/sh -c #(nop)  ENV PHPIZE_DEPS=autoconf 		dpkg-dev dpkg 		file 		g++ 		gcc 		libc-dev 		make 		pkgconf 		re2c
                        
# 2022-11-12 12:19:23  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2022-11-12 12:19:23  5.54MB 
/bin/sh -c #(nop) ADD file:ceeb6e8632fafc657116cbf3afbd522185a16963230b57881073dad22eb0e1a3 in / 
                        
                    

镜像信息

{
    "Id": "sha256:37edad271fae45db83e0506c50a87da66f54cbda29ce8d1197ad61d215def79c",
    "RepoTags": [
        "php:7.4.33-fpm-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.4.33-fpm-alpine"
    ],
    "RepoDigests": [
        "php@sha256:0aeb129a60daff2874c5c70fcd9d88cdf3015b4fb4cc7c3f1a32a21e84631036",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php@sha256:4ca7fd8bea83cb12e43d192531576ca9a6b6a2d995763d3aaaee34f0d643f206"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-11-12T09:22:24.814654873Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.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_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=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312",
            "PHP_VERSION=7.4.33",
            "PHP_URL=https://www.php.net/distributions/php-7.4.33.tar.xz",
            "PHP_ASC_URL=https://www.php.net/distributions/php-7.4.33.tar.xz.asc",
            "PHP_SHA256=924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927"
        ],
        "Cmd": [
            "php-fpm"
        ],
        "Image": "sha256:a0df4091b2072c7de9a6cb4bf5856e39a1a2e88776e19f5f0df669c32e084f34",
        "Volumes": null,
        "WorkingDir": "/var/www/html",
        "Entrypoint": [
            "docker-php-entrypoint"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGQUIT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 66763683,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/a493b5129756e804f368c82dd3e608e1a0f7fc9f7b78eb21d4b25c3033521384/diff:/var/lib/docker/overlay2/32e7c922ed8afc7382499f7f0482e11856893b808e3444eabd084eead79bee7f/diff:/var/lib/docker/overlay2/325deba4cdb5d98e7d8f45692b675899a35ef9d638d3a9e8b4849d19086cf3a5/diff:/var/lib/docker/overlay2/745abbcc9e3546c3e213b46d59a61b6aca006e90aa118d6b4568ae62a7c6376d/diff:/var/lib/docker/overlay2/ad5433128ef5db4a18143550b1476368ed45d0b2fecbfc902aa292d7abac58d1/diff:/var/lib/docker/overlay2/74576d4be959d0701ed06251cc5ca9ac85633145a1bd2ddde5023e51dc1f0efa/diff:/var/lib/docker/overlay2/b2f8b411f9b31ad162194d8c8b5c39f9e739148fef77123cbc13749a26fc40b9/diff:/var/lib/docker/overlay2/ce2087f7cdf9c6d8f5e30d8b67d508294c14dac2f2a06b43f2587c1d153f5f60/diff:/var/lib/docker/overlay2/694f2fb4d1008c283d3662f42f84274c2b620b0a49047574762648577f3c1756/diff",
            "MergedDir": "/var/lib/docker/overlay2/fb072925342fb3fcff8ba9406ab6b2d2138ba97e2a08b2e5806b8227d93c552d/merged",
            "UpperDir": "/var/lib/docker/overlay2/fb072925342fb3fcff8ba9406ab6b2d2138ba97e2a08b2e5806b8227d93c552d/diff",
            "WorkDir": "/var/lib/docker/overlay2/fb072925342fb3fcff8ba9406ab6b2d2138ba97e2a08b2e5806b8227d93c552d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e5e13b0c77cbb769548077189c3da2f0a764ceca06af49d8d558e759f5c232bd",
            "sha256:5a30d9e50c50ef8801e40f5ccdc4f14f90064477fe8899fe07a392522b3db228",
            "sha256:93b39fc78a348e37b5ae6549ad0f72405e8520027355b8e6b98c7b950a947ccd",
            "sha256:9e0d4f458c69f8fe7e35c08fb5857cd36743684bf8b97a818eaf6d7a27bbff40",
            "sha256:0ec5e7e1b3c1d99716a7e2267b7f0c20ab66c4aa4e911bb36361dbb15c365c9c",
            "sha256:4d3b3659e3fdd07d61113c63ff367c9b29f00e1a335aeb9e68b4cc9ba115bf6b",
            "sha256:651621a397a6cb7da42c48ea4a33411f89f49c266bcbe70afd208f2cf62ebfad",
            "sha256:549cb118670c3fc693b0e63aff0d4f00cbae2c42e12d08fda7b5b755dd0d971c",
            "sha256:2fbd5794d7b2ed55c50d1d49ba26a6699e11057924643c1a0cea25713506dee1",
            "sha256:1b4cdbbc15ce45333ca8c09d69dd16bf9866fe9b201e3e20d6fa7d25fca2c0d6"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-30T15:06:44.534505786+08:00"
    }
}

更多版本

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

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

docker.io/library/php:5.6.40-alpine

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

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
53

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

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

docker.io/library/php:7.4.33-fpm

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

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

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

docker.io/library/php:8.2-cli

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

docker.io/library/php:8.3.15-cli

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

docker.io/library/php:8.3.10-fpm

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