docker.io/php:8.3-apache linux/amd64

docker.io/php:8.3-apache - 国内下载镜像源 浏览次数:203
🐳
源镜像 docker.io/php:8.3-apache
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:8.3-apache
镜像ID sha256:2fa865df359d951a18889f7cef9add947627f65db2c67cbd9d76fe7982e4b0c1
镜像TAG 8.3-apache
大小 507.04MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD apache2-foreground
启动入口 docker-php-entrypoint
工作目录 /var/www/html
OS/平台 linux/amd64
浏览量 203 次
贡献者 26*******9@qq.com
镜像创建 2024-09-27T06:18:58.257487875Z
同步时间 2024-10-16 14:44
更新时间 2025-01-17 13:37
开放端口
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=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA PHP_VERSION=8.3.12 PHP_URL=https://www.php.net/distributions/php-8.3.12.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.12.tar.xz.asc PHP_SHA256=f774e28633e26fc8c5197f4dae58ec9e3ff87d1b4311cbc61ab05a7ad24bd131

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-09-27 14:18:58  0.00B 
/bin/sh -c #(nop)  CMD ["apache2-foreground"]
                        
# 2024-09-27 14:18:58  0.00B 
/bin/sh -c #(nop)  EXPOSE 80
                        
# 2024-09-27 14:18:58  0.00B 
/bin/sh -c #(nop) WORKDIR /var/www/html
                        
# 2024-09-27 14:18:57  1.35KB 
/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/ 
                        
# 2024-09-27 14:18:57  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGWINCH
                        
# 2024-09-27 14:18:57  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-php-entrypoint"]
                        
# 2024-09-27 14:18:57  17.00B 
/bin/sh -c docker-php-ext-enable sodium
                        
# 2024-09-27 14:18:57  7.21KB 
/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/ 
                        
# 2024-09-27 14:18:56  52.27MB 
/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" 		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 				--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 '/=>/ { 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-09-27 14:15:22  587.00B 
/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/ 
                        
# 2024-09-27 14:15:21  13.78MB 
/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-09-27 14:15:12  0.00B 
/bin/sh -c #(nop)  ENV PHP_SHA256=f774e28633e26fc8c5197f4dae58ec9e3ff87d1b4311cbc61ab05a7ad24bd131
                        
# 2024-09-27 14:15:12  0.00B 
/bin/sh -c #(nop)  ENV PHP_URL=https://www.php.net/distributions/php-8.3.12.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.12.tar.xz.asc
                        
# 2024-09-27 14:15:12  0.00B 
/bin/sh -c #(nop)  ENV PHP_VERSION=8.3.12
                        
# 2024-09-27 14:15:12  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
                        
# 2024-09-27 13:44:39  0.00B 
/bin/sh -c #(nop)  ENV PHP_LDFLAGS=-Wl,-O1 -pie
                        
# 2024-09-27 13:44:39  0.00B 
/bin/sh -c #(nop)  ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2024-09-27 13:44:39  0.00B 
/bin/sh -c #(nop)  ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2024-09-27 13:44:39  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
                        
# 2024-09-27 13:44:38  68.00B 
/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
                        
# 2024-09-27 13:44:38  50.56MB 
/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" 		"$APACHE_RUN_DIR/socks" 	; do 		rm -rvf "$dir"; 		mkdir -p "$dir"; 		chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; 		chmod 1777 "$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"
                        
# 2024-09-27 13:44:30  0.00B 
/bin/sh -c #(nop)  ENV APACHE_ENVVARS=/etc/apache2/envvars
                        
# 2024-09-27 13:44:30  0.00B 
/bin/sh -c #(nop)  ENV APACHE_CONFDIR=/etc/apache2
                        
# 2024-09-27 13:40: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-09-27 13:40:24  0.00B 
/bin/sh -c #(nop)  ENV PHP_INI_DIR=/usr/local/etc/php
                        
# 2024-09-27 13:40:23  315.64MB 
/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-09-27 13:40:06  0.00B 
/bin/sh -c #(nop)  ENV PHPIZE_DEPS=autoconf 		dpkg-dev 		file 		g++ 		gcc 		libc-dev 		make 		pkg-config 		re2c
                        
