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

docker.io/php:7.1.4-apache - 国内下载镜像源 浏览次数:112
🐳
源镜像 docker.io/php:7.1.4-apache
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.4-apache
镜像ID sha256:e3e5c593479fabb26002a763997cac9abd2f8ad36368720bf712ad1782486c71
镜像TAG 7.1.4-apache
大小 389.62MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD apache2-foreground
启动入口 docker-php-entrypoint
工作目录 /var/www/html
OS/平台 linux/amd64
浏览量 112 次
贡献者
镜像创建 2017-05-11T18:03:08.983963344Z
同步时间 2024-10-25 16:22
更新时间 2025-01-16 13:07
开放端口
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_EXTRA_BUILD_DEPS=apache2-dev PHP_EXTRA_CONFIGURE_ARGS=--with-apxs2 PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie GPG_KEYS=A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E PHP_VERSION=7.1.4 PHP_URL=https://secure.php.net/get/php-7.1.4.tar.xz/from/this/mirror PHP_ASC_URL=https://secure.php.net/get/php-7.1.4.tar.xz.asc/from/this/mirror PHP_SHA256=71514386adf3e963df087c2044a0b3747900b8b1fc8da3a99f0a0ae9180d300b PHP_MD5=a74c13f8779349872b365e6732e8c98e
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 8.8 扫描引擎: Trivy 扫描时间: 2024-10-27 23:31

低危漏洞:152 中危漏洞:450 高危漏洞:380 严重漏洞:113

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2017-05-12 02:03:08  0.00B 
/bin/sh -c #(nop)  CMD ["apache2-foreground"]
                        
# 2017-05-12 02:03:08  0.00B 
/bin/sh -c #(nop)  EXPOSE 80/tcp
                        
# 2017-05-12 02:03:07  0.00B 
/bin/sh -c #(nop) WORKDIR /var/www/html
                        
# 2017-05-12 02:03:06  1.35KB 
/bin/sh -c #(nop) COPY file:24613ecbb1ce6a09f683b0753da9c26a1af07547326e8a02f6eec80ad6f2774a in /usr/local/bin/ 
                        
# 2017-05-12 02:03:04  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-php-entrypoint"]
                        
# 2017-05-12 02:03:03  5.92KB 
/bin/sh -c #(nop) COPY multi:3775aa35856908376b7ea71c79fad1e546e92e4ef56dcfc5821b2cc6e2ed6cdc in /usr/local/bin/ 
                        
# 2017-05-12 02:03:00  46.64MB 
/bin/sh -c set -xe 	&& buildDeps=" 		$PHP_EXTRA_BUILD_DEPS 		libcurl4-openssl-dev 		libedit-dev 		libpcre3-dev 		libsqlite3-dev 		libssl-dev 		libxml2-dev 	" 	&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* 		&& 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" 				--disable-cgi 				--enable-ftp 		--enable-mbstring 		--enable-mysqlnd 				--with-curl 		--with-libedit 		--with-openssl 		--with-zlib 				--with-pcre-regex=/usr 		--with-libdir="lib/$gnuArch" 				$PHP_EXTRA_CONFIGURE_ARGS 	&& make -j "$(nproc)" 	&& make install 	&& { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } 	&& make clean 	&& docker-php-source delete 		&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $buildDeps
                        
# 2017-05-12 01:59:12  587.00B 
/bin/sh -c #(nop) COPY file:207c686e3fed4f71f8a7b245d8dcae9c9048d276a326d82b553c12a90af0c0ca in /usr/local/bin/ 
                        
