2025-10-22 03:03:03 UTC
181 MB
/tmp/.composer
GPG_KEYSAFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
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.4.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_SHA256b4f27adf30bcf262eacf93c78250dd811980f20f3b90d79a3dc11248681842df
PHP_URLhttps://www.php.net/distributions/php-8.4.13.tar.xz
PHP_VERSION8.4.13
[#000] sha256:38513bd7256313495cdd83b3b0915a633cfa475dc2a07072ab2c8d191020ca5d - 15.72% (28.4 MB)
[#001] sha256:79b9a8ab14971a58a0bdec479e3f4cf1d652d8c93a984d7c8d9d9a2d5b962b10 - 0.0% (224 Bytes)
[#002] sha256:0a75e3ea43b5dd4fef842a753e3b282e9bc50a1f5f0e66119ab66b6ebdecdc3b - 62.2% (112 MB)
[#003] sha256:533f4ad7de350b41a7ac0e4ac2cd35877a2501ec1a4b0c3ef85c09c4c2fcf4cb - 0.0% (225 Bytes)
[#004] sha256:c10bdc7a750c73a4dc252b2c318b8e1c166a10b3980e3970b8326b76b0895b6e - 7.28% (13.2 MB)
[#005] sha256:43380ac1361335b2b372dac369832541d12120192e68ed0835038e235c920dc0 - 0.0% (486 Bytes)
[#006] sha256:e1af91df5554ee06dad35b0d78929eeb7135d0f5795015849ef493299a0b65d2 - 7.21% (13 MB)
[#007] sha256:0f1095b001f290bbab5a8eb4d24b72a57a9c16e55b9fef75992c1e007274abb2 - 0.0% (2.4 KB)
[#008] sha256:9aa29a707f720e7bd64761b216a4a3e293adf5aa603df942c181abf1b31e3f55 - 0.0% (249 Bytes)
[#009] sha256:87fe5cc1b3854d1cde2b39cfadd83fb99d3082b9d31e7d974e6d39899958b2e2 - 0.0% (243 Bytes)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:db685ddf17ee59edcc8980c1b42a9a6e54ed3941d702712f8f7de5bf10e87646 - 0.0% (8.98 KB)
[#012] sha256:b14f5f9dc79f741f1a4a6c160efcc2de369cd313efac0b2e78024f03584d2c8e - 0.0% (295 Bytes)
[#013] sha256:cc8df6b9fe464f68877e5a31462fc627cda89a92027a9568dda03c6e94080084 - 0.0% (2.69 KB)
[#014] sha256:6859dee97f8cf9113bf6703699931737ec9b112bb6685ef1f532fb8d79e349f0 - 0.02% (35.1 KB)
[#015] sha256:60e2e1f3133fbbd82b76d9e76b01ceb6522815f6c193ac0462342aa194940574 - 7.14% (12.9 MB)
[#016] sha256:34b341c44302bfcb03e3fb27df0832127cdff378d9a11eab8e22e7afcd14e9dc - 0.4% (735 KB)
[#017] sha256:6cb740a095ff639d6acf36727848ef004ab12842f7e89bbb799bcf152a862932 - 0.02% (35.1 KB)
[#018] sha256:42851e84f07b389287ef93e50c0a35e4798d26c2e721070fc0aa04528dbf70e2 - 0.0% (737 Bytes)
[#019] sha256:eab9d2d0a59240c1c704922078365e2b9cae8a66a0ffcc8fb098a4d561ba0ad8 - 0.0% (92 Bytes)
# debian.sh --arch 'amd64' out/ 'trixie' '@1760918400'
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.4.13
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.4.13.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.13.tar.xz.asc
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=b4f27adf30bcf262eacf93c78250dd811980f20f3b90d79a3dc11248681842df
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2025-09-25 18:46:43 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; ./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 --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --with-libdir="lib/$debMultiarch" --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable opcache # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2025-10-22 03:02:53 UTC (buildkit.dockerfile.v0)COPY ./data/php-fpm.ini /etc/supervisor.d/php-fpm.ini # buildkit
2025-10-22 03:02:53 UTC (buildkit.dockerfile.v0)COPY ./data/supervisord.conf /etc/supervisord.conf # buildkit
2025-10-22 03:02:53 UTC (buildkit.dockerfile.v0)COPY ./data/install-php-extensions /usr/local/bin/ # buildkit
2025-10-22 03:03:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends supervisor && mkdir -p /var/log/supervisor /etc/supervisor/conf.d && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
2025-10-22 03:03:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c curl -o /tmp/composer-setup.php https://getcomposer.org/installer && php /tmp/composer-setup.php --install-dir=/tmp && mv /tmp/composer.phar /usr/bin/composer && chmod +x /usr/bin/composer && rm -rf /tmp/composer-setup.php # buildkit
2025-10-22 03:03:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chmod uga+x /usr/local/bin/install-php-extensions # buildkit
2025-10-22 03:03:03 UTC (buildkit.dockerfile.v0)ENV COMPOSER_HOME=/tmp/.composer
2025-10-22 03:03:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c usermod -u 1000 www-data && groupmod -g 1000 www-data # buildkit
2025-10-22 03:03:03 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["supervisord" "--nodaemon" "--configuration" "/etc/supervisord.conf"]
2025-10-22 03:03:03 UTC (buildkit.dockerfile.v0)WORKDIR /www
2025-10-22 03:04:14 UTC
144 MB
/tmp/.composer
GPG_KEYSAFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
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.4.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_SHA256b4f27adf30bcf262eacf93c78250dd811980f20f3b90d79a3dc11248681842df
PHP_URLhttps://www.php.net/distributions/php-8.4.13.tar.xz
PHP_VERSION8.4.13
[#000] sha256:f157a4589edc88a89367c83c97b73205a4a80cffc6af7a71b789000a1bc8763e - 17.31% (25 MB)
[#001] sha256:d5130bf97bf56bc6ccbe68ad2bcc447803e168056005426489e181a0f6f62f74 - 0.0% (225 Bytes)
[#002] sha256:3dd7404fb1a21ff9a6ccced1db04ace3b922bcd465c1d9b87cc4feb3af795598 - 56.96% (82.2 MB)
[#003] sha256:75cdd7133e77ce8b1d9dc71dc5f272669131d7b1a6ab267cf2952ad4192a2d19 - 0.0% (222 Bytes)
[#004] sha256:192205f030a38b7601eb5f672f121959170f1a4edd4ef907dbe5289182b7199a - 9.11% (13.2 MB)
[#005] sha256:b73a698ab1a6e11c8f8e200287ebe224c41d2f143ed42897436c58d62ad2d852 - 0.0% (487 Bytes)
[#006] sha256:f7400a317a7220062b2bfbe87f7844e760bc203964851739a59fa163d2741049 - 7.64% (11 MB)
[#007] sha256:92f78c8ffb02303bbdbd564ca387bca4ecc65b254cd13aac51d412299138a04e - 0.0% (2.4 KB)
[#008] sha256:e0db7d147d69c7108e6ec148a8fd1b260d4c35cb8bd12a571fc827910b05a283 - 0.0% (251 Bytes)
[#009] sha256:d5da4b20ca8803caa97e12491800ee721da85bad15a033ee18cc069ba7cc3b64 - 0.0% (246 Bytes)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:a8fcfff1f683bbd72b17c8e3e1d154fef5a0fa7016d29251aed54babd6ef4899 - 0.01% (8.98 KB)
[#012] sha256:5ea6edf83d71945a3b1ed25db11cc88418bcf602fbed204db595db146050913b - 0.0% (296 Bytes)
[#013] sha256:cc8df6b9fe464f68877e5a31462fc627cda89a92027a9568dda03c6e94080084 - 0.0% (2.69 KB)
[#014] sha256:d1c15fe59f249b27c517b926f65b716f45ac26ec84bc9c916c1580b658225b88 - 0.02% (35.1 KB)
[#015] sha256:b282cd2fbc2cdc28b901d0db86209550c6b5d731ec6ba023b895351f41b65e93 - 8.42% (12.2 MB)
[#016] sha256:10c7f995348e568f6eabedffa15c82528e533ed628a2b17ee8f17f1d9a13d470 - 0.5% (735 KB)
[#017] sha256:3101c46fa4c165ec7181f8047b456ca68ae88b94d706f967ccf8404707880a6d - 0.02% (35.1 KB)
[#018] sha256:8a4300bc797ba961149943d08678923bcff160698fa86d207f4d8f090c06bda2 - 0.0% (739 Bytes)
[#019] sha256:ce5bdb98392e2067930c2b3676f62a9826445456edfcf0da8fabad52d9083925 - 0.0% (93 Bytes)
# debian.sh --arch 'armhf' out/ 'trixie' '@1760918400'
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.4.13
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.4.13.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.13.tar.xz.asc
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=b4f27adf30bcf262eacf93c78250dd811980f20f3b90d79a3dc11248681842df
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2025-09-25 18:46:43 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; ./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 --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --with-libdir="lib/$debMultiarch" --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable opcache # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2025-10-22 03:02:53 UTC (buildkit.dockerfile.v0)COPY ./data/php-fpm.ini /etc/supervisor.d/php-fpm.ini # buildkit
2025-10-22 03:02:53 UTC (buildkit.dockerfile.v0)COPY ./data/supervisord.conf /etc/supervisord.conf # buildkit
2025-10-22 03:02:53 UTC (buildkit.dockerfile.v0)COPY ./data/install-php-extensions /usr/local/bin/ # buildkit
2025-10-22 03:04:10 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends supervisor && mkdir -p /var/log/supervisor /etc/supervisor/conf.d && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
2025-10-22 03:04:13 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c curl -o /tmp/composer-setup.php https://getcomposer.org/installer && php /tmp/composer-setup.php --install-dir=/tmp && mv /tmp/composer.phar /usr/bin/composer && chmod +x /usr/bin/composer && rm -rf /tmp/composer-setup.php # buildkit
2025-10-22 03:04:13 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chmod uga+x /usr/local/bin/install-php-extensions # buildkit
2025-10-22 03:04:14 UTC (buildkit.dockerfile.v0)ENV COMPOSER_HOME=/tmp/.composer
2025-10-22 03:04:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c usermod -u 1000 www-data && groupmod -g 1000 www-data # buildkit
2025-10-22 03:04:14 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["supervisord" "--nodaemon" "--configuration" "/etc/supervisord.conf"]
2025-10-22 03:04:14 UTC (buildkit.dockerfile.v0)WORKDIR /www
2025-10-22 03:04:26 UTC
173 MB
/tmp/.composer
GPG_KEYSAFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
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.4.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_SHA256b4f27adf30bcf262eacf93c78250dd811980f20f3b90d79a3dc11248681842df
PHP_URLhttps://www.php.net/distributions/php-8.4.13.tar.xz
PHP_VERSION8.4.13
[#000] sha256:a16e551192670581ec8359c70ab9eebf8f2af5468ffc79b3d4f9ce21b0366f47 - 16.59% (28.7 MB)
[#001] sha256:92586dbfa2dacca447df7401c5c614b87258e5eff4e16729049cc7c63a4409aa - 0.0% (223 Bytes)
[#002] sha256:1f04d2bd5085830dc44763fc2e081122f5cb949e1847c3358babc1b69f058983 - 60.65% (105 MB)
[#003] sha256:8b378c3df116c36c018a4357692d1e33983b7cf7445afb569fc9e505da1b1d66 - 0.0% (222 Bytes)
[#004] sha256:799391bada9824fc4bbd9205f36882c3ccdfb6c3b4b1283f3354152fbd3b8214 - 7.59% (13.2 MB)
[#005] sha256:4134c8a5dd201cb8b569a7ed969242a322f8b6a8b9014b4f1651ad229ee78d48 - 0.0% (486 Bytes)
[#006] sha256:9445dc1f6855e65c1099392a38c395e34c712ab44cf58c67137ba05562a5f818 - 7.33% (12.7 MB)
[#007] sha256:ec28584379c7ad14de2e9df45f4bcd9028e9cc5260bac996cbf8cb9d61dd9caf - 0.0% (2.4 KB)
[#008] sha256:338aec5e444507800010d61b63621876472f13bef084bde13df73f68745b5aa3 - 0.0% (250 Bytes)
[#009] sha256:0d20fa141e5e82fb3a46cfec5e4a312dabc9676a712fe65a7129521dac30e26a - 0.0% (245 Bytes)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:1ff65537aee2f7b233f936da7b0cd7ec1bb6a7160e410be5a5117155c11462b7 - 0.01% (8.98 KB)
[#012] sha256:5ea6edf83d71945a3b1ed25db11cc88418bcf602fbed204db595db146050913b - 0.0% (296 Bytes)
[#013] sha256:cc8df6b9fe464f68877e5a31462fc627cda89a92027a9568dda03c6e94080084 - 0.0% (2.69 KB)
[#014] sha256:8a7d32ad6ff69fe96382b96590b3471d290974f8b7d7389fbeb9b442c9c1c9a6 - 0.02% (35.1 KB)
[#015] sha256:61a61ce719e02eab74163f166bb63230865133956c5067163d31baadc7afe8df - 7.37% (12.8 MB)
[#016] sha256:29b4024af5310cf200eb9e5173ad926acd4badb803dc35724d5bd50283743b05 - 0.41% (735 KB)
[#017] sha256:07bb9ae9a14f0091015b0c29145384f1f7b46caac38823965f0071f44ee6bb17 - 0.02% (35.1 KB)
[#018] sha256:580c6d05c86e2e90d9c7b4e60cb3b58fd4eb0491c311cf2d01724ae76e5f083c - 0.0% (736 Bytes)
[#019] sha256:e752c057369ae0e5ff2f76caad2b1ffc2c7fcffb0723c4b89bcde9b7ad7092d9 - 0.0% (93 Bytes)
# debian.sh --arch 'arm64' out/ 'trixie' '@1760918400'
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.4.13
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.4.13.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.13.tar.xz.asc
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=b4f27adf30bcf262eacf93c78250dd811980f20f3b90d79a3dc11248681842df
2025-09-25 18:46:43 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2025-09-25 18:46:43 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; ./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 --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --with-libdir="lib/$debMultiarch" --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable opcache # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2025-09-25 18:46:43 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2025-10-22 03:02:53 UTC (buildkit.dockerfile.v0)COPY ./data/php-fpm.ini /etc/supervisor.d/php-fpm.ini # buildkit
2025-10-22 03:02:53 UTC (buildkit.dockerfile.v0)COPY ./data/supervisord.conf /etc/supervisord.conf # buildkit
2025-10-22 03:02:53 UTC (buildkit.dockerfile.v0)COPY ./data/install-php-extensions /usr/local/bin/ # buildkit
2025-10-22 03:04:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends supervisor && mkdir -p /var/log/supervisor /etc/supervisor/conf.d && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
2025-10-22 03:04:25 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c curl -o /tmp/composer-setup.php https://getcomposer.org/installer && php /tmp/composer-setup.php --install-dir=/tmp && mv /tmp/composer.phar /usr/bin/composer && chmod +x /usr/bin/composer && rm -rf /tmp/composer-setup.php # buildkit
2025-10-22 03:04:25 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chmod uga+x /usr/local/bin/install-php-extensions # buildkit
2025-10-22 03:04:26 UTC (buildkit.dockerfile.v0)ENV COMPOSER_HOME=/tmp/.composer
2025-10-22 03:04:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c usermod -u 1000 www-data && groupmod -g 1000 www-data # buildkit
2025-10-22 03:04:26 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["supervisord" "--nodaemon" "--configuration" "/etc/supervisord.conf"]
2025-10-22 03:04:26 UTC (buildkit.dockerfile.v0)WORKDIR /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.