docker.io/php:7.1.33-buster linux/amd64
docker.io/php:7.1.33-buster - 国内下载镜像源 浏览次数:128
PHP 镜像用于运行 PHP 应用程序。它通常包含 PHP 解释器以及运行 PHP 应用所需的常用扩展和工具。可以使用它来构建和部署各种 PHP 项目,例如网站、API 和命令行脚本。
源镜像 | docker.io/php:7.1.33-buster |
国内镜像 | swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster |
镜像ID | sha256:060b5298208cdb9ea0d696cba210a9e253ed6549b68fbe1394b26ecccb35c881 |
镜像TAG | 7.1.33-buster |
大小 | 389.34MB |
镜像源 | docker.io |
项目信息 | Docker-Hub主页 🚀项目TAG 🚀 |
CMD | php -a |
启动入口 | docker-php-entrypoint |
工作目录 | |
OS/平台 | linux/amd64 |
浏览量 | 128 次 |
贡献者 | |
镜像创建 | 2019-11-22T18:23:37.818824444Z |
同步时间 | 2024-10-28 13:52 |
更新时间 | 2025-04-04 01:39 |
镜像安全扫描 查看Trivy扫描报告
系统OS: debian 10.2 扫描引擎: Trivy 扫描时间: 2024-10-28 13:53
低危漏洞:723
Docker拉取命令
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster docker.io/php:7.1.33-buster
Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster docker.io/php:7.1.33-buster
Shell快速替换命令
sed -i 's#php:7.1.33-buster#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster#' deployment.yaml
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster docker.io/php:7.1.33-buster'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster docker.io/php:7.1.33-buster'
镜像构建历史
# 2019-11-23 02:23:37 0.00B
/bin/sh -c #(nop) CMD ["php" "-a"]
# 2019-11-23 02:23:37 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
# 2019-11-23 02:23:37 41.00B
/bin/sh -c { echo '#!/bin/sh'; echo 'exec pkg-config "$@" freetype2'; } > /usr/local/bin/freetype-config && chmod +x /usr/local/bin/freetype-config
# 2019-11-23 02:23:36 6.50KB
/bin/sh -c #(nop) COPY multi:287fef6856464a54cd9ef266c5fea3bd820d4cf2e2666723e9d9ddd1afc6db67 in /usr/local/bin/
# 2019-11-23 02:23:35 79.28MB
/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libedit-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ${PHP_EXTRA_BUILD_DEPS:-} ; 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)"; 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 --enable-ftp --enable-mbstring --enable-mysqlnd --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-libedit --with-openssl --with-zlib $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" ${PHP_EXTRA_CONFIGURE_ARGS:-} ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; 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; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
# 2019-11-23 02:16:38 587.00B
/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
# 2019-11-23 02:16:38 13.59MB
/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_MD5" ]; then echo "$PHP_MD5 *php.tar.xz" | md5sum -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 ha.pool.sks-keyservers.net --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
# 2019-11-23 02:16:26 0.00B
/bin/sh -c #(nop) ENV PHP_SHA256=bd7c0a9bd5433289ee01fd440af3715309faf583f75832b64fe169c100d52968 PHP_MD5=
# 2019-11-23 02:16:26 0.00B
/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/get/php-7.1.33.tar.xz/from/this/mirror PHP_ASC_URL=https://www.php.net/get/php-7.1.33.tar.xz.asc/from/this/mirror
# 2019-11-23 02:16:26 0.00B
/bin/sh -c #(nop) ENV PHP_VERSION=7.1.33
# 2019-11-23 02:16:26 0.00B
/bin/sh -c #(nop) ENV GPG_KEYS=A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172
# 2019-11-22 23:47:01 0.00B
/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie
# 2019-11-22 23:47:01 0.00B
/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# 2019-11-22 23:47:01 0.00B
/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# 2019-11-22 23:47:01 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
# 2019-11-22 23:47:00 0.00B
/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
# 2019-11-22 23:46:59 227.25MB
/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/*
# 2019-11-22 23:46:31 0.00B
/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
# 2019-11-22 23:46:31 46.00B
/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
# 2019-11-22 22:55:10 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2019-11-22 22:55:09 69.21MB
/bin/sh -c #(nop) ADD file:bc8179c87c8dbb3d962bed1801f99e7c860ff03797cde6ad19b107d43b973ada in /
镜像信息
{
"Id": "sha256:060b5298208cdb9ea0d696cba210a9e253ed6549b68fbe1394b26ecccb35c881",
"RepoTags": [
"php:7.1.33-buster",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php:7.1.33-buster"
],
"RepoDigests": [
"php@sha256:e0e6ced092bbf073e4f3e48545a8e1a2592217b3346ef0cb8b18ecacf8ae1522",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/php@sha256:1e4671c8e26df6ae1d99b0e0059cdaa2fe72351c20c136e787dc463a165104e5"
],
"Parent": "",
"Comment": "",
"Created": "2019-11-22T18:23:37.818824444Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "18.06.1-ce",
"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 \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \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 -Wl,--hash-style=both -pie",
"GPG_KEYS=A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172",
"PHP_VERSION=7.1.33",
"PHP_URL=https://www.php.net/get/php-7.1.33.tar.xz/from/this/mirror",
"PHP_ASC_URL=https://www.php.net/get/php-7.1.33.tar.xz.asc/from/this/mirror",
"PHP_SHA256=bd7c0a9bd5433289ee01fd440af3715309faf583f75832b64fe169c100d52968",
"PHP_MD5="
],
"Cmd": [
"php",
"-a"
],
"ArgsEscaped": true,
"Image": "sha256:746932162958072dc1003cb45b17c485979316ceddb5cb39032ff44d1728bf81",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"docker-php-entrypoint"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 389335528,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/356322f2cad44482dd794a90aad6c511beab99142bc18a18737f48395e540764/diff:/var/lib/docker/overlay2/359d192cf78cba86c0ae04bb801dbfd8906153ceabe3cf93ab5257e4754bede3/diff:/var/lib/docker/overlay2/fe4c7ae335944aff403ac4b6f35598ce086ce693b824437ac0807d26b6fea4b6/diff:/var/lib/docker/overlay2/92a9e6568c4e7e225c01dd9521df352fcc249d94f0008a6de6cf4f836b4e8f29/diff:/var/lib/docker/overlay2/94064583401f985bf3cff1a41420306ab7cb1ed7fe3457e8e90e50b454b014e0/diff:/var/lib/docker/overlay2/c2b32dbaf1a49c092f3daedece7fc099adb2fda03a2aea62dcff0ef8028382ff/diff:/var/lib/docker/overlay2/5a6185605d6a85893c8b359ba522009439bfbdd63797785e29743cee6309238a/diff:/var/lib/docker/overlay2/67c728b33133937a105d4360e5890b072018812e1279e1d944a3ce694b48affb/diff",
"MergedDir": "/var/lib/docker/overlay2/4574858b4142a901d8d9f03cc7c2930366d6d56b821cdbdca2594a1665a3e3e8/merged",
"UpperDir": "/var/lib/docker/overlay2/4574858b4142a901d8d9f03cc7c2930366d6d56b821cdbdca2594a1665a3e3e8/diff",
"WorkDir": "/var/lib/docker/overlay2/4574858b4142a901d8d9f03cc7c2930366d6d56b821cdbdca2594a1665a3e3e8/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:831c5620387fb9efec59fc82a42b948546c6be601e3ab34a87108ecf852aa15f",
"sha256:17fce12edef0c29d15b28a80114d61232e9a194a060e2c4ff3a9490e33f77221",
"sha256:840f3f414cf6fa75611b8ecc8740a38a6f3c7c1b419f8c9e302d141ec5df9e89",
"sha256:ec64f555d498e22beb33a611ee51cdafa7e4906b7993a1379fad1df24e8de4f4",
"sha256:6ff7d8b771be6dd8fa5b1ed7c22e9a0ebf4cf40665c5bf381eaaf3ad6e72c8ab",
"sha256:8b1ac28576a6a9f779cf8e1df73bb8216c431e3b6516238e3ea555c2a20a83d3",
"sha256:cff8d48b3b1b1f94549c375a63f73acf6d9e3e0efd9659f69062033f94a5e19d",
"sha256:4b2c9cd5c48cf0078e35acba3061d056ada8e1f84c5b4d0bb63ceea2524c9b9f",
"sha256:1d4af2889bb2fd6c12c23b39fc48f482cc342ccd07ffb7882562053e7a88d492"
]
},
"Metadata": {
"LastTagTime": "2024-10-28T13:52:36.791683922+08:00"
}
}
更多版本
docker.io/php:7.4.33-zts-alpine3.16
docker.io/phpdockerio/php:7.4-fpm
docker.io/php:7.4.0-fpm-alpine
docker.io/phpipam/phpipam-cron:latest
docker.io/phpipam/phpipam-www:latest
docker.io/php:8.2.16-apache-bullseye
docker.io/php:7.4.33-zts-bullseye
docker.io/php:5.6.40-fpm-alpine
docker.io/php:7.3.29-fpm-alpine3.14
docker.io/phpmyadmin:5.2.2-apache
docker.io/php:8.3.14-apache-bookworm
docker.io/php:8.2.12-cli-alpine
docker.io/php:7-fpm-alpine3.16