docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5 linux/amd64

docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5 - 国内下载镜像源 浏览次数:55

Hyperf 框架 Docker 镜像

这是一个基于 Hyperf 框架构建的 Docker 镜像,用于快速部署和运行 Hyperf 应用。该镜像包含了 Hyperf 框架的所有依赖以及必要的运行环境,可以方便地在各种环境中进行开发和部署。

该镜像的优点包括:

  • 轻量级:仅包含必要的依赖,减少了镜像大小。
  • 易于使用:使用 Docker 容器,可以轻松部署和运行 Hyperf 应用。
  • 可移植性:可以在各种环境中运行,不受环境限制。
源镜像 docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5
镜像ID sha256:307cb3ed8c2cf64a086f070c4330d43fbfa6541f1116dd09db47a555b2ecf6f0
镜像TAG 8.2-alpine-v3.19-swoole-v5
大小 128.05MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录
OS/平台 linux/amd64
浏览量 55 次
贡献者 sy******x@gmail.com
镜像创建 2024-10-22T06:15:05.52078184Z
同步时间 2024-10-22 22:34
更新时间 2024-11-22 04:21
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SW_VERSION=v5.1.5 COMPOSER_VERSION=2.8.1 COMPOSER_ALLOW_SUPERUSER=1 PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make php82-dev php82-pear pkgconf re2c pcre-dev pcre2-dev zlib-dev libtool automake libaio-dev openssl-dev curl-dev
镜像标签
MIT: license Hyperf Developers <group@hyperf.io>: maintainer 1.0: version

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5  docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5  docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5

Shell快速替换命令

sed -i 's#hyperf/hyperf:8.2-alpine-v3.19-swoole-v5#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5  docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5  docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5'

镜像历史