# 2017-05-12 01:59:11  13.34MB 
/bin/sh -c set -xe; 		fetchDeps=' 		wget 	'; 	apt-get update; 	apt-get install -y --no-install-recommends $fetchDeps; 	rm -rf /var/lib/apt/lists/*; 		mkdir -p /usr/src; 	cd /usr/src; 		wget -O php.tar.xz "$PHP_URL"; 		if [ -n "$PHP_SHA256" ]; then 		echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; 	fi; 	if [ -n "$PHP_MD5" ]; then 		echo "$PHP_MD5 *php.tar.xz" | md5sum -c -; 	fi; 		if [ -n "$PHP_ASC_URL" ]; then 		wget -O php.tar.xz.asc "$PHP_ASC_URL"; 		export GNUPGHOME="$(mktemp -d)"; 		for key in $GPG_KEYS; do 			gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; 		done; 		gpg --batch --verify php.tar.xz.asc php.tar.xz; 		rm -r "$GNUPGHOME"; 	fi; 		apt-get purge -y --auto-remove $fetchDeps
                        
# 2017-05-12 01:58:55  0.00B 
/bin/sh -c #(nop)  ENV PHP_SHA256=71514386adf3e963df087c2044a0b3747900b8b1fc8da3a99f0a0ae9180d300b PHP_MD5=a74c13f8779349872b365e6732e8c98e
                        
# 2017-05-12 01:58:54  0.00B 
/bin/sh -c #(nop)  ENV PHP_URL=https://secure.php.net/get/php-7.1.4.tar.xz/from/this/mirror PHP_ASC_URL=https://secure.php.net/get/php-7.1.4.tar.xz.asc/from/this/mirror
                        
# 2017-05-12 01:58:53  0.00B 
/bin/sh -c #(nop)  ENV PHP_VERSION=7.1.4
                        
# 2017-05-12 01:58:52  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E
                        
# 2017-05-12 01:58:51  0.00B 
/bin/sh -c #(nop)  ENV PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie
                        
# 2017-05-12 01:58:50  0.00B 
/bin/sh -c #(nop)  ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2
                        
# 2017-05-12 01:58:49  0.00B 
/bin/sh -c #(nop)  ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2
                        
# 2017-05-12 01:58:48  0.00B 
/bin/sh -c #(nop)  ENV PHP_EXTRA_CONFIGURE_ARGS=--with-apxs2
                        
# 2017-05-12 01:58:47  0.00B 
/bin/sh -c #(nop)  ENV PHP_EXTRA_BUILD_DEPS=apache2-dev
                        
# 2017-05-12 01:58:46  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
                        
# 2017-05-12 01:58:44  33.00B 
/bin/sh -c set -ex 	&& . "$APACHE_ENVVARS" 	&& 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"
                        
# 2017-05-12 01:58:42  68.00B 
/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
                        
# 2017-05-12 01:58:39  1.92KB 
/bin/sh -c set -ex 		&& sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS" 		&& . "$APACHE_ENVVARS" 	&& for dir in 		"$APACHE_LOCK_DIR" 		"$APACHE_RUN_DIR" 		"$APACHE_LOG_DIR" 		/var/www/html 	; do 		rm -rvf "$dir" 		&& mkdir -p "$dir" 		&& chown -R "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; 	done
                        
# 2017-05-12 01:58:37  0.00B 
/bin/sh -c #(nop)  ENV APACHE_ENVVARS=/etc/apache2/envvars
                        
# 2017-05-12 01:58:36  0.00B 
/bin/sh -c #(nop)  ENV APACHE_CONFDIR=/etc/apache2
                        
# 2017-05-12 01:58:35  7.05MB 
/bin/sh -c apt-get update 	&& apt-get install -y --no-install-recommends 		apache2 	&& rm -rf /var/lib/apt/lists/*
                        
# 2017-05-12 01:18:36  0.00B 
/bin/sh -c mkdir -p $PHP_INI_DIR/conf.d
                        
# 2017-05-12 01:18:35  0.00B 
/bin/sh -c #(nop)  ENV PHP_INI_DIR=/usr/local/etc/php
                        
# 2017-05-12 01:18:20  199.05MB 
/bin/sh -c apt-get update && apt-get install -y 		$PHPIZE_DEPS 		ca-certificates 		curl 		libedit2 		libsqlite3-0 		libxml2 		xz-utils 	--no-install-recommends && rm -r /var/lib/apt/lists/*
                        
# 2017-05-12 01:17:38  0.00B 
/bin/sh -c #(nop)  ENV PHPIZE_DEPS=autoconf 		dpkg-dev 		file 		g++ 		gcc 		libc-dev 		make 		pkg-config 		re2c
                        
# 2017-05-09 07:28:15  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2017-05-09 07:28:14  123.54MB 
/bin/sh -c #(nop) ADD file:f4e6551ac34ab446a297849489a5693d67a7e76c9cb9ed9346d82392c9d9a5fe in / 
                        
                    

镜像信息

{
    "Id": "sha256:e3e5c593479fabb26002a763997cac9abd2f8ad36368720bf712ad1782486c71",
    "RepoTags": [
        "php:7.1.4-apache",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.4-apache"
    ],
    "RepoDigests": [
        "php@sha256:afeec69ac42a9356eb380a9b931acdae2b8b2dd2ff932877b24ecb9f2944434f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php@sha256:5bfd474623fd7b405eb703a09e12572ffc62507a67373635d9c8c323bf1a952b"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2017-05-11T18:03:08.983963344Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "17.04.0-ce",
    "Author": "",
    "Config": {
        "Hostname": "200591939db7",
        "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_EXTRA_BUILD_DEPS=apache2-dev",
            "PHP_EXTRA_CONFIGURE_ARGS=--with-apxs2",
            "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2",
            "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2",
            "PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie",
            "GPG_KEYS=A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E",
            "PHP_VERSION=7.1.4",
            "PHP_URL=https://secure.php.net/get/php-7.1.4.tar.xz/from/this/mirror",
            "PHP_ASC_URL=https://secure.php.net/get/php-7.1.4.tar.xz.asc/from/this/mirror",
            "PHP_SHA256=71514386adf3e963df087c2044a0b3747900b8b1fc8da3a99f0a0ae9180d300b",
            "PHP_MD5=a74c13f8779349872b365e6732e8c98e"
        ],
        "Cmd": [
            "apache2-foreground"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:6d2bd9c02145dca9eb8c63b02709c9579b1dd6bd2efa02a83c706147cbe57e85",
        "Volumes": null,
        "WorkingDir": "/var/www/html",
        "Entrypoint": [
            "docker-php-entrypoint"
        ],
        "OnBuild": [],
        "Labels": {}
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 389624545,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/951b0cc2ed91ff5d391b894b24ee14f6bc10c56e2f4b05aa5c6325bf5d678292/diff:/var/lib/docker/overlay2/bb53b02b285b85e03499da03dfb56250337e8e6777454ae53dedbb787902c2be/diff:/var/lib/docker/overlay2/c3e09b15dff701a2c53ebfb655d19c2e8b237c45c3a6fdf30d006d32c7e90e08/diff:/var/lib/docker/overlay2/622c4ec5a69df40c7bc8e3e63d66971f8f23f96f7897701f25194bdc9a821f77/diff:/var/lib/docker/overlay2/65edbe27528aec75a2936c47f0f026b35e6fc17ed4e7d15a6367fbb948c53507/diff:/var/lib/docker/overlay2/61cdcccaeedf0130bd9063a649d2a2e5579d652b1ec3e2ca96048bdd6e44a72f/diff:/var/lib/docker/overlay2/a4522eb75f8f118876f1a9aec0d56cf21e7c90eaa87405c9a6b46f6a5fe0e1c1/diff:/var/lib/docker/overlay2/7518d4cdba746a685fd633c7600521e6a582704918ac8ea4a54f74cf38ae5809/diff:/var/lib/docker/overlay2/d2eb20c1781954ced8e69811d63fbfff33be0da8db37b580f1fd060bcfffd58f/diff:/var/lib/docker/overlay2/fb26a2060036a1ae4de91a24a487d8f8c019490111b6519cee1f5c3327889ca9/diff:/var/lib/docker/overlay2/f8246c85eaa79eb26e80454e4f23bd8060c57b412e3fdc5d1a7b485390636c1f/diff:/var/lib/docker/overlay2/449d5753826126066241b6d87c99651066b218bd96d76f3573b23d8dc30a67a7/diff",
            "MergedDir": "/var/lib/docker/overlay2/25673fe90ac24bc7d8107bd636d1db806d6941ec5c0c0971b5c437a04ece7939/merged",
            "UpperDir": "/var/lib/docker/overlay2/25673fe90ac24bc7d8107bd636d1db806d6941ec5c0c0971b5c437a04ece7939/diff",
            "WorkDir": "/var/lib/docker/overlay2/25673fe90ac24bc7d8107bd636d1db806d6941ec5c0c0971b5c437a04ece7939/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8d4d1ab5ff74fc361fb74212fff3b6dc1e6c16d1e1f0e8b44f9a9112b00b564f",
            "sha256:ca3fde139d440bf323f43799c0c1d596bbb8ba09e08cf386cc6e83cbf7b26e87",
            "sha256:c328af65e0c3206dc7de084d080b25161ed6dfe0de1b3af9b1d1d12e845a9fca",
            "sha256:6c16cb61811cfd6b8c650eeeb2378eae0fd84d3aaa90ef8eaabcbb94c77915a9",
            "sha256:847923c6a2bc5437436d5af0d847b97a1f9170398970e75e7ae03711ad81e714",
            "sha256:7f3183461a8e60210160bf81aacf66526617d4efea32c3e25b63ca8239340c85",
            "sha256:8f791eaa9760989e094479db55daf05075587484a4e2539ec7f0cb8506ff07ec",
            "sha256:74dd5aa3943088fcf913554c2f6a1983a400caed62b1a157ff2b75478607f900",
            "sha256:6bdf0ba8f17642c997aef18dc3bb6fe44c600466f97b8ffb52fa004a18a50836",
            "sha256:a46afd18e4ab93d0e5bafab06a6236dcf258f4ed00dda2b8d68fc8e2b5e9f66f",
            "sha256:e0f0ecaa4d9741bf88f0e0b947de302681caaa8bcd8fd2d95b23fb942eb7b730",
            "sha256:248fb8f3fd04b798089c99e3cfd657d3d483061114725f62aed7f77b211019e5",
            "sha256:2df0ad7bfbd4fc1dc7cbd3a998e8830bbeac086423fc81670e6c678cd8460420"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-25T16:22:35.532140891+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
242

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
111

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
95

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
81

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
73

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