docker.io/library/php:5.6.40-alpine linux/amd64

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

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

源镜像 docker.io/library/php:5.6.40-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:5.6.40-alpine
镜像ID sha256:5dd6b6ea600342303f987d33524c0fae0347ae13be6ae55691d4acb873c203ea
镜像TAG 5.6.40-alpine
大小 54.34MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD php -a
启动入口 docker-php-entrypoint
工作目录
OS/平台 linux/amd64
浏览量 79 次
贡献者
镜像创建 2019-01-31T01:26:21.379472005Z
同步时间 2024-10-04 02:35
更新时间 2024-11-22 12:10
环境变量
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 PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie GPG_KEYS=0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3 PHP_VERSION=5.6.40 PHP_URL=https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror PHP_ASC_URL=https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror PHP_SHA256=1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c PHP_MD5=
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.8.2 扫描引擎: Trivy 扫描时间: 2024-10-27 23:23

低危漏洞:0 中危漏洞:0 高危漏洞:7 严重漏洞:8

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:5.6.40-alpine
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:5.6.40-alpine  docker.io/library/php:5.6.40-alpine

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2019-01-31 09:26:21 /bin/sh -c #(nop) CMD ["php" "-a"]
0.00B 2019-01-31 09:26:21 /bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
6.42KB 2019-01-31 09:26:20 /bin/sh -c #(nop) COPY multi:ca5e0e0a22a9acaec52323defcda7c7634bb6522f257ec20bee1888aede2387a in /usr/local/bin/
34.70MB 2019-01-31 09:26:20 /bin/sh -c set -xe && apk add --no-cache --virtual .build-deps $PHPIZE_DEPS coreutils curl-dev libedit-dev libressl-dev libxml2-dev sqlite-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)" && ./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-curl --with-libedit --with-openssl --with-zlib $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') $PHP_EXTRA_CONFIGURE_ARGS && make -j "$(nproc)" && make install && { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } && 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 --virtual .php-rundeps $runDeps && apk del .build-deps && pecl update-channels && rm -rf /tmp/pear ~/.pearrc
587.00B 2019-01-31 09:20:33 /bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
12.51MB 2019-01-31 09:20:33 /bin/sh -c set -xe; apk add --no-cache --virtual .fetch-deps gnupg wget ; 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 --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apk del .fetch-deps
0.00B 2019-01-31 09:20:28 /bin/sh -c #(nop) ENV PHP_SHA256=1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c PHP_MD5=
0.00B 2019-01-31 09:20:28 /bin/sh -c #(nop) ENV PHP_URL=https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror PHP_ASC_URL=https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror
0.00B 2019-01-31 09:20:28 /bin/sh -c #(nop) ENV PHP_VERSION=5.6.40
0.00B 2019-01-31 09:20:28 /bin/sh -c #(nop) ENV GPG_KEYS=0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3
0.00B 2019-01-31 08:20:41 /bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie
0.00B 2019-01-31 08:20:41 /bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2
0.00B 2019-01-31 08:20:40 /bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2
0.00B 2019-01-31 08:20:40 /bin/sh -c mkdir -p $PHP_INI_DIR/conf.d
0.00B 2019-01-31 08:20:39 /bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
4.85KB 2019-01-31 08:20:39 /bin/sh -c set -x && addgroup -g 82 -S www-data && adduser -u 82 -D -S -G www-data www-data
2.71MB 2019-01-31 08:20:38 /bin/sh -c apk add --no-cache --virtual .persistent-deps ca-certificates curl tar xz libressl
0.00B 2019-01-31 08:20:36 /bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
0.00B 2019-01-31 06:19:47 /bin/sh -c #(nop) CMD ["/bin/sh"]
4.41MB 2019-01-31 06:19:46 /bin/sh -c #(nop) ADD file:91fb97ea3549e52e7b6e22b93a6736cf915c756f3d13348406d8ad5f1a872680 in /

镜像信息

