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

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

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

源镜像 docker.io/library/php:7.4.33-apache-buster
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.4.33-apache-buster
镜像ID sha256:914411be96dd786eafbe9ac1a3ea59b4998c70f1082bf9dda3108dca8aed1cc9
镜像TAG 7.4.33-apache-buster
大小 397.63MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD apache2-foreground
启动入口 docker-php-entrypoint
工作目录 /var/www/html
OS/平台 linux/amd64
浏览量 38 次
贡献者 ma********g@gzdzswy.cn
镜像创建 2022-11-15T06:13:12.754094563Z
同步时间 2024-12-19 11:56
更新时间 2025-01-17 13:03
开放端口
80/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 APACHE_CONFDIR=/etc/apache2 APACHE_ENVVARS=/etc/apache2/envvars 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: debian 10.13 扫描引擎: Trivy 扫描时间: 2024-12-19 11:57

低危漏洞:701 中危漏洞:2381 高危漏洞:754 严重漏洞:33

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

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

Containerd拉取命令

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

Shell快速替换命令

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

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-apache-buster && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.4.33-apache-buster  docker.io/library/php:7.4.33-apache-buster'

镜像构建历史


# 2022-11-15 14:13:12  0.00B 
/bin/sh -c #(nop)  CMD ["apache2-foreground"]
                        
# 2022-11-15 14:13:12  0.00B 
/bin/sh -c #(nop)  EXPOSE 80
                        
# 2022-11-15 14:13:12  0.00B 
/bin/sh -c #(nop) WORKDIR /var/www/html
                        
# 2022-11-15 14:13:12  1.35KB 
/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/ 
                        
# 2022-11-15 14:13:12  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGWINCH
                        
# 2022-11-15 14:13:12  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-php-entrypoint"]
                        
# 2022-11-15 14:13:12  17.00B 
/bin/sh -c docker-php-ext-enable sodium
                        
# 2022-11-15 14:13:11  7.21KB 
/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/ 
                        
# 2022-11-15 14:13:11  43.44MB 
/bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		apache2-dev 		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" 	; 	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-ftp 		--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 				$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') 		--with-libdir="lib/$debMultiarch" 				--disable-cgi 				--with-apxs2 	; 	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 '/=>/ { print $(NF-1) }' 		| 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
                        
# 2022-11-15 14:11:16  587.00B 
/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/ 
                        
# 2022-11-15 14:11:16  11.70MB 
/bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends gnupg dirmngr; 	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
                        
# 2022-11-15 14:11:04  0.00B 
/bin/sh -c #(nop)  ENV PHP_SHA256=924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927
                        
# 2022-11-15 14:11:04  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-15 14:11:04  0.00B 
/bin/sh -c #(nop)  ENV PHP_VERSION=7.4.33
                        
# 2022-11-15 14:11:04  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
                        
# 2022-11-15 12:30:52  0.00B 
/bin/sh -c #(nop)  ENV PHP_LDFLAGS=-Wl,-O1 -pie
                        
# 2022-11-15 12:30:52  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-15 12:30:51  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-15 12:30:51  237.00B 
/bin/sh -c { 		echo '<FilesMatch \.php$>'; 		echo '\tSetHandler application/x-httpd-php'; 		echo '</FilesMatch>'; 		echo; 		echo 'DirectoryIndex disabled'; 		echo 'DirectoryIndex index.php index.html'; 		echo; 		echo '<Directory /var/www/>'; 		echo '\tOptions -Indexes'; 		echo '\tAllowOverride All'; 		echo '</Directory>'; 	} | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" 	&& a2enconf docker-php
                        
# 2022-11-15 12:30:51  68.00B 
/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
                        