大小 创建时间 层信息
72.42MB 2024-10-22 14:15:05 RUN |3 SW_VERSION=v5.1.5 COMPOSER_VERSION=2.8.1 PHP_BUILD_VERSION=82 /bin/sh -c set -ex && apk update && apk add --no-cache libstdc++ openssl git bash c-ares-dev libpq-dev php82-pdo_pgsql php82-pdo_sqlite php82-pdo_odbc && apk add --no-cache --virtual .build-deps $PHPIZE_DEPS unixodbc-dev sqlite-dev && cd /tmp && curl -SL "https://github.com/swoole/swoole-src/archive/${SW_VERSION}.tar.gz" -o swoole.tar.gz && ls -alh && cd /tmp && mkdir -p swoole && tar -xf swoole.tar.gz -C swoole --strip-components=1 && ln -s /usr/bin/phpize${PHP_BUILD_VERSION} /usr/local/bin/phpize && ln -s /usr/bin/php-config${PHP_BUILD_VERSION} /usr/local/bin/php-config && ( cd swoole && phpize && ./configure --enable-openssl --enable-swoole-curl --enable-cares --enable-swoole-pgsql --enable-swoole-sqlite --with-swoole-odbc=unixodbc,/usr && make -s -j$(nproc) && make install ) && echo "memory_limit=1G" > /etc/php${PHP_BUILD_VERSION}/conf.d/00_default.ini && echo "max_input_vars=PHP_INT_MAX" >> /etc/php${PHP_BUILD_VERSION}/conf.d/00_default.ini && echo "opcache.enable_cli = 'On'" >> /etc/php${PHP_BUILD_VERSION}/conf.d/00_opcache.ini && echo "extension=swoole.so" > /etc/php${PHP_BUILD_VERSION}/conf.d/50_swoole.ini && echo "swoole.use_shortname = 'Off'" >> /etc/php${PHP_BUILD_VERSION}/conf.d/50_swoole.ini && wget -nv -O /usr/local/bin/composer https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar && chmod u+x /usr/local/bin/composer && apk del .build-deps && rm -rf /var/cache/apk/* /tmp/* /usr/share/man /usr/local/bin/php* && php -v && php -m && php --ri swoole && php --ri Zend\ OPcache && composer && echo -e "\033[42;37m Build Completed :).\033[0m\n" # buildkit
0.00B 2024-10-22 14:15:05 ENV SW_VERSION=v5.1.5 COMPOSER_VERSION=2.8.1 COMPOSER_ALLOW_SUPERUSER=1 PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make php82-dev php82-pear pkgconf re2c pcre-dev pcre2-dev zlib-dev libtool automake libaio-dev openssl-dev curl-dev
0.00B 2024-10-22 14:15:05 ARG PHP_BUILD_VERSION=82
0.00B 2024-10-22 14:15:05 ARG COMPOSER_VERSION=2.8.1
0.00B 2024-10-22 14:15:05 ARG SW_VERSION=v5.1.5
0.00B 2024-10-22 14:15:05 LABEL maintainer=Hyperf Developers <group@hyperf.io> version=1.0 license=MIT
48.23MB 2024-08-23 20:30:19 RUN /bin/sh -c set -ex && apk update && apk add --no-cache ca-certificates curl wget tar xz tzdata pcre php82 php82-bcmath php82-curl php82-ctype php82-dom php82-fileinfo php82-gd php82-iconv php82-mbstring php82-mysqlnd php82-openssl php82-pdo php82-pdo_mysql php82-phar php82-posix php82-redis php82-sockets php82-sodium php82-sysvshm php82-sysvmsg php82-sysvsem php82-simplexml php82-tokenizer php82-zip php82-zlib php82-xml php82-xmlreader php82-xmlwriter php82-pcntl php82-opcache && ln -sf /usr/bin/php82 /usr/bin/php && php /init.php && apk del --purge *-dev && rm -rf /var/cache/apk/* /tmp/* /usr/share/man /usr/share/php82 && php -v && php -m && echo -e "\033[42;37m Build Completed :).\033[0m\n" # buildkit
929.00B 2024-08-23 20:30:17 COPY ./init.php /init.php # buildkit
0.00B 2024-08-23 20:30:17 LABEL maintainer=Hyperf Developers <group@hyperf.io> version=1.0 license=MIT
0.00B 2024-07-23 06:26:49 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.40MB 2024-07-23 06:26:49 /bin/sh -c #(nop) ADD file:c644b15c170e2ca46176a566910d40a21dce66518ed8fdfd34ebcf0e9dc90c55 in /

镜像信息

{
    "Id": "sha256:307cb3ed8c2cf64a086f070c4330d43fbfa6541f1116dd09db47a555b2ecf6f0",
    "RepoTags": [
        "hyperf/hyperf:8.2-alpine-v3.19-swoole-v5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5"
    ],
    "RepoDigests": [
        "hyperf/hyperf@sha256:e962f2d76ab6c8b257274d03e7f468e9d3123f99af14306f28663cc7b489be58",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf@sha256:5811f66723df089a759d09d1d07ef6d66c9bea8772d1e18d9c263b510cb2b43e"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-22T06:15:05.52078184Z",
    "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",
            "SW_VERSION=v5.1.5",
            "COMPOSER_VERSION=2.8.1",
            "COMPOSER_ALLOW_SUPERUSER=1",
            "PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make php82-dev php82-pear pkgconf re2c pcre-dev pcre2-dev zlib-dev libtool automake libaio-dev openssl-dev curl-dev"
        ],
        "Cmd": [
            "/bin/sh"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "license": "MIT",
            "maintainer": "Hyperf Developers \u003cgroup@hyperf.io\u003e",
            "version": "1.0"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 128051577,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8e25a53f2468767dd3ee0e99bc000496d6e5c0a2fcf38ce7888d21fb44124b5f/diff:/var/lib/docker/overlay2/61f02aa625a9906e58161528fb6233faec970017cb57d663aeacf1af39e4c146/diff:/var/lib/docker/overlay2/16dddaf8eba5db38c0cdff774f62200417eda399caa1de7400c85aaa44c14016/diff",
            "MergedDir": "/var/lib/docker/overlay2/4f88612713512d36eb8c767f7280825003afe273f9ac69293d4f87d839e9ad05/merged",
            "UpperDir": "/var/lib/docker/overlay2/4f88612713512d36eb8c767f7280825003afe273f9ac69293d4f87d839e9ad05/diff",
            "WorkDir": "/var/lib/docker/overlay2/4f88612713512d36eb8c767f7280825003afe273f9ac69293d4f87d839e9ad05/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b895814e9e6408217eb0bf6d743ed1a1e2b7273a6b3ff66405b7a9c977a0c8e4",
            "sha256:a70cdc9ff16fc155c331742e45dd15655190e0575555fbe524b6b543af6e0b13",
            "sha256:ccd88350ba27a19d6332c7ba280073984e0fd0905737f2636082f30a3448c6ed",
            "sha256:02cae6f68234163ffeb63762c9f6fe29bd6873d9b524593971d205baf5664096"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-22T22:34:05.895526588+08:00"
    }
}

更多版本

docker.io/hyperf/hyperf:8.1-alpine-v3.18-swoole

linux/amd64 docker.io127.70MB2024-10-22 20:57
65

docker.io/hyperf/hyperf:8.2-alpine-v3.19-swoole-v5

linux/amd64 docker.io128.05MB2024-10-22 22:34
54