Namespace
1panel
Image / Tag
php:8.4.17-fpm
Content Digest
sha256:2f3147c0a964eff8a2461065db6e6ec3efb40d8ebcff9f94f19b9cc2dde5b770
Details
Created

2026-01-19 09:08:13 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.17.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

28b234e347286158cae921d61283eb1169d89bc9d2e5f5976567260ff38b0bfa

PHP_URL

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

PHP_VERSION

8.4.17


Layers

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

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

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

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

[#004] sha256:bbc03ed0f80cf256f9cd8f6c862f3c5e23567efaa44b7acc4835aebe12802111 - 7.29% (13.2 MB)

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

[#006] sha256:2e8189cab2bac6de452592646936435e1107cb81571b81efd0a69b38be7addba - 7.21% (13 MB)

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

[#008] sha256:9e46df0b82033d7a37e5815b6e95268db1e761cc3d9241b03459a7f443b03717 - 0.0% (250 Bytes)

[#009] sha256:f298265f069bf5c972b4f53178b7de1699480f8fe1779278fc43f98ed658c057 - 0.0% (245 Bytes)

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

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

[#012] sha256:9d0beef1af396e8bf59e71f2ad68639c9ff5baa666df9e4161161a98cfb8ab6c - 0.0% (298 Bytes)

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

[#014] sha256:48d1c3dc41b2444303cde70fbadf160829bd24a2d5335504d3f71bdc71dabcb1 - 0.02% (35.1 KB)

[#015] sha256:cafd074b540805ce7569a4874efeb8f30e86cd45803aeb71aae03b1bbc40ce81 - 7.14% (12.9 MB)

[#016] sha256:5aef5aa05c7e55897e3e371dce84348954126e60b023a192211d9f61a30357b3 - 0.41% (759 KB)

[#017] sha256:11589399ce96aa2bfdd7d4b555c6146188314d4fc9874d2cc4a2481e0b5f5ded - 0.02% (35.1 KB)

[#018] sha256:77b6a69c989ed92214d3d87617142fb5ae11599a6225be5fcfe87b2cd63024c9 - 0.0% (734 Bytes)

[#019] sha256:949072ab28fc86d6dfe2c702b7724aa7db7d6bf30a44991a9fc05fb6158132eb - 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=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

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

ENV PHP_VERSION=8.4.17

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

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

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

ENV PHP_SHA256=28b234e347286158cae921d61283eb1169d89bc9d2e5f5976567260ff38b0bfa

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

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

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

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

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

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

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

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

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

ENTRYPOINT ["docker-php-entrypoint"]

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

WORKDIR /var/www/html

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

STOPSIGNAL SIGQUIT

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

EXPOSE map[9000/tcp:{}]

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

CMD ["php-fpm"]

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

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

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

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

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

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

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

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

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

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

ENV COMPOSER_HOME=/tmp/.composer

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

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

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

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

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

WORKDIR /www

Details
Created

2026-01-19 09:09:26 UTC

Size

144 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.17.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

28b234e347286158cae921d61283eb1169d89bc9d2e5f5976567260ff38b0bfa

PHP_URL

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

PHP_VERSION

8.4.17


Layers

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

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

[#002] sha256:9a23010067badc71dd4b2db5a0e569d81056787814e6aa31ea6f7b890587db93 - 56.95% (82.2 MB)

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

[#004] sha256:4d0a169a3a103a84f651bdf0f4b7ed460cb3fbda7824fb2d9dc6edbff9c78189 - 9.12% (13.2 MB)

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

[#006] sha256:83eb44c1daacf1330c15633d99598bf78c438154b02a116f781e26c7421ad851 - 7.64% (11 MB)

[#007] sha256:1d99c016ff034e7a3822e0c3fe604fad45cca062bf8cf73808b849a51b3e5984 - 0.0% (2.4 KB)

[#008] sha256:9c8ab86307460fd5c41c38d5549242d9f3b94c398e698893930fcb70d3fa7229 - 0.0% (253 Bytes)

[#009] sha256:01ab17e00b474598176ce0561e24711caae1462c8eff19eb4ce5fcaa4258d339 - 0.0% (248 Bytes)

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

[#011] sha256:5c392f49e371195cd996837ada981943e0e9fdf6fd6dfbdcb486a5cc9ffc8d30 - 0.01% (9.06 KB)

[#012] sha256:548f68f5f201f06bf0e9c7abb3c15a138e8b6d711f3557e1ae525e5545e03387 - 0.0% (298 Bytes)

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

[#014] sha256:2669d78a7058b6a33008a7790e21b9cffd6a44c11b959468685c43ea3a59fd73 - 0.02% (35.1 KB)

[#015] sha256:ce319b69bfad4e8585da3e7b1b37751f9078133cf462778ba441526cffba800f - 8.42% (12.2 MB)

[#016] sha256:39ca836e9c5fbc8720c7e0805f10a4fedf25413ea2cf07e0e3ebb89d5e399b56 - 0.51% (759 KB)

[#017] sha256:dde5bebe2e3721dac369dd4fae96644ea19f8d2fe0e5551b8c67b350b27c243e - 0.02% (35.1 KB)

[#018] sha256:88f3085a92947ee24afd1a6784386b9e76d0c0775effe9cf7b1549fdf0c0db20 - 0.0% (734 Bytes)

[#019] sha256:cbce1aa16f2615c54738b2ad5ba6a2807ae343ca6bb9993e73dbe66a9f6f71bf - 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:32:34 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:32:51 UTC (buildkit.dockerfile.v0)

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

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

ENV PHP_INI_DIR=/usr/local/etc/php

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

ENV PHP_LDFLAGS=-Wl,-O1 -pie

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

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

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

ENV PHP_VERSION=8.4.17

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

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

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

ENV PHP_SHA256=28b234e347286158cae921d61283eb1169d89bc9d2e5f5976567260ff38b0bfa

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

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

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

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends 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:35:41 UTC (buildkit.dockerfile.v0)

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

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

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

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

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

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

ENTRYPOINT ["docker-php-entrypoint"]

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

WORKDIR /var/www/html

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

STOPSIGNAL SIGQUIT

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

EXPOSE map[9000/tcp:{}]

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

CMD ["php-fpm"]

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

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

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

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

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

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

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

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

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

ENV COMPOSER_HOME=/tmp/.composer

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

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

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

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

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

WORKDIR /www

Details
Created

2026-01-19 09:09:37 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.17.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

28b234e347286158cae921d61283eb1169d89bc9d2e5f5976567260ff38b0bfa

PHP_URL

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

PHP_VERSION

8.4.17


Layers

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

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

[#002] sha256:282a2cc39cc73464fd990d3d1559cf518addbee90cf825affc007bb3cc411cd0 - 60.63% (105 MB)

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

[#004] sha256:dbf96237b2b52cbcf15232b63674840c8843ab33a9c0302bc12ebf38a002b010 - 7.6% (13.2 MB)

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

[#006] sha256:d5b5c3004b3fd7011c7b709e483038928002fb7fca73dc3ab9688aa08198ddd8 - 7.34% (12.7 MB)

[#007] sha256:1386da206fd6cc1858888b37b3104e1c99eec92726a0e831daaaf9c8992950fe - 0.0% (2.4 KB)

[#008] sha256:f6cd92bd78cde3f0309fa826029cd93e73288fe03103c6d82d2c9c7db03957db - 0.0% (251 Bytes)

[#009] sha256:47b6810faf5e4bc50385b7090d490e009f968498158a52997097b95065eca03a - 0.0% (246 Bytes)

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

[#011] sha256:840dd870aaf0a2bf6b62795daa264a513c3edc2f1b458ea75edb0228a362c5d1 - 0.01% (9.05 KB)

[#012] sha256:548f68f5f201f06bf0e9c7abb3c15a138e8b6d711f3557e1ae525e5545e03387 - 0.0% (298 Bytes)

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

[#014] sha256:ac1e50563c6b5a629e3a1d95579dc9feabe615d2453419cfc15964269f3b4616 - 0.02% (35.1 KB)

[#015] sha256:5b75ff1fade2ae292446ff0bfe8bebef71082de64cc13b4d031b8b3565e710dd - 7.37% (12.8 MB)

[#016] sha256:a1f667a774f2e84b1d9044abf4aa4cb5f923e5b19a5e745c9e76015cca15f7c9 - 0.43% (759 KB)

[#017] sha256:f7314b705a1ab1907bae041cc0048e1d96a23dd7e36661d69396e35e9af2ba08 - 0.02% (35.1 KB)

[#018] sha256:9b38b33e56a231bf2bb4833f5ceb41f6b2998abcb07c7dfdc905b2a4ab99c2e2 - 0.0% (734 Bytes)

[#019] sha256:2eceafeb44e4426444c56b3c353c2a92d4451b80b7edb74657ff09f6b1e2f276 - 0.0% (92 Bytes)


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

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

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

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

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

ENV PHP_INI_DIR=/usr/local/etc/php

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

ENV PHP_LDFLAGS=-Wl,-O1 -pie

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

ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD

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

ENV PHP_VERSION=8.4.17

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

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

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

ENV PHP_SHA256=28b234e347286158cae921d61283eb1169d89bc9d2e5f5976567260ff38b0bfa

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

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends 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:18:13 UTC (buildkit.dockerfile.v0)

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

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

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

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

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

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

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

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

ENTRYPOINT ["docker-php-entrypoint"]

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

WORKDIR /var/www/html

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

STOPSIGNAL SIGQUIT

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

EXPOSE map[9000/tcp:{}]

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

CMD ["php-fpm"]

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

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

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

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

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

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

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

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

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

ENV COMPOSER_HOME=/tmp/.composer

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

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

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

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

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