# 2022-11-15 12:30:50  45.89MB 
/bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends apache2; 	rm -rf /var/lib/apt/lists/*; 		sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; 		. "$APACHE_ENVVARS"; 	for dir in 		"$APACHE_LOCK_DIR" 		"$APACHE_RUN_DIR" 		"$APACHE_LOG_DIR" 	; do 		rm -rvf "$dir"; 		mkdir -p "$dir"; 		chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; 		chmod 777 "$dir"; 	done; 		rm -rvf /var/www/html/*; 		ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; 	ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; 	ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; 	chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"
                        
# 2022-11-15 12:30:41  0.00B 
/bin/sh -c #(nop)  ENV APACHE_ENVVARS=/etc/apache2/envvars
                        
# 2022-11-15 12:30:41  0.00B 
/bin/sh -c #(nop)  ENV APACHE_CONFDIR=/etc/apache2
                        
# 2022-11-15 12:27:14  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-15 12:27:13  0.00B 
/bin/sh -c #(nop)  ENV PHP_INI_DIR=/usr/local/etc/php
                        
# 2022-11-15 12:27:13  227.33MB 
/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/*
                        
# 2022-11-15 12:26:48  0.00B 
/bin/sh -c #(nop)  ENV PHPIZE_DEPS=autoconf 		dpkg-dev 		file 		g++ 		gcc 		libc-dev 		make 		pkg-config 		re2c
                        
# 2022-11-15 12:26:48  46.00B 
/bin/sh -c set -eux; 	{ 		echo 'Package: php*'; 		echo 'Pin: release *'; 		echo 'Pin-Priority: -1'; 	} > /etc/apt/preferences.d/no-debian-php
                        
# 2022-11-15 12:05:14  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2022-11-15 12:05:14  69.27MB 
/bin/sh -c #(nop) ADD file:9461639b945ced6fb6164491a7e0131261a1b7d69264cce516e75c71e4df22d2 in / 
                        
                    

镜像信息

{
    "Id": "sha256:914411be96dd786eafbe9ac1a3ea59b4998c70f1082bf9dda3108dca8aed1cc9",
    "RepoTags": [
        "php:7.4-apache-buster",
        "php:7.4.33-apache-buster",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.4-apache-buster",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:7.4.33-apache-buster"
    ],
    "RepoDigests": [
        "php@sha256:54ab36b44088c9baa82213e8bbb54802e1c12e620afbfbf64f41e2e9b8f01211",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php@sha256:873b11069a2725565daad54b2c2167507b2d46c40337e94381029196cf34ea65"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-11-15T06:13:12.754094563Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "80/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",
            "APACHE_CONFDIR=/etc/apache2",
            "APACHE_ENVVARS=/etc/apache2/envvars",
            "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": [
            "apache2-foreground"
        ],
        "Image": "sha256:b47acc4c7f042b888e0f89d4e46da3498827609656d8194cf97f9680c2a274b4",
        "Volumes": null,
        "WorkingDir": "/var/www/html",
        "Entrypoint": [
            "docker-php-entrypoint"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGWINCH"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 397630526,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/7c48847fda4d99ac0894b73fa0a2a152f352a3d1270ada6d7c90ba2c110c1617/diff:/var/lib/docker/overlay2/ae7e5ddd189995b64cec54775830beb3b136789d65bc6e86e4a236d04a5741e8/diff:/var/lib/docker/overlay2/1359ebb2f11c19e75aa9d77cf90f8a110377e294f54f4b57edb51da1e3fa5eeb/diff:/var/lib/docker/overlay2/e8c5b076eb8c18a0ea8ffb03bb3d87d43aa080759db7bc8691dc3b967a98e8c1/diff:/var/lib/docker/overlay2/c3d8f44c78654258513cc5db55ca6ef257d30779a2abe611114293d04a03d6ab/diff:/var/lib/docker/overlay2/d259c0a594d2edae66ff61d2af3f1d85c2bf1053d0ac3fc58d8d39e99e084c88/diff:/var/lib/docker/overlay2/921a2ddf968ce148360243a6396bc90b1b70bb4fb9e569629f37160e9d929919/diff:/var/lib/docker/overlay2/a7079217545476b5aacd58df8dfaa4d9583b4602b8223a9e30fbc68cdf0a3b9e/diff:/var/lib/docker/overlay2/742333d2fe814a5175b22be742c5a2ee0ad5db08211e24e5c1c03488621c6a1a/diff:/var/lib/docker/overlay2/32ac7b7b6eafcdc271c8b115466801017df65fbecd15e0caf74ab28ab8057957/diff:/var/lib/docker/overlay2/67475013da58cb164eecf9f0e69f1c82004a8cfd31f42977170db2206fb786f7/diff:/var/lib/docker/overlay2/bb510a5a6d510674c0f8c6ea5527ce032143f8bea055358212185853ca7c5c69/diff",
            "MergedDir": "/var/lib/docker/overlay2/193596d6123e1bd82e870006ea844ef3dbf8262dd2012474e6fc416ee605f352/merged",
            "UpperDir": "/var/lib/docker/overlay2/193596d6123e1bd82e870006ea844ef3dbf8262dd2012474e6fc416ee605f352/diff",
            "WorkDir": "/var/lib/docker/overlay2/193596d6123e1bd82e870006ea844ef3dbf8262dd2012474e6fc416ee605f352/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:dbaf71c29b55daa6462457d72028277c3a15ee130593ca8bcc07eeae36c27ec7",
            "sha256:6940b822eafbb5a754084d950703048fc1f3b89565a6c46769a8b70b468626fa",
            "sha256:f9f601f3659c749a7fd6552541b3a6951a26f391dc2a6a92c79bef6694cca8b3",
            "sha256:22f0f0be1d496287d519d49aa50df3db12d94a05504e453589461f2a846dd33c",
            "sha256:621c055df8a33a302804c00fe7d94aa562b3042b50743bcbb9ccdabdbf82a909",
            "sha256:3eabd2f5dd2cc3b125ee7cb48913d0993678a9d1107d3f9b2085843d2b36701d",
            "sha256:913aa79fd3fb3de7ba106d23da8dcc228931063608b0d3751cfba14d0754e3a3",
            "sha256:ec575dcf25c75b4d92ed6f989a6d5e36bdc1e3b922b53855b16beaaf202c7c04",
            "sha256:cad303e3bbf87ad731609f45d789252ea87121f0e3dedc13ba86c7132996c72e",
            "sha256:42417007fd74314817ae1299d55d67e50fccd66896d03ba032205bec4d9d731f",
            "sha256:f8ac0129a7c7e53f8b192348a6dbc9f3ddfa53df37a8aaf5f43bd7dd10a4878f",
            "sha256:5e35f1faa763d98608781899442f7e131ce6ea1c42b792bb7dbb23857b547c34",
            "sha256:5f5a18aedaf00e8772baeec9d671039d124cd106853c8f5293590dabf7133efa"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-19T11:56:15.969894635+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
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
53

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