docker.io/composer:2.7.7 linux/amd64

docker.io/composer:2.7.7 - 国内下载镜像源 浏览次数:100

Composer是 Docker 官方镜像,为 PHP 依赖项管理工具 Composer 提供了一个容器环境,可以用于开发、测试和部署 PHP 项目。

源镜像 docker.io/composer:2.7.7
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/composer:2.7.7
镜像ID sha256:a59edfa96e04c4d40ecfe7465485035976d7595276702cd00161632f08edd837
镜像TAG 2.7.7
大小 188.70MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD composer
启动入口 /docker-entrypoint.sh
工作目录 /app
OS/平台 linux/amd64
浏览量 100 次
贡献者
镜像创建 2024-06-11T08:05:12Z
同步时间 2024-07-28 23:34
更新时间 2024-11-08 22:08
环境变量
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=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA PHP_VERSION=8.3.9 PHP_URL=https://www.php.net/distributions/php-8.3.9.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.9.tar.xz.asc PHP_SHA256=bf4d7b8ea60a356064f88485278bd6f941a230ec16f0fc401574ce1445ad6c77 COMPOSER_ALLOW_SUPERUSER=1 COMPOSER_HOME=/tmp COMPOSER_VERSION=2.7.7

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/composer:2.7.7
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/composer:2.7.7  docker.io/composer:2.7.7

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/composer:2.7.7
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/composer:2.7.7  docker.io/composer:2.7.7

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-06-11 16:05:12 CMD ["composer"]
0.00B 2024-06-11 16:05:12 ENTRYPOINT ["/docker-entrypoint.sh"]
0.00B 2024-06-11 16:05:12 WORKDIR /app
624.00B 2024-06-11 16:05:12 COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit
3.60MB 2024-06-11 16:05:12 RUN /bin/sh -c set -eux ; curl --silent --fail --location --retry 3 --output /usr/local/bin/install-php-extensions --url https://github.com/mlocati/docker-php-extension-installer/releases/download/1.2.58/install-php-extensions ; echo 182011b3dca5544a70fdeb587af44ed1760aa9a2ed37d787d0f280a99f92b008e638c37762360cd85583830a097665547849cb2293c4a0ee32c2a36ef7a349e2 /usr/local/bin/install-php-extensions | sha512sum --strict --check ; chmod +x /usr/local/bin/install-php-extensions ; install-php-extensions bz2 zip ; curl --silent --fail --location --retry 3 --output /tmp/keys.dev.pub --url https://raw.githubusercontent.com/composer/composer.github.io/e7f28b7200249f8e5bc912b42837d4598c74153a/snapshots.pub ; echo 572b963c4b7512a7de3c71a788772440b1996d918b1d2b5354bf8ba2bb057fadec6f7ac4852f2f8a8c01ab94c18141ce0422aec3619354b057216e0597db5ac2 /tmp/keys.dev.pub | sha512sum --strict --check ; curl --silent --fail --location --retry 3 --output /tmp/keys.tags.pub --url https://raw.githubusercontent.com/composer/composer.github.io/e7f28b7200249f8e5bc912b42837d4598c74153a/releases.pub ; echo 47f374b8840dcb0aa7b2327f13d24ab5f6ae9e58aa630af0d62b3d0ea114f4a315c5d97b21dcad3c7ffe2f0a95db2edec267adaba3f4f5a262abebe39aed3a28 /tmp/keys.tags.pub | sha512sum --strict --check ; curl --silent --fail --location --retry 3 --output /tmp/installer.php --url https://raw.githubusercontent.com/composer/getcomposer.org/f24b8f860b95b52167f91bbd3e3a7bcafe043038/web/installer ; echo 3137ad86bd990524ba1dedc2038309dfa6b63790d3ca52c28afea65dcc2eaead16fb33e9a72fd2a7a8240afaf26e065939a2d472f3b0eeaa575d1e8648f9bf19 /tmp/installer.php | sha512sum --strict --check ; php /tmp/installer.php --no-ansi --install-dir=/usr/bin --filename=composer --version=${COMPOSER_VERSION} ; composer --ansi --version --no-interaction ; composer diagnose ; rm -f /tmp/installer.php ; find /tmp -type d -exec chmod -v 1777 {} + # buildkit
0.00B 2024-06-11 16:05:12 ENV COMPOSER_VERSION=2.7.7
0.00B 2024-06-11 16:05:12 ENV COMPOSER_HOME=/tmp
0.00B 2024-06-11 16:05:12 ENV COMPOSER_ALLOW_SUPERUSER=1
66.00B 2024-06-11 16:05:12 RUN /bin/sh -c printf "# composer php cli ini settings\ndate.timezone=UTC\nmemory_limit=-1\n" > $PHP_INI_DIR/php-cli.ini # buildkit
79.74MB 2024-06-11 16:05:12 RUN /bin/sh -c set -eux ; apk add --no-cache --virtual .composer-rundeps bash coreutils git make openssh-client patch subversion tini unzip zip $([ "$(apk --print-arch)" != "x86" ] && echo mercurial) $([ "$(apk --print-arch)" != "armhf" ] && echo p7zip) # buildkit
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) CMD ["php" "-a"]
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
53.73KB 2024-06-11 16:05:12 /bin/sh -c docker-php-ext-enable sodium
7.20KB 2024-06-11 16:05:12 /bin/sh -c #(nop) COPY multi:6edd033b037aa2d7697fc3b9f82c2f162146c1920a0c6d25a165dc56783204db in /usr/local/bin/
78.05MB 2024-06-11 16:05:12 /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; 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)"; ./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=/usr --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear ; 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
587.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
12.52MB 2024-06-11 16:05:12 /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
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) ENV PHP_SHA256=bf4d7b8ea60a356064f88485278bd6f941a230ec16f0fc401574ce1445ad6c77
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.3.9.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.9.tar.xz.asc
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) ENV PHP_VERSION=8.3.9
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
0.00B 2024-06-11 16:05:12 /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
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
3.04KB 2024-06-11 16:05:12 /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data
6.94MB 2024-06-11 16:05:12 /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
0.00B 2024-06-11 16:05:12 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-06-11 16:05:12 /bin/sh -c #(nop) ADD file:99093095d62d0421541d882f9ceeddb2981fe701ec0aa9d2c08480712d5fed21 in /

