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

docker.io/hyperf/hyperf:8.1-alpine-v3.18-swoole - 国内下载镜像源 浏览次数:66

Hyperf 框架 Docker 镜像

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

该镜像的优点包括:

  • 轻量级:仅包含必要的依赖,减少了镜像大小。
  • 易于使用:使用 Docker 容器,可以轻松部署和运行 Hyperf 应用。
  • 可移植性:可以在各种环境中运行,不受环境限制。
源镜像 docker.io/hyperf/hyperf:8.1-alpine-v3.18-swoole
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.1-alpine-v3.18-swoole
镜像ID sha256:40f2b98dcb95fa21563a17133ae017671aca350b2e47576aa210de6f10dbad12
镜像TAG 8.1-alpine-v3.18-swoole
大小 127.70MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录
OS/平台 linux/amd64
浏览量 66 次
贡献者 sy******x@gmail.com
镜像创建 2024-10-22T06:14:51.987633188Z
同步时间 2024-10-22 20:57
更新时间 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 php81-dev php81-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.1-alpine-v3.18-swoole
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.1-alpine-v3.18-swoole  docker.io/hyperf/hyperf:8.1-alpine-v3.18-swoole

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
71.88MB 2024-10-22 14:14:51 RUN |3 SW_VERSION=v5.1.5 COMPOSER_VERSION=2.8.1 PHP_BUILD_VERSION=81 /bin/sh -c set -ex && apk update && apk add --no-cache libstdc++ openssl git bash c-ares-dev libpq-dev php81-pdo_pgsql php81-pdo_sqlite php81-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:14:51 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 php81-dev php81-pear pkgconf re2c pcre-dev pcre2-dev zlib-dev libtool automake libaio-dev openssl-dev curl-dev
0.00B 2024-10-22 14:14:51 ARG PHP_BUILD_VERSION=81
0.00B 2024-10-22 14:14:51 ARG COMPOSER_VERSION=2.8.1
0.00B 2024-10-22 14:14:51 ARG SW_VERSION=v5.1.5
0.00B 2024-10-22 14:14:51 LABEL maintainer=Hyperf Developers <group@hyperf.io> version=1.0 license=MIT
48.46MB 2024-08-23 20:29:56 RUN /bin/sh -c set -ex && apk update && apk add --no-cache ca-certificates curl wget tar xz tzdata pcre php81 php81-bcmath php81-curl php81-ctype php81-dom php81-fileinfo php81-gd php81-iconv php81-mbstring php81-mysqlnd php81-openssl php81-pdo php81-pdo_mysql php81-phar php81-posix php81-redis php81-sockets php81-sodium php81-sysvshm php81-sysvmsg php81-sysvsem php81-simplexml php81-tokenizer php81-zip php81-zlib php81-xml php81-xmlreader php81-xmlwriter php81-pcntl php81-opcache && ln -sf /usr/bin/php81 /usr/bin/php && php /init.php && apk del --purge *-dev && rm -rf /var/cache/apk/* /tmp/* /usr/share/man /usr/share/php81 && php -v && php -m && echo -e "\033[42;37m Build Completed :).\033[0m\n" # buildkit
929.00B 2024-08-23 20:29:54 COPY ./init.php /init.php # buildkit
0.00B 2024-08-23 20:29:54 LABEL maintainer=Hyperf Developers <group@hyperf.io> version=1.0 license=MIT
0.00B 2024-07-23 06:26:55 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.35MB 2024-07-23 06:26:55 /bin/sh -c #(nop) ADD file:5851aef23205a072ef361dd412a73a39a1ada75e19a207a392bb7ec9b8556e11 in /

镜像信息

{
    "Id": "sha256:40f2b98dcb95fa21563a17133ae017671aca350b2e47576aa210de6f10dbad12",
    "RepoTags": [
        "hyperf/hyperf:8.1-alpine-v3.18-swoole",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf:8.1-alpine-v3.18-swoole"
    ],
    "RepoDigests": [
        "hyperf/hyperf@sha256:5c40ab162bc75ae9823fad115860f9630aac45f322741ddafda4fae9dffffb62",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/hyperf/hyperf@sha256:a96579a5e5830473fe067ae47709367093134fd1658edb8c4b16a3c39e64e9dd"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-22T06:14:51.987633188Z",
    "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 php81-dev php81-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": 127696630,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/0b86c0702e24643fbcbf1d15b5e132747b3df5830a4f2427aa546abbc4064113/diff:/var/lib/docker/overlay2/8ffabaa8d3a867df5d898312475fb0cdf17494b0c5eb77dfefc5f193ee00725d/diff:/var/lib/docker/overlay2/893b2bf1fd889d9d2653348b0b50a3212fdd775a954e13309e919201e39980f5/diff",
            "MergedDir": "/var/lib/docker/overlay2/8821c332d0ec3da65c51eb63a0469bbabf09949fb26b1ef38773ae6888145d1e/merged",
            "UpperDir": "/var/lib/docker/overlay2/8821c332d0ec3da65c51eb63a0469bbabf09949fb26b1ef38773ae6888145d1e/diff",
            "WorkDir": "/var/lib/docker/overlay2/8821c332d0ec3da65c51eb63a0469bbabf09949fb26b1ef38773ae6888145d1e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:ce7f800efff9a5cfddf4805e3887943b4a7bd97cf83140587336261130ece03b",
            "sha256:1650f905bb737e29ae8f5b7039dad28711e25e992f6ee4a3f360e6181af172b1",
            "sha256:7c39731b82e68c5cd104bf26fb5da2730991b9aba5378a6fbed50753af8c6663",
            "sha256:cebc58bf3428877b6f814896e0957b085ecd0378b3170801dbff01975e9d9605"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-22T20:57:22.537277495+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
55