Namespace
1panel
Image / Tag
php:8.5.2-fpm
Content Digest
sha256:b50486d617d90c13fcf609d0e3aa09529e6e256c88be1c8875990a7f156259b5
Details
Created

2026-01-19 09:07:29 UTC

Size

183 MB

Content Digest
Environment
COMPOSER_HOME

/tmp/.composer

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

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.5.2.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

cb75a9b00a2806f7390dd64858ef42a47b443b3475769c8af6af33a18b1381f1

PHP_URL

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

PHP_VERSION

8.5.2


Layers

[#000] sha256:119d43eec815e5f9a47da3a7d59454581b1e204b0c34db86f171b7ceb3336533 - 15.54% (28.4 MB)

[#001] sha256:8dcc69194de6bdd46a1044d58a17097b0f896a5c11584a8d3f9d207532c5409a - 0.0% (226 Bytes)

[#002] sha256:93b931ac6d0eec33ba91b9308176d0011f9563d19dd356ce1c16619c922f8143 - 61.52% (112 MB)

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

[#004] sha256:56feb94ffbb67f28acc32a638d69c4f8cef9ff1a56d2640584e41e4f6e2af3f4 - 7.56% (13.8 MB)

[#005] sha256:ad54ff4d476b440a35a4d57461109564aabcdd6c65ad55dbff15dd3ddd2bd327 - 0.0% (488 Bytes)

[#006] sha256:d87e1262ca631a6839659921fe6d86fc2d36a04c8ad78cb9dc2d81bf06ab0b72 - 7.87% (14.4 MB)

[#007] sha256:7105ba241ed39f5e224b4d6e25db0a4caf3359313257aa617076a1a1fd132143 - 0.0% (2.4 KB)

[#008] sha256:ffba77a6a9799f59b814b904fd6dee7e79ff9536f3e446e2278999f4fe811774 - 0.0% (246 Bytes)

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

[#010] sha256:32547208e284a10c6e06330380e659fd7592441709cfae821e8bd5150fe03a07 - 0.0% (9.05 KB)

[#011] sha256:b25c9febbefdbcd7fd55d2aac8a16497aeff54e03a10a6af38cb26c40b21504d - 0.0% (298 Bytes)

[#012] sha256:1ee113868d88d497abbe5e06ac39ac1a18a5f8f9cb8eb5cceededcbf6c25b210 - 0.0% (2.69 KB)

[#013] sha256:c23d33adcabf59d5716abcc079230d81fa3711727933cae574500557553e5c07 - 0.02% (35.1 KB)

[#014] sha256:c20544ee70b91b129ee9d33d408daca61e352661c13d5492b6b15fd362fd9b01 - 7.06% (12.9 MB)

[#015] sha256:39a58aeed51c77ce2494901e92aae753d7408a04a9be29aa0f11c6cd3a1eeaec - 0.41% (759 KB)

[#016] sha256:4fc6a04e36a039f0087202a77942096afa77ac6269414342f52fa0d5db6ae342 - 0.02% (35.1 KB)

[#017] sha256:0ced07d241e0fd6cdaf980ea6eb4f7ae1eddd4dca8b48bf4a1cc6747fffbd766 - 0.0% (734 Bytes)

[#018] sha256:d73d271f7ab38a2393983db5708b7f55fa1c7cf7816d12a867da2f8deb4b07bc - 0.0% (93 Bytes)


History
2026-01-12 00:00:00 UTC (debuerreotype 0.17)

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

2026-01-16 23:11:29 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-01-16 23:11:45 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:11:45 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-01-16 23:11:45 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-01-16 23:11:46 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-01-16 23:11:46 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:11:46 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:11:46 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-01-16 23:11:46 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-01-16 23:11:46 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.2

2026-01-16 23:11:46 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:11:46 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=cb75a9b00a2806f7390dd64858ef42a47b443b3475769c8af6af33a18b1381f1

2026-01-16 23:11:56 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-01-16 23:11:56 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:17:58 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-01-16 23:17:58 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:17:58 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:17:58 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-01-16 23:17:58 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-01-16 23:17:58 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 adddress 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-01-16 23:17:58 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-01-16 23:17:58 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-01-16 23:17:58 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-01-19 09:07:19 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:07:19 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:07:19 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:07:28 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-01-19 09:07:29 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-01-19 09:07:29 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:07:29 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2026-01-19 09:07:29 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:07:29 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:07:29 UTC (buildkit.dockerfile.v0)

WORKDIR /www

Details
Created

2026-01-19 09:08:40 UTC

Size

146 MB

Content Digest
Environment
COMPOSER_HOME

/tmp/.composer

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

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.5.2.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

cb75a9b00a2806f7390dd64858ef42a47b443b3475769c8af6af33a18b1381f1

PHP_URL

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

PHP_VERSION

8.5.2


Layers

[#000] sha256:7c33f0ee8e5c8636ae24c5685841e42e721bbb2973888f046a05ab9eb619e682 - 17.13% (25 MB)

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

[#002] sha256:feeab7afafc9c3b2d511d0ca182e6cd70c59a8b93a8a0a58bed1679f4a510ae3 - 56.38% (82.2 MB)

[#003] sha256:0c633e3f28ebb92fe70e8b6b6d48a25994017d12e51a0cdefcff22d267d0890c - 0.0% (226 Bytes)

[#004] sha256:b9db11bff359247ad6dd5bc657b276bd8f9eddea93e867de34e4b34bd5826455 - 9.46% (13.8 MB)

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

[#006] sha256:3c7a4c7f55b726ed39a283000954bcfbe279ca57e7796d603b0be7a6c5d2583b - 8.12% (11.8 MB)

[#007] sha256:35ce2da40708b0a9c74b98e972b67946c826ad0e07e5ba209361ac24c0ab22c1 - 0.0% (2.4 KB)

[#008] sha256:320ffc67dc185bd0e087c799f8c5afba6aa1985a7a5eb2d580e6d530d749dfea - 0.0% (246 Bytes)

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

[#010] sha256:1a6a06570560c332d0e8cda03a45301089e8ae48663d3c174bf10ee0e6f9f3a1 - 0.01% (9.05 KB)

[#011] sha256:0ab37f35e943114f697e4acb868df94fefc66d0d569d785927081d6deba77a9a - 0.0% (298 Bytes)

[#012] sha256:1ee113868d88d497abbe5e06ac39ac1a18a5f8f9cb8eb5cceededcbf6c25b210 - 0.0% (2.69 KB)

[#013] sha256:fb67c3c72c21cef4d68c9d01c05ca483603d01d03b61f560b47f44431d5e255a - 0.02% (35.1 KB)

[#014] sha256:1a654def9b5baf04bec42faac8e5ab73f0703eba4b003ac38af6624c1772295a - 8.34% (12.2 MB)

[#015] sha256:961db1665a81b0b7b065824b2d959d2b675199a8163f7c60e67696a4761eefee - 0.51% (759 KB)

[#016] sha256:5030a31eaf1cf7f5b76fa01486db54a57696377e7e849c1d993eb99e3ec4daa0 - 0.02% (35.1 KB)

[#017] sha256:3e60ad2fb19d7b88f2eda33f81d5e5b83682342940eda0305b6507dfcc309901 - 0.0% (733 Bytes)

[#018] sha256:d973b21e761aed54f575611c7ae965844be20b551a29e1ca73d5f933a8431e45 - 0.0% (92 Bytes)


History
2026-01-12 00:00:00 UTC (debuerreotype 0.17)

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

2026-01-16 23:20:17 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-01-16 23:20:33 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:20:33 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-01-16 23:20:33 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-01-16 23:20: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-01-16 23:20:34 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:20:34 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:20:34 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-01-16 23:20:34 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-01-16 23:20:34 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.2

2026-01-16 23:20:34 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:20:34 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=cb75a9b00a2806f7390dd64858ef42a47b443b3475769c8af6af33a18b1381f1

2026-01-16 23:20:44 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-01-16 23:20:44 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:23:29 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-01-16 23:23:29 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:23:29 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:23:29 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-01-16 23:23:29 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-01-16 23:23:29 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 adddress 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-01-16 23:23:29 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-01-16 23:23:29 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-01-16 23:23:29 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-01-19 09:07:19 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:07:19 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:07:19 UTC (buildkit.dockerfile.v0)

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

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

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

2026-01-19 09:08:40 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2026-01-19 09:08:40 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:08:40 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:08:40 UTC (buildkit.dockerfile.v0)

WORKDIR /www

Details
Created

2026-01-19 09:08:52 UTC

Size

175 MB

Content Digest
Environment
COMPOSER_HOME

/tmp/.composer

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

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.5.2.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

cb75a9b00a2806f7390dd64858ef42a47b443b3475769c8af6af33a18b1381f1

PHP_URL

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

PHP_VERSION

8.5.2


Layers

[#000] sha256:d637807aba98f742a62ad9b0146579ceb0297a3c831f56b2361664b7f5fbc75b - 16.4% (28.7 MB)

[#001] sha256:9d881125cf5b9fb4f8729dac4468d9df75f3cb7bab6653e78bb0a2ae5c48f340 - 0.0% (226 Bytes)

[#002] sha256:1ee20610603f523c05f8894aaeaa8387f46ffe619b818d897d02fb62fa986788 - 59.97% (105 MB)

[#003] sha256:8b1c80b6f90e99d259a74bb82febac395867e936b1a006dd7ddd7336f372e2ff - 0.0% (223 Bytes)

[#004] sha256:bc3aec45a101e2721c824605468c039f46ebdb44b4a5d6a0b640114850dc68ea - 7.88% (13.8 MB)

[#005] sha256:b8ec492d74a5fb167adb2ae3bbcf56a1f3cd48c3ec31a64a3de19902d5e8b940 - 0.0% (491 Bytes)

[#006] sha256:f04a9df5b42643e4653635da1cee0c5fef274b31fb432d3dbfb537a6cd93fff8 - 7.98% (14 MB)

[#007] sha256:647d9f464af0261b267d2b288e8e0d5fa3c94958efcd14383eb4b3dd44cb8870 - 0.0% (2.4 KB)

[#008] sha256:0ff66d739a5d7d461099095f046e42c131ff610635db7690f427f1f9eabba828 - 0.0% (246 Bytes)

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

[#010] sha256:1b118bd85c5b0896d3301a3a0f5cc191c8890bde31bf5e187115ee8f6ce147c8 - 0.01% (9.05 KB)

[#011] sha256:4d93c3ed00fe240549cd791eca6f7b4789832fc52e6abc4c22405b961555fdf1 - 0.0% (298 Bytes)

[#012] sha256:1ee113868d88d497abbe5e06ac39ac1a18a5f8f9cb8eb5cceededcbf6c25b210 - 0.0% (2.69 KB)

[#013] sha256:b3ec4994e196f4edacb66e75571fca2b3288b74b84c6fee8daaf2b37acdf8e87 - 0.02% (35.1 KB)

[#014] sha256:30a42ce95c02a008608bf4b0de08a6b7b8a0480f53390f8e913c3f6966f67737 - 7.29% (12.8 MB)

[#015] sha256:e09dbf0555d7886e6e576e189aa0d1b07e163281a9bed1b18d295349ea8a496d - 0.42% (759 KB)

[#016] sha256:1fcec44697e5d8e58edc6c569ee92a435745b11207bc5ebc48daf4f63a6ff315 - 0.02% (35.1 KB)

[#017] sha256:e7645faf377ab282f1a73823ef0f27271b1d87f31084ecb37627574b508b5787 - 0.0% (734 Bytes)

[#018] sha256:3706df05f452a5b0b0dfb29ade49db34a1a5cc8899889632e475f97ea7d25974 - 0.0% (93 Bytes)


History
2026-01-12 00:00:00 UTC (debuerreotype 0.17)

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

2026-01-16 23:11:49 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-01-16 23:12:05 UTC (buildkit.dockerfile.v0)

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

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

ENV PHP_INI_DIR=/usr/local/etc/php

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

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

2026-01-16 23:12:05 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:12:05 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-01-16 23:12:05 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-01-16 23:12:05 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.2

2026-01-16 23:12:05 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:12:05 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=cb75a9b00a2806f7390dd64858ef42a47b443b3475769c8af6af33a18b1381f1

2026-01-16 23:12:14 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-01-16 23:12:14 UTC (buildkit.dockerfile.v0)

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

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

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

2026-01-16 23:19:26 UTC (buildkit.dockerfile.v0)

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

2026-01-16 23:19:26 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-01-16 23:19:26 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-01-16 23:19:26 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 adddress 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-01-16 23:19:26 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-01-16 23:19:26 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-01-16 23:19:26 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-01-19 09:07:18 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:07:19 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:07:19 UTC (buildkit.dockerfile.v0)

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

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

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

2026-01-19 09:08:52 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2026-01-19 09:08:52 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:08:52 UTC (buildkit.dockerfile.v0)

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

2026-01-19 09:08:52 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