# 2024-09-27 13:40:06  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-09-27 12:29:32  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-09-27 12:29:32  74.78MB 
/bin/sh -c #(nop) ADD file:a9a95cfab16803be03e59ade41622ef5061cf90f2d034304fe4ac1ee9ff30389 in / 
                        
                    

镜像信息

{
    "Id": "sha256:2fa865df359d951a18889f7cef9add947627f65db2c67cbd9d76fe7982e4b0c1",
    "RepoTags": [
        "php:8.3-apache",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:8.3-apache"
    ],
    "RepoDigests": [
        "php@sha256:6d553ea70429a19fc1790cfd3796b4d456dbe48095e5c600756b31094fd44072",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php@sha256:2b00373a45603fcdfd6ecd1dc7e61e23fc64f5bdd8eba2a67f782486b9737cba"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2024-09-27T06:18:58.257487875Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "23.0.11",
    "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=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA",
            "PHP_VERSION=8.3.12",
            "PHP_URL=https://www.php.net/distributions/php-8.3.12.tar.xz",
            "PHP_ASC_URL=https://www.php.net/distributions/php-8.3.12.tar.xz.asc",
            "PHP_SHA256=f774e28633e26fc8c5197f4dae58ec9e3ff87d1b4311cbc61ab05a7ad24bd131"
        ],
        "Cmd": [
            "apache2-foreground"
        ],
        "Image": "sha256:2731a17d066cec66d25e0c6da6310c68f7e46aa5f9d343e373d61afd1294c7ef",
        "Volumes": null,
        "WorkingDir": "/var/www/html",
        "Entrypoint": [
            "docker-php-entrypoint"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGWINCH"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 507038027,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9c49f7c3c847b1cdd9a1db7ab468822f272d014f10637ecd84d9c9c1c6a83e04/diff:/var/lib/docker/overlay2/9cffad14b648cfa7492434b3c8e0268481743d2b7d598dd0ec702bef32ed0d0f/diff:/var/lib/docker/overlay2/e7f7eb399901aa0db1ab5bf3f376dc0cf1ec3c4859ba6abadb0d895ca976bcc0/diff:/var/lib/docker/overlay2/5745467a7672ebeeecbb8226b787e10aec9917070acbc081c97126edd253f655/diff:/var/lib/docker/overlay2/07c4b63d83df6731921a3c49cf69d755aca2ec34d541c12cd43ae9d778227ab2/diff:/var/lib/docker/overlay2/b0a69d0c5c5a97e48306f8f0f15159fe9a88684fe10804f29db95c1fc330eed8/diff:/var/lib/docker/overlay2/49c2c31a70e041353d5db244c617c37818cf478d50ea72784175b6d31b21f552/diff:/var/lib/docker/overlay2/0db8c47852d5af6ad995808da6cbf18c89d9738e9a0a1c18f419462f3f5bd20a/diff:/var/lib/docker/overlay2/ce947baabe7957d9807b1e9ad0f2632189512a511e60e98160d71d9bb9a5b5cf/diff:/var/lib/docker/overlay2/0ceb44978af9fdd9a7bf48eb97ae3d3a00122e5cd1c1bb4e9823d8355ae904b1/diff:/var/lib/docker/overlay2/a92f7e38cdadb91846f9a9ee55f75206df09a65e66041fdf335aa2b0491bae0b/diff:/var/lib/docker/overlay2/1bccca92078a7af8b31c9945ce2f68029d684347892dd2e49c5a3b836eef3b8c/diff",
            "MergedDir": "/var/lib/docker/overlay2/97de891f8609dc77829e407ce07cbc9461ef7e3aa121a7b4ffe7905421f6368e/merged",
            "UpperDir": "/var/lib/docker/overlay2/97de891f8609dc77829e407ce07cbc9461ef7e3aa121a7b4ffe7905421f6368e/diff",
            "WorkDir": "/var/lib/docker/overlay2/97de891f8609dc77829e407ce07cbc9461ef7e3aa121a7b4ffe7905421f6368e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8d853c8add5d1e7b0aafc4b68a3d9fb8e7a0da27970c2acf831fe63be4a0cd2c",
            "sha256:599a2026a8f66696b36b8ef53c962013d3353a88e7c69cbdfc7e14b53ecca477",
            "sha256:60f0b6ccdbac85dc6451105f31d75ccb0427265e0badd0cd7cf4ae4f6574854b",
            "sha256:dfd6300bd525aa29559079b12b0201adb0515dcfc414c80a613713a768052d8a",
            "sha256:6025fd56312dc58ed5263e29be0f2f5aca4aaea359217ff96a6464a22ba7a3dc",
            "sha256:5c8595af30bed2edf5c7cc6d31fa78cba059c2be3552dbbcaca80ffb3ba41542",
            "sha256:3c776fff1cc44f68b307398771dc5ef4577bac97df33f017ad5a6accc187f7b9",
            "sha256:17da03c83dee6d3c44dd60720bbedbac668c20faa726b841d388728d93590720",
            "sha256:c08243f5fb7ee131f8aa8592250f6c12f59e1033e86bb98cb48981338b8b00dd",
            "sha256:e31294ebff217c65fe2a73402b58cc17e37847645069add8f12fb64609434143",
            "sha256:c89404bd5086418dfa7803d269de22f8a1d7978cb88818c8a60ec32cac137a3a",
            "sha256:7e144c2aed00026d1abf94c9831ca2fde37bbdc8cffda3827ee915a5a2102929",
            "sha256:dcfff08eb727dcc961698c31ac64a7f8b8cadf8714837e544c79e420a25fcbad"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-16T14:43:44.459433534+08:00"
    }
}

