Namespace
1panel
Image / Tag
php:8.4.21-fpm
Content Digest
sha256:fc1f8edf619717ba70c63a77d30ca7b427e55cb2ecb9ba41deae2e0b3e3281f4
Details
Created

2026-05-14 05:54:25 UTC

Size

181 MB

Content Digest
Environment
COMPOSER_HOME

/tmp/.composer

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.21.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_SHA256

7cf5d8ab12c3b2016875bcfaec71bef1ef0b07bed6148f2c447577074431f984

PHP_URL

https://www.php.net/distributions/php-8.4.21.tar.xz

PHP_VERSION

8.4.21


Layers

[#000] sha256:57fb71246055257a374deb7564ceca10f43c2352572b501efc08add5d24ebb61 - 15.7% (28.4 MB)

[#001] sha256:b7f9f996dc712eec9875e95aee9a82a598c21224a57c9c80c2565f7d0440a945 - 0.0% (225 Bytes)

[#002] sha256:16f5d15ef7c748f655723578247dd8046b74d79552f9b14cba5afa2a1daf1641 - 62.12% (112 MB)

[#003] sha256:488166dcddd315533e51a5270ad5cfbcdac9e6a4f0eb2763a6ca6fd9965cc293 - 0.0% (226 Bytes)

[#004] sha256:eaeb3037e2971cbca17268f0015b085c09da17441d235186b6f7b0061a5229e9 - 7.31% (13.2 MB)

[#005] sha256:f19b8bb4072095d620c814d260a8dd43b80cf58ea13c53fb944cd2d86b26c664 - 0.0% (490 Bytes)

[#006] sha256:fcd63c122760fa211eb3771869d65269cb6b2357951e4b2d3b68ebf9b0791616 - 7.28% (13.2 MB)

[#007] sha256:0295ea7c4ac781f6b3f545545e296bcd57009966b9de3e6aaf8483ab18e5b473 - 0.0% (2.39 KB)

[#008] sha256:8ce759a6e90aa9ba83f4e805559654e9444378f75a2bb9d44835eb0baa58a9c5 - 0.0% (250 Bytes)

[#009] sha256:1817441c53d120612fc19074c6788a1f7c39e4f0c206007e20387cf94983087d - 0.0% (244 Bytes)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:a9bcea2eaf64d1659abc3806bc42c1cd1296186a5ae02d41e3d2bf1644f7803b - 0.0% (9.05 KB)

[#012] sha256:b4eb32c14ded69e8698a3a82477a63647d141a7b4766eeb3695afebbc004356e - 0.0% (299 Bytes)

[#013] sha256:69d1b6a804956e685bcdc19ace18bf750ea5015a421c63898fb4f8e44c948534 - 0.0% (2.69 KB)

[#014] sha256:228443042b8f6f224323ba93cb1e75a8379572b7b777d727e3ad549cde535d3a - 0.02% (36.4 KB)

[#015] sha256:35f77b83b13d9b5b315760bea69895615cdad59c98765c2133d885e010668e69 - 7.13% (12.9 MB)

[#016] sha256:8b083e5931c0f08e90a210a8389be686932052f227a2b04f40bd31e5ece54c07 - 0.42% (774 KB)

[#017] sha256:40c9f61e232e97fbdd11d76d4de2c88cc4cfa29f140ed3aab66d8d5db623dd41 - 0.02% (36.4 KB)

[#018] sha256:cd9a3adad5470c968cad8b05876c26b5d8fcd6126575efe9956a11fb16410b87 - 0.0% (737 Bytes)

[#019] sha256:47427edbaee471b9b5aefbe76d352e267c60e493b677319b59113aec3d6e9e52 - 0.0% (92 Bytes)


History
2026-05-05 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 'amd64' out/ 'trixie' '@1777939200'

2026-05-08 19:23:25 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-05-08 19:23:41 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

2026-05-08 19:23:41 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-05-08 19:23:41 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-05-08 19:23:41 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-05-08 19:23:41 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2026-05-08 19:23:41 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2026-05-08 19:23:41 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-05-08 19:23:41 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2026-05-08 19:23:41 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.21

2026-05-08 19:23:41 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.21.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.21.tar.xz.asc

2026-05-08 19:23:41 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=7cf5d8ab12c3b2016875bcfaec71bef1ef0b07bed6148f2c447577074431f984

2026-05-08 19:23:51 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-05-08 19:23:51 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2026-05-08 19:26:26 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; 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 --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

2026-05-08 19:26:26 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2026-05-08 19:26:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2026-05-08 19:26:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2026-05-08 19:26:27 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-05-08 19:26:27 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-05-08 19:26:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd "${PHP_INI_DIR%/php}"; cp -v php-fpm.conf.default php-fpm.conf; cp -v php-fpm.d/www.conf.default php-fpm.d/www.conf; grep -E '^listen = 127.0.0.1:9000' php-fpm.d/www.conf; sed -ri 's/^(listen = 127.0.0.1:9000)/;\1/' php-fpm.d/www.conf; grep -E '^;listen = 127.0.0.1:9000' php-fpm.d/www.conf; { 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'; echo; echo '; default listen address for easy override in later php-fpm.d/*.conf files'; echo 'listen = 9000'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '; the [www] ini section below is for backwards compatibility and will be removed in 8.6+'; echo '[www]'; } | 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

2026-05-08 19:26:27 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-05-08 19:26:27 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-05-08 19:26:27 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-05-14 05:54:17 UTC (buildkit.dockerfile.v0)

COPY ./data/php-fpm.ini /etc/supervisor.d/php-fpm.ini # buildkit

2026-05-14 05:54:17 UTC (buildkit.dockerfile.v0)

COPY ./data/supervisord.conf /etc/supervisord.conf # buildkit

2026-05-14 05:54:17 UTC (buildkit.dockerfile.v0)

COPY ./data/install-php-extensions /usr/local/bin/ # buildkit

2026-05-14 05:54:24 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

2026-05-14 05:54: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

2026-05-14 05:54:25 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod uga+x /usr/local/bin/install-php-extensions # buildkit

2026-05-14 05:54:25 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2026-05-14 05:54:25 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c usermod -u 1000 www-data && groupmod -g 1000 www-data # buildkit

2026-05-14 05:54:25 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["supervisord" "--nodaemon" "--configuration" "/etc/supervisord.conf"]

2026-05-14 05:54:25 UTC (buildkit.dockerfile.v0)

WORKDIR /www

Details
Created

2026-05-14 05:55:38 UTC

Size

145 MB

Content Digest
Environment
COMPOSER_HOME

/tmp/.composer

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.21.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_SHA256

7cf5d8ab12c3b2016875bcfaec71bef1ef0b07bed6148f2c447577074431f984

PHP_URL

https://www.php.net/distributions/php-8.4.21.tar.xz

PHP_VERSION

8.4.21


Layers

[#000] sha256:f1433620eadfdfe016c8054b954f619ae5bca159f35a9459c36a76d9ef4d39c3 - 17.29% (25 MB)

[#001] sha256:5b26f7004e87c4de58dc3edd5e2df9724991ee3e9915a880d58d3583cf4d5bf0 - 0.0% (226 Bytes)

[#002] sha256:b6393f0d48cd3aa2289517409694b46277da19241c5ceba80096538096ce6f10 - 56.89% (82.3 MB)

[#003] sha256:0211bdd2a17cc65649476067f7e1008c707a83b1882863d0647ecc5e5f1c94ab - 0.0% (226 Bytes)

[#004] sha256:f184ca540a4cb529ffb75e11eb26dbeca1798587bd9e1ff07c79fd43ffaf59f2 - 9.14% (13.2 MB)

[#005] sha256:f598280c9eb82dae7efeb2cc14fac4a2d809f1ba97cf6023708b42bd4dfa8878 - 0.0% (489 Bytes)

[#006] sha256:58dddccd4bced44718ce7c4a769b0138a7046497d5326e810bd3d3aa5443f945 - 7.68% (11.1 MB)

[#007] sha256:5fe14a29ce9c7efdc7fc30f1f8c08b56fca8ed9e30d8ce2ad9d2e5c00adfd29f - 0.0% (2.4 KB)

[#008] sha256:5e92f3743306434d538138e6be4bd46f5c9fa6cdc16a8ada9dc536e3aefbaaba - 0.0% (250 Bytes)

[#009] sha256:ca5dd64b6df69433e2c08321fc1414ac1b1b1b210a0fbd2a38d5cf474af7a2de - 0.0% (244 Bytes)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:06a3de659ef85c886c137bf3e08ebc57cac729d1c263e712daeb0ad60696732d - 0.01% (9.05 KB)

[#012] sha256:b4eb32c14ded69e8698a3a82477a63647d141a7b4766eeb3695afebbc004356e - 0.0% (299 Bytes)

[#013] sha256:69d1b6a804956e685bcdc19ace18bf750ea5015a421c63898fb4f8e44c948534 - 0.0% (2.69 KB)

[#014] sha256:c0739437a007e44ae20653b9582fe8f9f242895b607631e859dfdb6c5dedc330 - 0.02% (36.4 KB)

[#015] sha256:65bac94044cfb040860c1433283dac817872caae82e590c5f7b7d1f8c0fd3d5f - 8.41% (12.2 MB)

[#016] sha256:ee209e4376d743176a27fb86eb8a95b2f132db84b5697dfd1dd68335a70b29d0 - 0.52% (774 KB)

[#017] sha256:afa13d9a81b9412a5a297c0088acc9da044356ee2298fab77ec88408fbd14867 - 0.02% (36.4 KB)

[#018] sha256:930b3f5cb5a288ce8da2c7b4dd0118c44cfad1817a567ad5554e19e745d33773 - 0.0% (737 Bytes)

[#019] sha256:0f99a0b75814e9bd20da595fa87e3d349e0736deb6a6ec3b9267a63e94a183dc - 0.0% (92 Bytes)


History
2026-05-05 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 'armhf' out/ 'trixie' '@1777939200'

2026-05-08 19:16:23 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-05-08 19:16:41 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

2026-05-08 19:16:41 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-05-08 19:16:41 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-05-08 19:16:41 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-05-08 19:16:41 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2026-05-08 19:16:41 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2026-05-08 19:16:41 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-05-08 19:16:41 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2026-05-08 19:16:41 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.21

2026-05-08 19:16:41 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.21.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.21.tar.xz.asc

2026-05-08 19:16:41 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=7cf5d8ab12c3b2016875bcfaec71bef1ef0b07bed6148f2c447577074431f984

2026-05-08 19:20:32 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-05-08 19:20:32 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2026-05-08 19:23: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; 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 --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

2026-05-08 19:23:09 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2026-05-08 19:23:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2026-05-08 19:23:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2026-05-08 19:23:09 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-05-08 19:23:09 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-05-08 19:23:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd "${PHP_INI_DIR%/php}"; cp -v php-fpm.conf.default php-fpm.conf; cp -v php-fpm.d/www.conf.default php-fpm.d/www.conf; grep -E '^listen = 127.0.0.1:9000' php-fpm.d/www.conf; sed -ri 's/^(listen = 127.0.0.1:9000)/;\1/' php-fpm.d/www.conf; grep -E '^;listen = 127.0.0.1:9000' php-fpm.d/www.conf; { 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'; echo; echo '; default listen address for easy override in later php-fpm.d/*.conf files'; echo 'listen = 9000'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '; the [www] ini section below is for backwards compatibility and will be removed in 8.6+'; echo '[www]'; } | 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

2026-05-08 19:23:09 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-05-08 19:23:09 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-05-08 19:23:09 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-05-14 05:54:17 UTC (buildkit.dockerfile.v0)

COPY ./data/php-fpm.ini /etc/supervisor.d/php-fpm.ini # buildkit

2026-05-14 05:54:17 UTC (buildkit.dockerfile.v0)

COPY ./data/supervisord.conf /etc/supervisord.conf # buildkit

2026-05-14 05:54:17 UTC (buildkit.dockerfile.v0)

COPY ./data/install-php-extensions /usr/local/bin/ # buildkit

2026-05-14 05:55:35 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

2026-05-14 05:55:38 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

2026-05-14 05:55:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod uga+x /usr/local/bin/install-php-extensions # buildkit

2026-05-14 05:55:38 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2026-05-14 05:55:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c usermod -u 1000 www-data && groupmod -g 1000 www-data # buildkit

2026-05-14 05:55:38 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["supervisord" "--nodaemon" "--configuration" "/etc/supervisord.conf"]

2026-05-14 05:55:38 UTC (buildkit.dockerfile.v0)

WORKDIR /www

Details
Created

2026-05-14 05:55:53 UTC

Size

173 MB

Content Digest
Environment
COMPOSER_HOME

/tmp/.composer

GPG_KEYS

AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.4.21.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_SHA256

7cf5d8ab12c3b2016875bcfaec71bef1ef0b07bed6148f2c447577074431f984

PHP_URL

https://www.php.net/distributions/php-8.4.21.tar.xz

PHP_VERSION

8.4.21


Layers

[#000] sha256:9ebf9a1d0c9ca1bcb377e9dba38a3fdd3e89cf37164f4245286c24f8cd50a39e - 16.57% (28.7 MB)

[#001] sha256:69cc2b76e4763f3c089deedb5ac78fb9d76d24dcdb23a59eda20b1b720d6e435 - 0.0% (225 Bytes)

[#002] sha256:b915e9974d475feb8680d1316e721d9177b21af7c34a39229e1140e5ede886a9 - 60.56% (105 MB)

[#003] sha256:bae0ef49c7c291ec758fd0d6b257f33549a83a36e7109f3494c0bc88fd4458f2 - 0.0% (225 Bytes)

[#004] sha256:a8843835b42485948ed4c863e45b8b5427739b8de8cc2a2681f1830f098c3e5f - 7.62% (13.2 MB)

[#005] sha256:8bb3fdde0eb0aa1b8ba8f37b9577aa7b6d67702388223e1e3bb6613446b4616b - 0.0% (486 Bytes)

[#006] sha256:ff12977429e858e3d35a4deed15875a20f174398406f4b5b0f724a1bcd2eb283 - 7.4% (12.8 MB)

[#007] sha256:6f37376c7c19a3741cc398ed40cda3b6b61c56daadd6afa5c380fe72272e7caf - 0.0% (2.4 KB)

[#008] sha256:148c897addb073e205c471ab5eaf7314a5b467e46f8eafbd230860f9df08ef02 - 0.0% (253 Bytes)

[#009] sha256:3a5056fd951b3560b5491986a730c1fd1667978fad615c6ec2b22dd93562b500 - 0.0% (246 Bytes)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:952014431f6b86d52a3bee5589b62d29925a90abba593546e0df95528dd34054 - 0.01% (9.05 KB)

[#012] sha256:154f773726afe5590b7132bbf4650115a8fdbd605aff86c0028802835806abbb - 0.0% (297 Bytes)

[#013] sha256:a52b41fd758a64da9c96a832f308ab94ab8acec06ee99229ca53a8887084e803 - 0.0% (2.69 KB)

[#014] sha256:33fa0186b1ee5c2180a13a512d4a795f7bc9dcf505503f87af9cf8b190f6dfbc - 0.02% (36.4 KB)

[#015] sha256:b7a51e63d8ed3f92d16b37f6166720a05aa40104cf49a9fa0e28e4bd56cad4a1 - 7.36% (12.8 MB)

[#016] sha256:fbd57398956fff74c870f81e69ac56a208aac43147bd0e0417317d693387673d - 0.44% (774 KB)

[#017] sha256:5db9b0b089708d5f9bf38a8a39e0918155d88a1a50b3eadf808f29d430a7e9b3 - 0.02% (36.4 KB)

[#018] sha256:031b141adccfd2e55c98edb7d4297750ca521a5bfcf29bf6a8f7591d9b0d30a8 - 0.0% (738 Bytes)

[#019] sha256:632c0b459664005d84f37b1fa4dd29fd77ce66d79bfddbd7f198839516c46c59 - 0.0% (92 Bytes)


History
2026-05-05 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 'arm64' out/ 'trixie' '@1777939200'

2026-05-08 19:25:52 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-05-08 19:26:09 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

2026-05-08 19:26:09 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-05-08 19:26:09 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-05-08 19:26:09 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-05-08 19:26:09 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2026-05-08 19:26:09 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2026-05-08 19:26:09 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-05-08 19:26:09 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

2026-05-08 19:26:09 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.4.21

2026-05-08 19:26:09 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.4.21.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.21.tar.xz.asc

2026-05-08 19:26:09 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=7cf5d8ab12c3b2016875bcfaec71bef1ef0b07bed6148f2c447577074431f984

2026-05-08 19:26:18 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-05-08 19:26:18 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2026-05-08 19:29:15 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; 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 --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

2026-05-08 19:29:15 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2026-05-08 19:29:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable opcache # buildkit

2026-05-08 19:29:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2026-05-08 19:29:15 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-05-08 19:29:15 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-05-08 19:29:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd "${PHP_INI_DIR%/php}"; cp -v php-fpm.conf.default php-fpm.conf; cp -v php-fpm.d/www.conf.default php-fpm.d/www.conf; grep -E '^listen = 127.0.0.1:9000' php-fpm.d/www.conf; sed -ri 's/^(listen = 127.0.0.1:9000)/;\1/' php-fpm.d/www.conf; grep -E '^;listen = 127.0.0.1:9000' php-fpm.d/www.conf; { 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'; echo; echo '; default listen address for easy override in later php-fpm.d/*.conf files'; echo 'listen = 9000'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '; the [www] ini section below is for backwards compatibility and will be removed in 8.6+'; echo '[www]'; } | 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

2026-05-08 19:29:15 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-05-08 19:29:15 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-05-08 19:29:15 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-05-14 05:54:16 UTC (buildkit.dockerfile.v0)

COPY ./data/php-fpm.ini /etc/supervisor.d/php-fpm.ini # buildkit

2026-05-14 05:54:17 UTC (buildkit.dockerfile.v0)

COPY ./data/supervisord.conf /etc/supervisord.conf # buildkit

2026-05-14 05:54:17 UTC (buildkit.dockerfile.v0)

COPY ./data/install-php-extensions /usr/local/bin/ # buildkit

2026-05-14 05:55:50 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

2026-05-14 05:55:52 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

2026-05-14 05:55:53 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod uga+x /usr/local/bin/install-php-extensions # buildkit

2026-05-14 05:55:53 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2026-05-14 05:55:53 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c usermod -u 1000 www-data && groupmod -g 1000 www-data # buildkit

2026-05-14 05:55:53 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["supervisord" "--nodaemon" "--configuration" "/etc/supervisord.conf"]

2026-05-14 05:55:53 UTC (buildkit.dockerfile.v0)

WORKDIR /www

Danger Zone
Delete Tag

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.

Delete