2026-11-19 20:23:29 UTC
313 MB
noninteractive
DEV_MODEtrue
GPG_KEYS1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.5.13.tar.xz.asc
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_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA256607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f
PHP_URLhttps://www.php.net/distributions/php-8.5.13.tar.xz
PHP_VERSION8.5.13
TERMxterm-color
[#000] sha256:37fb86c2a767b88d500c6872195f88078f64765fe0d2f9cc375cc2efbd4c0a41 - 9.1% (28.5 MB)
[#001] sha256:df20e7c1ea76774639b39848118e8f860de9668044fd329287e9a312ef9255d8 - 0.0% (224 Bytes)
[#002] sha256:5df549fa3102ad44323dd26e4b551fedeb226dad14878e0922ccae75d11d7e7f - 35.92% (112 MB)
[#003] sha256:5a551cd820c5648ff9917a2592bf0072b6e02f13dd3cf0f673420c2f0be88d9d - 0.0% (225 Bytes)
[#004] sha256:6423742aadf4ed00ff58344f0a99429c652793309114642e093d413f1c8d31da - 4.5% (14.1 MB)
[#005] sha256:d095b4c3eac223146d31f655cd6044620b695e56c489384f6f6b17a016b44d43 - 0.0% (492 Bytes)
[#006] sha256:9e6a4ae48b06ad94b18b00f93e0da1af04f8bc39848397537937f0bcf10e69c3 - 8.31% (26 MB)
[#007] sha256:d5c0f719810b20819b0b62a28b23792d552ddfe53667bae399caf428d9d135bb - 0.0% (2.4 KB)
[#008] sha256:00225de8b2288a9bd8e2612315e8c8b89b52021d5f035c5049608802ea29ce89 - 0.0% (246 Bytes)
[#009] sha256:cd8de3c2bef834314aac77bc221e51c81e069228b4bbc80e6b64bb2675c5ac67 - 0.27% (859 KB)
[#010] sha256:c256a78dc10eed07dc5c9bde30060146f7b6863efc25a9b63a1da0f9cfcb6fb3 - 0.0% (7.42 KB)
[#011] sha256:e921394fdace1bafecf608333dab5b35b1e38ccc68ed6d559e94a0633f14a410 - 41.91% (131 MB)
[#012] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
# debian.sh --arch 'amd64' out/ 'trixie' '@1793827419'
2026-11-19 14:27:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; apt-get dist-clean # buildkit
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.5.13
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.5.13.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.5.13.tar.xz.asc
2026-11-19 14:27:34 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f
2026-11-19 14:27:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; apt-get dist-clean; 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; 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"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
2026-11-19 14:27:41 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2026-11-19 14:30:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; 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)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; test "$PHP_INI_DIR" != "${PHP_INI_DIR%/php}"; ./configure --build="$gnuArch" --sysconfdir="${PHP_INI_DIR%/php}" --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 --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear --with-libdir="lib/$debMultiarch" --enable-embed ; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2026-11-19 14:30:20 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2026-11-19 14:30:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2026-11-19 14:30:20 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2026-11-19 14:30:20 UTC (buildkit.dockerfile.v0)CMD ["php" "-a"]
2026-11-19 20:21:52 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive
2026-11-19 20:21:52 UTC (buildkit.dockerfile.v0)ENV TERM=xterm-color
2026-11-19 20:21:52 UTC (buildkit.dockerfile.v0)ARG DEV_MODE=true
2026-11-19 20:21:52 UTC (buildkit.dockerfile.v0)ENV DEV_MODE=true
2026-11-19 20:21:52 UTC (buildkit.dockerfile.v0)COPY /usr/bin/composer /usr/bin/ # buildkit
2026-11-19 20:21:52 UTC (buildkit.dockerfile.v0)COPY ./rootfilesystem/ / # buildkit
2026-11-19 20:23:29 UTC (buildkit.dockerfile.v0)RUN |1 DEV_MODE=true /bin/sh -c set -ex && apt-get update && apt-get install -y libcurl4-openssl-dev libbrotli-dev libpq-dev libsqlite3-dev libssl-dev supervisor unixodbc-dev unzip zlib1g-dev --no-install-recommends && docker-php-ext-install pdo_mysql && pecl channel-update pecl.php.net && pecl install --configureoptions 'enable-redis-igbinary="no" enable-redis-lzf="yes" enable-redis-zstd="yes" enable-redis-msgpack="no" enable-redis-lz4="no" with-liblz4="yes"' redis-6.3.0 && docker-php-ext-enable redis && install-swoole.sh 6.2.6 --enable-brotli --enable-mysqlnd --enable-sockets --enable-swoole-curl --enable-swoole-ftp --enable-swoole-pgsql --enable-swoole-sqlite --enable-swoole-stdext --enable-zstd --with-swoole-odbc=unixODBC,/usr --with-swoole-ssh2 && mkdir -p /var/log/supervisor && if [ "${DEV_MODE}" != "true" ] ; then apt-get purge -y libbrotli-dev libcurl4-openssl-dev libpq-dev libsqlite3-dev libssl-dev unixodbc-dev zlib1g-dev ; fi && rm -rf /var/lib/apt/lists/* /usr/bin/qemu-*-static && php -r 'exit(extension_loaded("swoole") ? 0 : 1);' && php -r '$ok = false; Swoole\Coroutine\run(function () use (&$ok) { $channel = new Swoole\Coroutine\Channel(1); Swoole\Coroutine::create(function () use ($channel) { Swoole\Coroutine::sleep(0.01); $channel->push(["swoole" => 1]); }); $ok = $channel->pop(10) === ["swoole" => 1]; }); exit($ok ? 0 : 1);' # buildkit
2026-11-19 20:23:29 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2026-11-19 20:23:29 UTC (buildkit.dockerfile.v0)CMD []
2026-11-19 20:23:29 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/
2026-11-19 20:22:12 UTC
291 MB
noninteractive
DEV_MODEtrue
GPG_KEYS1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.5.13.tar.xz.asc
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_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA256607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f
PHP_URLhttps://www.php.net/distributions/php-8.5.13.tar.xz
PHP_VERSION8.5.13
TERMxterm-color
[#000] sha256:acd43e9bebc37bc4ba7a5f47bd7598913337803e53d468f37d940f11f5d5f1ef - 9.92% (28.8 MB)
[#001] sha256:bbc85c0239731a08a616681cc9db2d2100c97509042923c5f74744ba9778fb1d - 0.0% (225 Bytes)
[#002] sha256:7ad6f39eaf656aa0b9e60cc719b9ff1d7f2ce88b71cf0460aea73f499046fcbb - 36.16% (105 MB)
[#003] sha256:3ec3c41c59499323dbb7a2f0a1b7b58c0bd2900499812434657941886acbf7e6 - 0.0% (226 Bytes)
[#004] sha256:740c0019a5fdc0704b76244fae7bb90d95d4aad12f5ad7ee9f00e9b7b5b93d3b - 4.84% (14.1 MB)
[#005] sha256:a3b446100811c6a89bd0cef1ea65ad6e142fb1377bdcd2b36c60c0910ee0b190 - 0.0% (489 Bytes)
[#006] sha256:eba1731ae91c211dda390f1d577e33298df266b452256b35a86f9e5482d97067 - 8.7% (25.3 MB)
[#007] sha256:89fcb1e9ae3197cd455fedefe7ddb6c640d4edb6c5fc7d273f27ada130b97629 - 0.0% (2.39 KB)
[#008] sha256:b94ce955489d449a7035e7d0e63aeb02468fe333c0822789a50b358d88704332 - 0.0% (247 Bytes)
[#009] sha256:5fce400ce1d77be846ec211b790e63f744dffd666e5bd88d41d921dd63b56695 - 0.29% (859 KB)
[#010] sha256:2156317c7ff3f0545a69ddf080353fc1b2e2fd3c0567e24e1daf67bf0a388faf - 0.0% (7.42 KB)
[#011] sha256:452bb6e75d97502722b119f0e2653388e1c0361e335333b493ed4e0556a2422c - 40.09% (116 MB)
[#012] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
# debian.sh --arch 'arm64' out/ 'trixie' '@1793827419'
2026-11-19 14:27:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; apt-get dist-clean # buildkit
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.5.13
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.5.13.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.5.13.tar.xz.asc
2026-11-19 14:27:53 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f
2026-11-19 14:28:01 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; apt-get dist-clean; 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; 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"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
2026-11-19 14:28:01 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2026-11-19 14:31:13 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; 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)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; test "$PHP_INI_DIR" != "${PHP_INI_DIR%/php}"; ./configure --build="$gnuArch" --sysconfdir="${PHP_INI_DIR%/php}" --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 --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear --with-libdir="lib/$debMultiarch" --enable-embed ; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2026-11-19 14:31:13 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2026-11-19 14:31:13 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2026-11-19 14:31:13 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2026-11-19 14:31:13 UTC (buildkit.dockerfile.v0)CMD ["php" "-a"]
2026-11-19 20:20:11 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive
2026-11-19 20:20:11 UTC (buildkit.dockerfile.v0)ENV TERM=xterm-color
2026-11-19 20:20:11 UTC (buildkit.dockerfile.v0)ARG DEV_MODE=true
2026-11-19 20:20:11 UTC (buildkit.dockerfile.v0)ENV DEV_MODE=true
2026-11-19 20:20:11 UTC (buildkit.dockerfile.v0)COPY /usr/bin/composer /usr/bin/ # buildkit
2026-11-19 20:20:11 UTC (buildkit.dockerfile.v0)COPY ./rootfilesystem/ / # buildkit
2026-11-19 20:22:12 UTC (buildkit.dockerfile.v0)RUN |1 DEV_MODE=true /bin/sh -c set -ex && apt-get update && apt-get install -y libcurl4-openssl-dev libbrotli-dev libpq-dev libsqlite3-dev libssl-dev supervisor unixodbc-dev unzip zlib1g-dev --no-install-recommends && docker-php-ext-install pdo_mysql && pecl channel-update pecl.php.net && pecl install --configureoptions 'enable-redis-igbinary="no" enable-redis-lzf="yes" enable-redis-zstd="yes" enable-redis-msgpack="no" enable-redis-lz4="no" with-liblz4="yes"' redis-6.3.0 && docker-php-ext-enable redis && install-swoole.sh 6.2.6 --enable-brotli --enable-mysqlnd --enable-sockets --enable-swoole-curl --enable-swoole-ftp --enable-swoole-pgsql --enable-swoole-sqlite --enable-swoole-stdext --enable-zstd --with-swoole-odbc=unixODBC,/usr --with-swoole-ssh2 && mkdir -p /var/log/supervisor && if [ "${DEV_MODE}" != "true" ] ; then apt-get purge -y libbrotli-dev libcurl4-openssl-dev libpq-dev libsqlite3-dev libssl-dev unixodbc-dev zlib1g-dev ; fi && rm -rf /var/lib/apt/lists/* /usr/bin/qemu-*-static && php -r 'exit(extension_loaded("swoole") ? 0 : 1);' && php -r '$ok = false; Swoole\Coroutine\run(function () use (&$ok) { $channel = new Swoole\Coroutine\Channel(1); Swoole\Coroutine::create(function () use ($channel) { Swoole\Coroutine::sleep(0.01); $channel->push(["swoole" => 1]); }); $ok = $channel->pop(10) === ["swoole" => 1]; }); exit($ok ? 0 : 1);' # buildkit
2026-11-19 20:22:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2026-11-19 20:22:12 UTC (buildkit.dockerfile.v0)CMD []
2026-11-19 20:22:12 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/
2026-11-19 21:56:10 UTC
306 MB
noninteractive
DEV_MODEtrue
GPG_KEYS1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.5.13.tar.xz.asc
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_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA256607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f
PHP_URLhttps://www.php.net/distributions/php-8.5.13.tar.xz
PHP_VERSION8.5.13
TERMxterm-color
[#000] sha256:33d716a337c18262f51540d4a07992d0eb31456a1d5386930bec26ee2244fa66 - 10.5% (32.1 MB)
[#001] sha256:6c7268b190588f776dc9e7d85c3d3e7cd51ab40a5eb161341e7cafba8aa8db15 - 0.0% (226 Bytes)
[#002] sha256:531972258920b8490e62ebec510a08a421787308f63d34f6bc4d9b6b8d8abc78 - 34.18% (105 MB)
[#003] sha256:81b985c27ef371a30298e699042d2ad9aefa1c4153215a3857a6bb042ad47cde - 0.0% (224 Bytes)
[#004] sha256:795bf0438fe8353c5b200785892e009d0abd0c840ed5fbf4c53939d1b1dee12d - 4.6% (14.1 MB)
[#005] sha256:cb2ba4b0e63c46bdcb4561b300d37739c0f3d10237b9a8fa15d35d8cd8f879dd - 0.0% (488 Bytes)
[#006] sha256:1a3a993d2f7410d5ea59e9eff76eb67a91b998d6f0c8dde138989c961aaa7ef1 - 8.54% (26.1 MB)
[#007] sha256:a0129de5e9b917638ec566f6c5a905ff4b6afc7cf024c8e37c00261521c8c4a5 - 0.0% (2.4 KB)
[#008] sha256:ff27cb26543e1b61d4c3beb6ef90c1d209fd88da044ef94a9875df15732510bd - 0.0% (246 Bytes)
[#009] sha256:152d3b73b4d81ae87e23c65f50236e16926bec002f2beae40d41c04e4a9c248d - 0.27% (859 KB)
[#010] sha256:a27ea520326d86cdd5b85ee4351517cbb9c1712cf01c77736eb545d4a6dc4fb6 - 0.0% (7.42 KB)
[#011] sha256:d5390ffc7f4ea68df1e5b5dcb097c5b01dab4892ab0b5310dd7bf8d33789b1bb - 41.9% (128 MB)
[#012] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
# debian.sh --arch 'ppc64el' out/ 'trixie' '@1793827419'
2026-11-05 07:51:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; apt-get dist-clean # buildkit
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.5.13
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.5.13.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.5.13.tar.xz.asc
2026-11-05 07:51:49 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f
2026-11-19 14:24:01 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; apt-get dist-clean; 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; 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"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
2026-11-19 14:24:01 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2026-11-19 14:30:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; 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)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; test "$PHP_INI_DIR" != "${PHP_INI_DIR%/php}"; ./configure --build="$gnuArch" --sysconfdir="${PHP_INI_DIR%/php}" --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 --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear --with-libdir="lib/$debMultiarch" --enable-embed ; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2026-11-19 14:30:06 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2026-11-19 14:30:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2026-11-19 14:30:06 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2026-11-19 14:30:06 UTC (buildkit.dockerfile.v0)CMD ["php" "-a"]
2026-11-19 21:33:23 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive
2026-11-19 21:33:23 UTC (buildkit.dockerfile.v0)ENV TERM=xterm-color
2026-11-19 21:33:23 UTC (buildkit.dockerfile.v0)ARG DEV_MODE=true
2026-11-19 21:33:23 UTC (buildkit.dockerfile.v0)ENV DEV_MODE=true
2026-11-19 21:33:23 UTC (buildkit.dockerfile.v0)COPY /usr/bin/composer /usr/bin/ # buildkit
2026-11-19 21:33:23 UTC (buildkit.dockerfile.v0)COPY ./rootfilesystem/ / # buildkit
2026-11-19 21:56:10 UTC (buildkit.dockerfile.v0)RUN |1 DEV_MODE=true /bin/sh -c set -ex && apt-get update && apt-get install -y libcurl4-openssl-dev libbrotli-dev libpq-dev libsqlite3-dev libssl-dev supervisor unixodbc-dev unzip zlib1g-dev --no-install-recommends && docker-php-ext-install pdo_mysql && pecl channel-update pecl.php.net && pecl install --configureoptions 'enable-redis-igbinary="no" enable-redis-lzf="yes" enable-redis-zstd="yes" enable-redis-msgpack="no" enable-redis-lz4="no" with-liblz4="yes"' redis-6.3.0 && docker-php-ext-enable redis && install-swoole.sh 6.2.6 --enable-brotli --enable-mysqlnd --enable-sockets --enable-swoole-curl --enable-swoole-ftp --enable-swoole-pgsql --enable-swoole-sqlite --enable-swoole-stdext --enable-zstd --with-swoole-odbc=unixODBC,/usr --with-swoole-ssh2 && mkdir -p /var/log/supervisor && if [ "${DEV_MODE}" != "true" ] ; then apt-get purge -y libbrotli-dev libcurl4-openssl-dev libpq-dev libsqlite3-dev libssl-dev unixodbc-dev zlib1g-dev ; fi && rm -rf /var/lib/apt/lists/* /usr/bin/qemu-*-static && php -r 'exit(extension_loaded("swoole") ? 0 : 1);' && php -r '$ok = false; Swoole\Coroutine\run(function () use (&$ok) { $channel = new Swoole\Coroutine\Channel(1); Swoole\Coroutine::create(function () use ($channel) { Swoole\Coroutine::sleep(0.01); $channel->push(["swoole" => 1]); }); $ok = $channel->pop(10) === ["swoole" => 1]; }); exit($ok ? 0 : 1);' # buildkit
2026-11-19 21:56:10 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2026-11-19 21:56:10 UTC (buildkit.dockerfile.v0)CMD []
2026-11-19 21:56:10 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/
2026-11-19 21:21:24 UTC
275 MB
noninteractive
DEV_MODEtrue
GPG_KEYS1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.5.13.tar.xz.asc
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_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA256607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f
PHP_URLhttps://www.php.net/distributions/php-8.5.13.tar.xz
PHP_VERSION8.5.13
TERMxterm-color
[#000] sha256:68fa0367de27b0e6a2c3df0454287606106fa6c116da44e6260ef14d71fbf0e4 - 10.38% (28.5 MB)
[#001] sha256:1dc90f18d381c1c190bbd05548eb25d4919b5bcb4150305b2066bb6f6a0eac1f - 0.0% (225 Bytes)
[#002] sha256:6064727183bb56538cc6371082e5cf86589847304ddb2ccb1d606fa7a75240e2 - 32.1% (88.3 MB)
[#003] sha256:4a7fb2d82fb764d012f892370b22cac9c131ee57ce786c706df99509bd396c16 - 0.0% (226 Bytes)
[#004] sha256:4a9cee0963f8f8cc944fb323d2a25fa1cf1b2b8b76a7f03f514e52615d12dee3 - 5.12% (14.1 MB)
[#005] sha256:b1c127282ca80faef27c72bb89981a4e9d6c048c36ef0e61cc3cd2af61f022e7 - 0.0% (489 Bytes)
[#006] sha256:3de1e73fbda5b3739f505eb57ff01ded7612dda56fb50c35099590b5800345df - 8.95% (24.6 MB)
[#007] sha256:495ecf6b9d56208121d4f7bd984154567f3df97cf2d065ec422867e029f085b8 - 0.0% (2.4 KB)
[#008] sha256:b547c957011a44afe97b284e6863675345f4a84ffff18ea5940cb0feee2373ba - 0.0% (244 Bytes)
[#009] sha256:ef92ab44d0ac06f0a4959dca16387b0ec01b5bdaae316bb4766497fcdb5cd562 - 0.31% (859 KB)
[#010] sha256:ea8d87389191f7901a7c3b400d442f3f6bcad922398f54617a0dad2aae343832 - 0.0% (7.42 KB)
[#011] sha256:ed0577601c45f463726194dd5b740b60ecf96bf3a133ac27667b3e705262d9b1 - 43.14% (119 MB)
[#012] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
# debian.sh --arch 's390x' out/ 'trixie' '@1793827419'
2026-11-05 07:16:16 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; apt-get dist-clean # buildkit
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.5.13
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.5.13.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.5.13.tar.xz.asc
2026-11-05 07:16:29 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f
2026-11-19 14:26:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; apt-get dist-clean; 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; 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"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
2026-11-19 14:26:41 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2026-11-19 14:30:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; 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)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; test "$PHP_INI_DIR" != "${PHP_INI_DIR%/php}"; ./configure --build="$gnuArch" --sysconfdir="${PHP_INI_DIR%/php}" --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 --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear --with-libdir="lib/$debMultiarch" --enable-embed ; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2026-11-19 14:30:10 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2026-11-19 14:30:10 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2026-11-19 14:30:10 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2026-11-19 14:30:10 UTC (buildkit.dockerfile.v0)CMD ["php" "-a"]
2026-11-19 20:57:33 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive
2026-11-19 20:57:33 UTC (buildkit.dockerfile.v0)ENV TERM=xterm-color
2026-11-19 20:57:33 UTC (buildkit.dockerfile.v0)ARG DEV_MODE=true
2026-11-19 20:57:33 UTC (buildkit.dockerfile.v0)ENV DEV_MODE=true
2026-11-19 20:57:33 UTC (buildkit.dockerfile.v0)COPY /usr/bin/composer /usr/bin/ # buildkit
2026-11-19 20:57:33 UTC (buildkit.dockerfile.v0)COPY ./rootfilesystem/ / # buildkit
2026-11-19 21:21:24 UTC (buildkit.dockerfile.v0)RUN |1 DEV_MODE=true /bin/sh -c set -ex && apt-get update && apt-get install -y libcurl4-openssl-dev libbrotli-dev libpq-dev libsqlite3-dev libssl-dev supervisor unixodbc-dev unzip zlib1g-dev --no-install-recommends && docker-php-ext-install pdo_mysql && pecl channel-update pecl.php.net && pecl install --configureoptions 'enable-redis-igbinary="no" enable-redis-lzf="yes" enable-redis-zstd="yes" enable-redis-msgpack="no" enable-redis-lz4="no" with-liblz4="yes"' redis-6.3.0 && docker-php-ext-enable redis && install-swoole.sh 6.2.6 --enable-brotli --enable-mysqlnd --enable-sockets --enable-swoole-curl --enable-swoole-ftp --enable-swoole-pgsql --enable-swoole-sqlite --enable-swoole-stdext --enable-zstd --with-swoole-odbc=unixODBC,/usr --with-swoole-ssh2 && mkdir -p /var/log/supervisor && if [ "${DEV_MODE}" != "true" ] ; then apt-get purge -y libbrotli-dev libcurl4-openssl-dev libpq-dev libsqlite3-dev libssl-dev unixodbc-dev zlib1g-dev ; fi && rm -rf /var/lib/apt/lists/* /usr/bin/qemu-*-static && php -r 'exit(extension_loaded("swoole") ? 0 : 1);' && php -r '$ok = false; Swoole\Coroutine\run(function () use (&$ok) { $channel = new Swoole\Coroutine\Channel(1); Swoole\Coroutine::create(function () use ($channel) { Swoole\Coroutine::sleep(0.01); $channel->push(["swoole" => 1]); }); $ok = $channel->pop(10) === ["swoole" => 1]; }); exit($ok ? 0 : 1);' # buildkit
2026-11-19 21:21:24 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2026-11-19 21:21:24 UTC (buildkit.dockerfile.v0)CMD []
2026-11-19 21:21:24 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.