镜像信息

{
    "Id": "sha256:a59edfa96e04c4d40ecfe7465485035976d7595276702cd00161632f08edd837",
    "RepoTags": [
        "composer:2.7.7",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/composer:2.7.7"
    ],
    "RepoDigests": [
        "composer@sha256:6d2b5386580c3ba67399c6ccfb50873146d68fcd7c31549f8802781559bed709",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/composer@sha256:5b85f22c2d6bbdb5ad2e268a0d67ecc668409bd04f83d75c0178c15eaa7f3b98"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-06-11T08:05:12Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "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=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA",
            "PHP_VERSION=8.3.9",
            "PHP_URL=https://www.php.net/distributions/php-8.3.9.tar.xz",
            "PHP_ASC_URL=https://www.php.net/distributions/php-8.3.9.tar.xz.asc",
            "PHP_SHA256=bf4d7b8ea60a356064f88485278bd6f941a230ec16f0fc401574ce1445ad6c77",
            "COMPOSER_ALLOW_SUPERUSER=1",
            "COMPOSER_HOME=/tmp",
            "COMPOSER_VERSION=2.7.7"
        ],
        "Cmd": [
            "composer"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": [
            "/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 188704250,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/7f6a99f7773b954c4ba67a6bf98219b9c7fc65948c1cd35a370f0da893c24e7d/diff:/var/lib/docker/overlay2/cd9740c61bb3ec1f448da72d610e546717d43255c967ce340f930aef10b1edbe/diff:/var/lib/docker/overlay2/ca73ad9b1f96925238cf67d1ca97544496b0e7589c40630a40d61268d0270f79/diff:/var/lib/docker/overlay2/532e376e30076eae99617d1646b73ac568a65d0b97201ac43e43530b76d1f0c4/diff:/var/lib/docker/overlay2/7f9dc1d9b589590152229cb80e083bc3fdc4cf511e627be9510f1c212e9a29c5/diff:/var/lib/docker/overlay2/9e4aa82ede60a3a0c90bb240b060bdb3966635b18a4458ac7ec655ae18b789d5/diff:/var/lib/docker/overlay2/4eb094d651144c3ad8a99e810c38fc7afecc8731d32774c07e7874a3f0b6a5b2/diff:/var/lib/docker/overlay2/f1385772c34598343ea91d10ced5fa5c939c5d003eb26ee0154e89b604ff608a/diff:/var/lib/docker/overlay2/4db70f5e64829c72dbe01502ef2328dd408e46f338f1201d809888fe42182176/diff:/var/lib/docker/overlay2/f36224efb608f7cac41983375f6355e56106b9ea4461ce1e9b052ab56123d8bd/diff:/var/lib/docker/overlay2/1b6cb4743e6a47cffdf225a2258204879cdd38b396b037208493f418503a9d32/diff:/var/lib/docker/overlay2/4a0806ce1c06aeaa989fcfba15d141139d14ebca7fdd97040cb4e81126a6b6f8/diff:/var/lib/docker/overlay2/197612c0cb8cf4a976e6909c9e1ea5c606d639df6dab5cfe2c9b2e53929fc5d7/diff",
            "MergedDir": "/var/lib/docker/overlay2/0e6782f20eb66d08dce23e996f4f7623c2804f3ebad505b758f32f39a5ddc3f9/merged",
            "UpperDir": "/var/lib/docker/overlay2/0e6782f20eb66d08dce23e996f4f7623c2804f3ebad505b758f32f39a5ddc3f9/diff",
            "WorkDir": "/var/lib/docker/overlay2/0e6782f20eb66d08dce23e996f4f7623c2804f3ebad505b758f32f39a5ddc3f9/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:78561cef0761903dd2f7d09856150a6d4fb48967a8f113f3e33d79effbf59a07",
            "sha256:6331e293fc95c595dbfaf76d075c285a13e1c513ad7f3f5b2a8f25337d67fa9e",
            "sha256:8081158e2862d1dbe98e110fa749e68fb907a21c92652d0120055acbd274ff3b",
            "sha256:44807cdd4189dabb49857c92c2cd5bff1a43b8f1b0c985be9f379b2e61cd9f5d",
            "sha256:0cead8bd85622ea8565cdfedeb09fc451ccfe227b3435444017277914f1aabd0",
            "sha256:cc5f978e6e41be8de61e85ece5cf5e0c8483422e0296c1c26bee8e56c5984913",
            "sha256:510c335f64cbdbd2e2492f5e74256c35b1f312658c408c3778e2b7cbe28165fd",
            "sha256:f4a15286e3b99c812740b38fc3c59b44456459e14cfeb5388c69e7b26b2c0e16",
            "sha256:5d6a537753b0767a684dff9309ba6b679b04de73456e2733fdca4de2dea8177f",
            "sha256:8dff3de89fa24de7fb3cbd2687c29bca4b5f2083f8bdecfd15c21f6845a8bd9d",
            "sha256:1cfabfea44110b9c82e9a3fee969e29739210fa81ec21c46af20d5d74af6d545",
            "sha256:d975013802a06d3b9a3ed108367b59bef2097a627605c0c058d28cb5af739a97",
            "sha256:ddc85426785f315ae275077998d08e3d655a264a49efbcac321cc96dc2c166f6",
            "sha256:c9ca02a4c0a6e0bb8d5e96dbe59cab873142395cde2606fd51980e8e3c1678fe"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-28T23:34:33.486922182+08:00"
    }
}

更多版本

docker.io/composer:2.7.7

linux/amd64 docker.io188.70MB2024-07-28 23:34
99

docker.io/composer:2.6.6

linux/amd64 docker.io188.57MB2024-07-28 23:35
113