{
    "Id": "sha256:5dd6b6ea600342303f987d33524c0fae0347ae13be6ae55691d4acb873c203ea",
    "RepoTags": [
        "php:5.6.40-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php:5.6.40-alpine"
    ],
    "RepoDigests": [
        "php@sha256:3fa98fd41fe8324385baad525aa33856a59f4e6656e0308f353dcac9d76664d2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/php@sha256:5cb52df4ab4e7febbe342c366bb00aae009bbceaec183ebd1f90c0f38f25a8ca"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2019-01-31T01:26:21.379472005Z",
    "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 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",
            "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2",
            "PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie",
            "GPG_KEYS=0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3",
            "PHP_VERSION=5.6.40",
            "PHP_URL=https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror",
            "PHP_ASC_URL=https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror",
            "PHP_SHA256=1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c",
            "PHP_MD5="
        ],
        "Cmd": [
            "php",
            "-a"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:5c3c13dce1bd3a1eb9aff935d29d7bb65a06e6c493c4a8a77cb518a7e2420972",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "docker-php-entrypoint"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 54339989,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ce4d634784667bf26c2c17462ece8a3c31c2e72dd57692a539455def3d24d506/diff:/var/lib/docker/overlay2/3406b685f6e7e54b883b3997bb7740a0086445b47b3b7557f93d4ab2c516845e/diff:/var/lib/docker/overlay2/3f61afb0888122474a1b986f590b859cfa061ad0490549a2305a2ce069fd0c65/diff:/var/lib/docker/overlay2/1857a49790800747024ba60df046cf26a5cc1e1f449386093adacc26c30201cf/diff:/var/lib/docker/overlay2/8256de1922ddd0bb0344cd15477be5cdb51d9da80928b581b7778ce1eda9b31d/diff:/var/lib/docker/overlay2/8b756d6d35cbf00a9fc4809a54a86b6ce919a64cb12d7ce51fe8250ce205cd60/diff:/var/lib/docker/overlay2/76f4e9fe48a45d7b600238bfdb228a2bba957a343da7bb2ffc09450e18064e2d/diff",
            "MergedDir": "/var/lib/docker/overlay2/e7b67dd647608779f2cac91cf23e76526eeb7a13d7e412f7d15b42453c69c1ca/merged",
            "UpperDir": "/var/lib/docker/overlay2/e7b67dd647608779f2cac91cf23e76526eeb7a13d7e412f7d15b42453c69c1ca/diff",
            "WorkDir": "/var/lib/docker/overlay2/e7b67dd647608779f2cac91cf23e76526eeb7a13d7e412f7d15b42453c69c1ca/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:767f936afb51c8a3ad9a96592a4be092048bb70f2ca410028a0b3f64b826acbb",
            "sha256:f95727b0676410f0fa8e1b6c1c2ed56d0959aa57cfde20fe5cae67896630dd8d",
            "sha256:93ea2be4f8b990db1501b51b87a4653ea57013f93fe69f412c929834ad177c92",
            "sha256:88fb19d1f00523a25b68891cf14120ff15ffa3461091688bcd7c00017ea96280",
            "sha256:3cb6674a8ff799de1e959aa7a0b5e377e43632b89c1ff41c35be2d421b556d99",
            "sha256:fb63e07bf1f6c3d34b31f2b27e79309f52924158212fc3517fd17620076da6cf",
            "sha256:e63c3cde123650a28ff01cadf4103ebdafb87ae0d120ec0bf82d961ff25143d4",
            "sha256:5198617fac0746de70a037f03436af169566a4dfb5ebc5f1173d91497eeac0f7"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-04T02:35:43.128756752+08:00"
    }
}

更多版本

docker.io/library/php:7.2.34-fpm-alpine

linux/amd64 docker.io74.15MB2024-09-20 12:42
122

docker.io/library/php:5.6.40-alpine

linux/amd64 docker.io54.34MB2024-10-04 02:35
78

docker.io/library/php:7.4-apache

linux/amd64 docker.io452.59MB2024-10-22 20:36
225

docker.io/library/php:7.4.33-fpm-alpine

linux/amd64 docker.io66.76MB2024-10-30 15:06
90