更多版本

docker.io/php:7.4.33-zts-alpine3.16

linux/amd64 docker.io64.46MB2024-06-19 14:29
184

docker.io/phpmyadmin:fpm

linux/amd64 docker.io552.51MB2024-07-12 21:30
243

docker.io/phpmyadmin:5.2.1

linux/amd64 docker.io561.83MB2024-07-15 10:30
205

docker.io/phpdockerio/php:7.4-fpm

linux/amd64 docker.io176.11MB2024-07-28 11:46
423

docker.io/php:7.4.0-fpm-alpine

linux/amd64 docker.io83.46MB2024-09-19 02:16
187

docker.io/php:7.3.29-fpm

linux/amd64 docker.io452.87MB2024-10-11 16:58
138

docker.io/php:8.3-apache

linux/amd64 docker.io507.04MB2024-10-16 14:44
202

docker.io/php:7.1.4-apache

linux/amd64 docker.io389.62MB2024-10-25 16:22
112

docker.io/php:7.1.33-buster

linux/amd64 docker.io389.34MB2024-10-28 13:52
82

docker.io/phpipam/phpipam-cron:latest

linux/amd64 docker.io183.82MB2024-11-01 11:36
96

docker.io/phpipam/phpipam-www:latest

linux/amd64 docker.io183.82MB2024-11-01 11:37
131

docker.io/php:8.2-apache

linux/amd64 docker.io501.78MB2024-11-11 12:41
82

docker.io/php:8.3-cli

linux/amd64 docker.io535.21MB2024-12-03 11:52
78

docker.io/php:8.3-zts-alpine

linux/amd64 docker.io128.08MB2024-12-03 12:05
74

docker.io/php:8.2.16-apache-bullseye

linux/amd64 docker.io459.78MB2024-12-05 19:59
62

docker.io/php:7.4-alpine3.15

linux/amd64 docker.io87.22MB2024-12-17 19:25
45

docker.io/php:7.4-alpine

linux/amd64 docker.io83.48MB2024-12-17 19:27
79

docker.io/php:7.4-alpine3.16

linux/amd64 docker.io83.48MB2024-12-17 19:31
38

docker.io/php:8.1-apache

linux/arm64 docker.io509.77MB2024-12-20 13:47
65

docker.io/php:8.1-alpine

linux/amd64 docker.io98.50MB2025-01-15 23:36
25

docker.io/php:8.2-alpine

linux/amd64 docker.io98.89MB2025-01-15 23:46
24