Expand README with detailed documentation for Docker PHP base images,… #74
docker.yaml
on: push
check-updates
8s
Matrix: Build Docker images
Annotations
22 errors
|
Build Docker images (prod, Dockerfile, 8.4)
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c set -eux\n\n if php --version | grep -q \"PHP 8\\.4\"; then\n php_8_4=true\n fi\n\n # region Install Dependencies\n export DEBIAN_FRONTEND=noninteractive\n apt-get update\n apt-get install \\\n --yes \\\n --no-install-recommends \\\n ${PHPIZE_DEPS} \\\n ${php_8_4:+libcurl4-openssl-dev} \\\n libmemcached-dev \\\n libsqlite3-dev \\\n liburing-dev \\\n libyaml-dev \\\n libicu-dev \\\n libzip-dev \\\n zlib1g-dev \\\n libuv1-dev \\\n libpq-dev \\\n git \\\n ;\n # endregion\n\n docker-php-source extract\n export num_cpu=$(nproc)\n\n # region Install PIE extensions\n pie install -j${num_cpu} phpredis/phpredis \\\n --enable-redis \\\n ;\n pie install -j${num_cpu} apcu/apcu \\\n --enable-apcu \\\n ;\n pie install -j${num_cpu} pecl/yaml\n pie install -j${num_cpu} php-memcached/php-memcached \\\n --enable-memcached-session \\\n --enable-memcached-json \\\n ;\n #pie install -j${num_cpu} csvtoolkit/fastcsv \\\n # --enable-fastcsv \\\n #;\n # endregion\n\n # region Install built-in extensions\n docker-php-ext-configure zip\n docker-php-ext-install -j${num_cpu} \\\n pdo_sqlite \\\n pdo_pgsql \\\n sockets \\\n bcmath \\\n pcntl \\\n intl \\\n zip \\\n ;\n\n # If we're running on PHP 8.4, install the opcache extension (it's bundled in later versions)\n if [ \"${php_8_4:-}\" = \"true\" ]; then\n docker-php-ext-install -j${num_cpu} opcache\n fi\n # endregion\n\n # region Install uv extension\n pecl config-set preferred_state beta\n pecl install \"uv-${UV_VERSION}\"\n pecl config-set preferred_state stable\n # endregion\n\n # region Install PECL extensions\n pecl install excimer\n pecl clear-cache || true\n docker-php-ext-enable \\\n excimer \\\n uv \\\n ;\n # endregion\n\n # region Install Swoole with extra features\n # TODO: Remove this condition when Swoole supports PHP 8.5+\n if [ \"${php_8_4:-}\" = \"true\" ]; then\n pie install -j${num_cpu} swoole/swoole \\\n --enable-swoole-sqlite \\\n --enable-swoole-pgsql \\\n --enable-swoole-curl \\\n --enable-sockets \\\n --enable-openssl \\\n --enable-iouring \\\n --enable-brotli \\\n ;\n fi\n # endregion\n" did not complete successfully: exit code: 1
|
|
Build Docker images (prod, alpine.Dockerfile, 8.4)
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c set -eux\n\n if php --version | grep -q \"PHP 8\\.4\"; then\n php_8_4=true\n fi\n\n # region Install Dependencies\n apk add \\\n --no-cache \\\n postgresql-client \\\n libmemcached-dev \\\n ca-certificates \\\n gnu-libiconv \\\n libzip-dev \\\n yaml-dev \\\n zlib-dev \\\n gettext \\\n libuv \\\n unzip \\\n fcgi \\\n file \\\n acl \\\n ;\n apk add \\\n --no-cache \\\n --virtual .build-deps \\\n ${PHPIZE_DEPS} \\\n ${php_8_4:+curl-dev} \\\n postgresql-dev \\\n linux-headers \\\n liburing-dev \\\n sqlite-dev \\\n pcre2-dev \\\n libuv-dev \\\n pcre-dev \\\n icu-dev \\\n git \\\n ;\n # endregion\n\n docker-php-source extract\n export num_cpu=$(nproc)\n\n # region Install PIE extensions\n pie install -j${num_cpu} phpredis/phpredis \\\n --enable-redis \\\n ;\n pie install -j${num_cpu} apcu/apcu \\\n --enable-apcu \\\n ;\n pie install -j${num_cpu} pecl/yaml\n pie install -j${num_cpu} php-memcached/php-memcached \\\n --enable-memcached-session \\\n --enable-memcached-json \\\n ;\n #pie install -j${num_cpu} csvtoolkit/fastcsv \\\n # --enable-fastcsv \\\n #;\n # endregion\n\n # region Install built-in extensions\n docker-php-ext-configure zip\n docker-php-ext-install -j${num_cpu} \\\n pdo_sqlite \\\n pdo_pgsql \\\n sockets \\\n bcmath \\\n pcntl \\\n intl \\\n zip \\\n ;\n\n # If we're running on PHP 8.4, install the opcache extension (it's bundled in later versions)\n if [ \"${php_8_4:-}\" = \"true\" ]; then\n docker-php-ext-install -j${num_cpu} opcache\n fi\n # endregion\n\n # region Install uv extension\n pecl config-set preferred_state beta\n pecl install \"uv-${UV_VERSION}\"\n pecl config-set preferred_state stable\n # endregion\n\n # region Install PECL extensions\n pecl install excimer\n pecl clear-cache || true\n docker-php-ext-enable \\\n excimer \\\n uv \\\n ;\n # endregion\n\n # region Install Swoole with extra features\n # TODO: Remove this condition when Swoole supports PHP 8.5+\n if php --version | grep -q \"PHP 8\\.4\"; then\n pie install -j${num_cpu} swoole/swoole \\\n --enable-swoole-sqlite \\\n --enable-swoole-pgsql \\\n --enable-swoole-curl \\\n --enable-sockets \\\n --enable-openssl \\\n --enable-iouring \\\n --enable-brotli \\\n ;\n fi\n # endregion\n\n docker-php-source delete\n # endregion\n\n # region Remove Build Dependencies\n runDeps=\"$( \\\n scanelf \\\n --format '%n#p' \\\n --recursive \\\n --nobanner \\\n --needed \\\n /usr/local/lib/php/extensions \\\n | tr ',' '\\n' \\\n | sort -u \\\n | awk 'system(\"[ -e /usr/local/lib/\" $1 \" ]\") == 0 { next } { print \"so:\" $1 }' \\\n )\"\n apk add \\\n --no-cache \\\n --virtual .phpexts-rundeps \\\n ${runDeps}\n apk del .build-deps\n rm -rf \\\n /usr/local/lib/php/test \\\n /usr/local/bin/phpdbg \\\n /usr/local/bin/install-php-extensions \\\n /usr/local/bin/docker-php-source \\\n /usr/local/bin/docker-php-ext-* \\\n /usr/local/bin/phpize \\\n /usr/local/bin/pear* \\\n /usr/local/bin/pecl \\\n /usr/local/bin/phpize \\\n /var/cache/* \\\n /usr/src/* \\\n /tmp/* \\\n ;\n # endregion\n\n # region Add a non-root user to run the application\n addgroup \\\n -g \"${uid}\" \\\n -S \\\n \"${user}\"\n adduser \\\n -h \"/home/${user}\" \\\n -u \"${uid}\" \\\n -G ${user} \\\n -DS \\\n \"${user}\"\n # endregion\n" did not complete successfully: exit code: 1
|
|
Build Docker images (dev, alpine.Dockerfile, 8.4)
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c set -eux\n\n if php --version | grep -q \"PHP 8\\.4\"; then\n php_8_4=true\n fi\n\n # region Install Dependencies\n apk add \\\n --no-cache \\\n postgresql-client \\\n libmemcached-dev \\\n ca-certificates \\\n gnu-libiconv \\\n libzip-dev \\\n yaml-dev \\\n zlib-dev \\\n gettext \\\n libuv \\\n unzip \\\n fcgi \\\n file \\\n acl \\\n ;\n apk add \\\n --no-cache \\\n --virtual .build-deps \\\n ${PHPIZE_DEPS} \\\n ${php_8_4:+curl-dev} \\\n postgresql-dev \\\n linux-headers \\\n liburing-dev \\\n sqlite-dev \\\n pcre2-dev \\\n libuv-dev \\\n pcre-dev \\\n icu-dev \\\n git \\\n ;\n # endregion\n\n docker-php-source extract\n export num_cpu=$(nproc)\n\n # region Install PIE extensions\n pie install -j${num_cpu} phpredis/phpredis \\\n --enable-redis \\\n ;\n pie install -j${num_cpu} apcu/apcu \\\n --enable-apcu \\\n ;\n pie install -j${num_cpu} pecl/yaml\n pie install -j${num_cpu} php-memcached/php-memcached \\\n --enable-memcached-session \\\n --enable-memcached-json \\\n ;\n #pie install -j${num_cpu} csvtoolkit/fastcsv \\\n # --enable-fastcsv \\\n #;\n # endregion\n\n # region Install built-in extensions\n docker-php-ext-configure zip\n docker-php-ext-install -j${num_cpu} \\\n pdo_sqlite \\\n pdo_pgsql \\\n sockets \\\n bcmath \\\n pcntl \\\n intl \\\n zip \\\n ;\n\n # If we're running on PHP 8.4, install the opcache extension (it's bundled in later versions)\n if [ \"${php_8_4:-}\" = \"true\" ]; then\n docker-php-ext-install -j${num_cpu} opcache\n fi\n # endregion\n\n # region Install uv extension\n pecl config-set preferred_state beta\n pecl install \"uv-${UV_VERSION}\"\n pecl config-set preferred_state stable\n # endregion\n\n # region Install PECL extensions\n pecl install excimer\n pecl clear-cache || true\n docker-php-ext-enable \\\n excimer \\\n uv \\\n ;\n # endregion\n\n # region Install Swoole with extra features\n # TODO: Remove this condition when Swoole supports PHP 8.5+\n if php --version | grep -q \"PHP 8\\.4\"; then\n pie install -j${num_cpu} swoole/swoole \\\n --enable-swoole-sqlite \\\n --enable-swoole-pgsql \\\n --enable-swoole-curl \\\n --enable-sockets \\\n --enable-openssl \\\n --enable-iouring \\\n --enable-brotli \\\n ;\n fi\n # endregion\n\n docker-php-source delete\n # endregion\n\n # region Remove Build Dependencies\n runDeps=\"$( \\\n scanelf \\\n --format '%n#p' \\\n --recursive \\\n --nobanner \\\n --needed \\\n /usr/local/lib/php/extensions \\\n | tr ',' '\\n' \\\n | sort -u \\\n | awk 'system(\"[ -e /usr/local/lib/\" $1 \" ]\") == 0 { next } { print \"so:\" $1 }' \\\n )\"\n apk add \\\n --no-cache \\\n --virtual .phpexts-rundeps \\\n ${runDeps}\n apk del .build-deps\n rm -rf \\\n /usr/local/lib/php/test \\\n /usr/local/bin/phpdbg \\\n /usr/local/bin/install-php-extensions \\\n /usr/local/bin/docker-php-source \\\n /usr/local/bin/docker-php-ext-* \\\n /usr/local/bin/phpize \\\n /usr/local/bin/pear* \\\n /usr/local/bin/pecl \\\n /usr/local/bin/phpize \\\n /var/cache/* \\\n /usr/src/* \\\n /tmp/* \\\n ;\n # endregion\n\n # region Add a non-root user to run the application\n addgroup \\\n -g \"${uid}\" \\\n -S \\\n \"${user}\"\n adduser \\\n -h \"/home/${user}\" \\\n -u \"${uid}\" \\\n -G ${user} \\\n -DS \\\n \"${user}\"\n # endregion\n" did not complete successfully: exit code: 1
|
|
Build Docker images (prod, alpine.Dockerfile, 8.5)
Canceling since a higher priority waiting request for Build Docker images-refs/heads/main exists
|
|
Build Docker images (prod, alpine.Dockerfile, 8.5)
The operation was canceled.
|
|
Build Docker images (prod, frankenphp.Dockerfile, 8.4)
Canceling since a higher priority waiting request for Build Docker images-refs/heads/main exists
|
|
Build Docker images (prod, frankenphp.Dockerfile, 8.4)
The operation was canceled.
|
|
Build Docker images (dev, Dockerfile, 8.4)
Canceling since a higher priority waiting request for Build Docker images-refs/heads/main exists
|
|
Build Docker images (dev, Dockerfile, 8.4)
The operation was canceled.
|
|
Build Docker images (dev, Dockerfile, 8.5)
Canceling since a higher priority waiting request for Build Docker images-refs/heads/main exists
|
|
Build Docker images (dev, Dockerfile, 8.5)
The operation was canceled.
|
|
Build Docker images (dev, frankenphp.Dockerfile, 8.4)
Canceling since a higher priority waiting request for Build Docker images-refs/heads/main exists
|
|
Build Docker images (dev, frankenphp.Dockerfile, 8.4)
The operation was canceled.
|
|
Build Docker images (dev, frankenphp.Dockerfile, 8.5)
Canceling since a higher priority waiting request for Build Docker images-refs/heads/main exists
|
|
Build Docker images (dev, frankenphp.Dockerfile, 8.5)
The operation was canceled.
|
|
Build Docker images (prod, frankenphp.Dockerfile, 8.5)
Canceling since a higher priority waiting request for Build Docker images-refs/heads/main exists
|
|
Build Docker images (prod, frankenphp.Dockerfile, 8.5)
The operation was canceled.
|
|
Build Docker images (prod, Dockerfile, 8.5)
Canceling since a higher priority waiting request for Build Docker images-refs/heads/main exists
|
|
Build Docker images (prod, Dockerfile, 8.5)
The operation was canceled.
|
|
Build Docker images (dev, alpine.Dockerfile, 8.5)
Canceling since a higher priority waiting request for Build Docker images-refs/heads/main exists
|
|
Build Docker images (dev, alpine.Dockerfile, 8.5)
The operation was canceled.
|
|
Build Docker images
Canceling since a higher priority waiting request for Build Docker images-refs/heads/main exists
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
matchory~docker-php~5CG33E.dockerbuild
|
108 KB |
sha256:bb2f01f0c8e3481f5be73d967f4bf5bcc1341202fa786e592f7950a25187b632
|
|
|
matchory~docker-php~HZJTPA.dockerbuild
|
131 KB |
sha256:0ffc73d20c9785bf6bc46b45123eaf79a686b90556509d4b3a55362d1ac82cd4
|
|
|
matchory~docker-php~KY3QWU.dockerbuild
|
112 KB |
sha256:7519b21d610d7bd579c9bdc655a03467d016aa689c1f16d0694fa8d7520b0618
|
|