docker.io/php:7.4-alpine3.15 linux/amd64

docker.io/php:7.4-alpine3.15 - 国内下载镜像源 浏览次数:45
🐳
源镜像 docker.io/php:7.4-alpine3.15
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.4-alpine3.15
镜像ID sha256:dd185a99f115e7a636c965589de5c92c618fb9aa382e5bb6c4ff7de6098492bf
镜像TAG 7.4-alpine3.15
大小 87.22MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD php -a
启动入口 docker-php-entrypoint
工作目录
OS/平台 linux/amd64
浏览量 45 次
贡献者
镜像创建 2022-11-03T17:56:53.463812028Z
同步时间 2024-12-17 19:25
更新时间 2025-01-18 06:01
环境变量
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.15.6 扫描引擎: Trivy 扫描时间: 2024-12-17 19:27

低危漏洞:4 中危漏洞:41 高危漏洞:28 严重漏洞:5

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.4-alpine3.15
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.4-alpine3.15  docker.io/php:7.4-alpine3.15

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.4-alpine3.15
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.4-alpine3.15  docker.io/php:7.4-alpine3.15

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2022-11-04 01:56:53  0.00B 
/bin/sh -c #(nop)  CMD ["php" "-a"]
                        
# 2022-11-04 01:56:53  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-php-entrypoint"]
                        
# 2022-11-04 01:56:53  51.53KB 
/bin/sh -c docker-php-ext-enable sodium
                        
# 2022-11-04 01:56:52  7.20KB 
/bin/sh -c #(nop) COPY multi:6edd033b037aa2d7697fc3b9f82c2f162146c1920a0c6d25a165dc56783204db in /usr/local/bin/ 
                        
# 2022-11-04 01:56:51  67.53MB 
/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 				--enable-phpdbg 		--enable-phpdbg-readline 				--with-pear 				$(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') 	; 	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-04 01:53:31  587.00B 
/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/ 
                        
# 2022-11-04 01:53:30  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-04 01:53:24  0.00B 
/bin/sh -c #(nop)  ENV PHP_SHA256=924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927
                        
# 2022-11-04 01:53:24  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-04 01:53:23  0.00B 
/bin/sh -c #(nop)  ENV PHP_VERSION=7.4.33
                        
# 2022-10-07 08:46:00  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
                        
# 2022-10-07 07:34:33  0.00B 
/bin/sh -c #(nop)  ENV PHP_LDFLAGS=-Wl,-O1 -pie
                        
# 2022-10-07 07:34:32  0.00B 
/bin/sh -c #(nop)  ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2022-10-07 07:34:32  0.00B 
/bin/sh -c #(nop)  ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
                        
# 2022-10-07 07:34:32  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-10-07 07:34:32  0.00B 
/bin/sh -c #(nop)  ENV PHP_INI_DIR=/usr/local/etc/php
                        
# 2022-10-07 07:34:31  4.68KB 
/bin/sh -c set -eux; 	adduser -u 82 -D -S -G www-data www-data
                        
# 2022-10-07 07:34:31  3.57MB 
/bin/sh -c apk add --no-cache 		ca-certificates 		curl 		tar 		xz 		openssl
                        
# 2022-10-07 07:34:30  0.00B 
/bin/sh -c #(nop)  ENV PHPIZE_DEPS=autoconf 		dpkg-dev dpkg 		file 		g++ 		gcc 		libc-dev 		make 		pkgconf 		re2c
                        
# 2022-08-10 01:20:01  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2022-08-10 01:20:00  5.59MB 
/bin/sh -c #(nop) ADD file:f77e3f51f020890d22997e6c2ca98968b75b8bc8c463341a2010ff0655d4c88f in / 
                        
                    

镜像信息

{
    "Id": "sha256:dd185a99f115e7a636c965589de5c92c618fb9aa382e5bb6c4ff7de6098492bf",
    "RepoTags": [
        "php:7.4-alpine3.15",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.4-alpine3.15"
    ],
    "RepoDigests": [
        "php@sha256:ecd768446455c6e3f825a35d047e6ddae0bd7059e84cfd252387dd17fb486e47",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php@sha256:76441ea7eeca50e9b03cac6ecf4ad9f53e713696b3e3324ad23dc2d2f0a3a6b7"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-11-03T17:56:53.463812028Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "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",
            "-a"
        ],
        "Image": "sha256:6b6d138a027e3df556a8634e228638ac929958fe8e7130e8d218f4dff8e768a7",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "docker-php-entrypoint"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 87215484,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3e8cc6854679005d3a9eca55d88559bd01426ffed7fe77e0a847314e609cc7eb/diff:/var/lib/docker/overlay2/b65c7ce440c38f3c68ff4c12f6bc0a36cc947a350de2909454e2f49ff6d31511/diff:/var/lib/docker/overlay2/9c4e3b51c14154f85dc61d855219960f27eb4367d38954d9f3b99952107de850/diff:/var/lib/docker/overlay2/907ea69462930506ffcc2123b8d40c3f85dce763f4db636b411007192b950023/diff:/var/lib/docker/overlay2/588fdff04d1bcc396142f2a3f6d3cbae03fe7b158300a4fae034dfac2a2356e1/diff:/var/lib/docker/overlay2/dc6a34b5c5d2de27a53ee3eefbcee16c5df06ad5cce34b2b0176a8f11b29a5cc/diff:/var/lib/docker/overlay2/e77353395df722d0edf19de2de624a8bfbb2acd9da1f9f5455c617adb6c09441/diff:/var/lib/docker/overlay2/6f4198ee4a2c26954ff8295c9b38f366c1bab968a15ecdd7a53bf3f817384819/diff",
            "MergedDir": "/var/lib/docker/overlay2/4b8caf8f8ea6d6d0fd4241d799125928392c83231990a326874cfc3b87923e0c/merged",
            "UpperDir": "/var/lib/docker/overlay2/4b8caf8f8ea6d6d0fd4241d799125928392c83231990a326874cfc3b87923e0c/diff",
            "WorkDir": "/var/lib/docker/overlay2/4b8caf8f8ea6d6d0fd4241d799125928392c83231990a326874cfc3b87923e0c/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:34d5ebaa5410d2ab4154bbd7c3c99c385ec509eb9c1d03d5486aff01bbd618c5",
            "sha256:8de7d7966fc26d0dab5901f0201da6b6b74775c152a4aef5e907c37808bf7677",
            "sha256:c782c4bb9507c71301024b9a98894bff369f9f840911ef0c2edfd4331a548b27",
            "sha256:cad8dcb395fdfce98e202b08f56c4978b0f732d1de84b971092cef5b09600c6c",
            "sha256:b8553760e5c0f88f5d106182b7a5fe672bdb18fbb0ab61a35fd0c3abfac20f5f",
            "sha256:b6c958f2e2992d768b19316d51579f3673c4d9091d6dab84d76b143bf17f9866",
            "sha256:3c9a010d934d6c750fd61d4186c674663163dfb58a756104fac3cf902b80a6bc",
            "sha256:e14a573032a6305e19ebf68f819c672b048dda5fa9cb3fe1294d6c0c3f779944",
            "sha256:b6f5fa59c12c5cbcba1977017151d97dde38b461cd03139019e04bf558446570"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-17T19:25:24.207089358+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
186

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
81

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
61

docker.io/php:7.4-alpine3.15

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

docker.io/php:7.4-alpine

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

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