Namespace
1panel
Image / Tag
php:7.2.34-fpm
Content Digest
sha256:fb64b1bd5f1b5600ffea48b2b8ee56f096f21b58eaecde27d2edd76130e530bc
Details
Created

2025-09-11 10:33:44 UTC

Size

196 MB

Content Digest
Environment
COMPOSER_HOME

/tmp/.composer

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_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_EXTRA_CONFIGURE_ARGS

--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie


Layers

[#000] sha256:456a3213e1b1f193dc759cd05f6f8422428b8c4bd45ef40fbf41ba43bdce8570 - 14.72% (28.9 MB)

[#001] sha256:6131f9d4ea415ae9de532f33a86752ea87ba2e80abaa7dc40575cd5a64a043a1 - 0.0% (227 Bytes)

[#002] sha256:aa09548c61ef918dc6327a9a4bab62da5fe7cf13ca6725eab8363e1a1dbc8164 - 44.58% (87.4 MB)

[#003] sha256:f3ae0299a4ce912acbb14fb295b4bf6ea69884976e9db9480127560a0fddf166 - 0.0% (224 Bytes)

[#004] sha256:d7db31dce8deb5f63291ed7225c3da1a674cdacd1263e69adb1bd4da6ae6536f - 0.05% (95.6 KB)

[#005] sha256:c8d8c0a68ccc254269b1262d665c27757fa57fc821d2611a41f497cdafb03ef9 - 5.99% (11.7 MB)

[#006] sha256:2d803f7f0804917f2fd77011ed3f11a957b5b507092eebb4c4d11d79d8e7134a - 0.0% (497 Bytes)

[#007] sha256:0c84d4f31fa1da60e15947f0470a9abc84114fb6b60af1ae9dc602a9dd2c6e18 - 14.01% (27.5 MB)

[#008] sha256:c7a4baf46af32674796b532df5d66b569635b4692c2bb6c1dd6f6920fdf7aad1 - 0.0% (2.13 KB)

[#009] sha256:2f52ef17225f0faa5d753dca8170ae69806dc8df792164be2208143c26b010b8 - 0.0% (290 Bytes)

[#010] sha256:e43b4f6c7f702b1f8f744bbb65549845b26f18d71fbbea5aa898964f5c577b80 - 0.0% (244 Bytes)

[#011] sha256:f397674708a46fae603ea545baec65a9785cf4b57ca73134dbceb31df0927906 - 0.0% (208 Bytes)

[#012] sha256:18edae9a3937bdee2f18608fb909db7bdeaced607fb8ae6ebc3c5a14a3e7f466 - 0.0% (7.6 KB)

[#013] sha256:2f76c2a83c4af9a0cea59a63083cd7690bec3d0537d6cc4489b1bff4817ae34b - 0.23% (455 KB)

[#014] sha256:1edbf69861801597e0921a9e13016cb9335ff80bc82e043065a77fd710a87108 - 0.0% (297 Bytes)

[#015] sha256:f98ad7a70299d566eba8da83f2d4d51aab5c52166895dc14e75e463c38574bf6 - 0.0% (2.69 KB)

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

[#017] sha256:c00a5ff68bd6ee30e463e448e246f52d88a3fdc86af012d9230eb23702842e15 - 20.41% (40 MB)

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


History
2025-09-08 00:00:00 UTC (debuerreotype 0.16)

# debian.sh --arch 'amd64' out/ 'bullseye' '@1757289600'

2025-09-11 10:27:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit

2025-09-11 10:27:49 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:27:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit

2025-09-11 10:27:49 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-09-11 10:27:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 777 /var/www/html # buildkit

2025-09-11 10:27:49 UTC (buildkit.dockerfile.v0)

ENV PHP_EXTRA_CONFIGURE_ARGS=--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi

2025-09-11 10:27:49 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:27:49 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:27:49 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-09-11 10:27:55 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 dirmngr; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit

2025-09-11 10:27:55 UTC (buildkit.dockerfile.v0)

COPY ./data/php-7.2.34.tar.xz /usr/src/php.tar.xz # buildkit

2025-09-11 10:27:55 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:33: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 libargon2-dev libcurl4-openssl-dev libedit-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ${PHP_EXTRA_BUILD_DEPS:-} ; rm -rf /var/lib/apt/lists/*; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-libedit --with-openssl --with-zlib $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" ${PHP_EXTRA_CONFIGURE_ARGS:-} ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; 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 '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-09-11 10:33:32 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:33:32 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:33:32 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:33:32 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo '#!/bin/sh'; echo 'exec pkg-config "$@" freetype2'; } > /usr/local/bin/freetype-config && chmod +x /usr/local/bin/freetype-config # buildkit

2025-09-11 10:33:32 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '[www]'; echo '; if we send this to /proc/self/fd/1, it never appears'; 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'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf # buildkit

2025-09-11 10:33:32 UTC (buildkit.dockerfile.v0)

COPY ./data/supervisor-4.2.5.tar.gz /tmp/ # buildkit

2025-09-11 10:33:32 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:33:32 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:33:32 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:33:32 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2025-09-11 10:33:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y python3 python3-pip git wget&& rm -rf /var/lib/apt/lists/* && chmod uga+x /usr/local/bin/install-php-extensions && cd /tmp && tar -xzvf supervisor-4.2.5.tar.gz && cd supervisor-4.2.5 && python3 setup.py install && mkdir -p /var/log/supervisor /etc/supervisor/conf.d && 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 && usermod -u 1000 www-data && groupmod -g 1000 www-data && mkdir -p ${COMPOSER_HOME} && chown -R www-data:www-data ${COMPOSER_HOME} # buildkit

2025-09-11 10:33:44 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:33:44 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-09-11 10:33:44 UTC (buildkit.dockerfile.v0)

WORKDIR /www

Details
Created

2025-09-11 12:25:27 UTC

Size

164 MB

Content Digest
Environment
COMPOSER_HOME

/tmp/.composer

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_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_EXTRA_CONFIGURE_ARGS

--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie


Layers

[#000] sha256:6060ada35559867e583ae59d61cbfce25e84350e0631f50a795fd6d2b2c5651b - 14.89% (24.4 MB)

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

[#002] sha256:3b7e58a34853fc9bf170259ba764783e28ac2d2a4365e98135a1fa67aa3bb4e7 - 40.4% (66.1 MB)

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

[#004] sha256:99c1b2007198f4dedff9866a91eb3c3bfd031623fcf2b157601af66707087a11 - 0.06% (94.1 KB)

[#005] sha256:0751a35af2bad0e37361b36d7529160dded899ce729eedf69016a087612da9a5 - 7.18% (11.7 MB)

[#006] sha256:405ad7ae6acb2d1aaa3884b7bff0945ddfdc7916bcbfcbd77feb974dc52bd800 - 0.0% (497 Bytes)

[#007] sha256:17759f07c84223cb9f8ac44193aedb03e5051e315c7473e6da297b13ed4ac7ae - 15.38% (25.2 MB)

[#008] sha256:db7fd529c3e17e263bfe1e0be4e94d17a24151d4bc2f754f5eaeff9aaa4a5420 - 0.0% (2.13 KB)

[#009] sha256:a320d1c24699b422ee5f833a47f044061dfe60379bcb53c79a72d268230d7add - 0.0% (291 Bytes)

[#010] sha256:a9048131d8dea825270726480de905c37c469b169b464ebb4e1d1048a98726e6 - 0.0% (247 Bytes)

[#011] sha256:55951dcabd527e506bde375755e02b97e83fc7db5adff394bcef8ac8cfbd8d3c - 0.0% (212 Bytes)

[#012] sha256:f148821bc5f76e2ca2ac1b6b6882fd826768bf3f1ef47dd12b258f592a6333ce - 0.0% (7.61 KB)

[#013] sha256:ea252dd7849c5a23f1770dd27b7b03a09ba8620d0f3048b204d5da9fa322cfe1 - 0.27% (455 KB)

[#014] sha256:c0c6982b101bf0a6a8865b7bac0fb7cff03b777ad526be42c95717889e59b721 - 0.0% (298 Bytes)

[#015] sha256:56ce91acaf2c4e29b9704e0a3598dc8133494e7f7685600be1251c893e55c728 - 0.0% (2.7 KB)

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

[#017] sha256:65390e1d1b2d25f26882c2825e7ac8cf2233227fbf97d2a142bb44fd059b1249 - 21.79% (35.7 MB)

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


History
2025-09-08 00:00:00 UTC (debuerreotype 0.16)

# debian.sh --arch 'armhf' out/ 'bullseye' '@1757289600'

2025-09-11 10:27:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit

2025-09-11 10:30:28 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:30:28 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 ; rm -rf /var/lib/apt/lists/* # buildkit

2025-09-11 10:30:28 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-09-11 10:30:29 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 777 /var/www/html # buildkit

2025-09-11 10:30:29 UTC (buildkit.dockerfile.v0)

ENV PHP_EXTRA_CONFIGURE_ARGS=--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi

2025-09-11 10:30:29 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:30:29 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:30:29 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-09-11 10:31:53 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 dirmngr; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit

2025-09-11 10:31:53 UTC (buildkit.dockerfile.v0)

COPY ./data/php-7.2.34.tar.xz /usr/src/php.tar.xz # buildkit

2025-09-11 10:31:53 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:24:06 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 libedit-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ${PHP_EXTRA_BUILD_DEPS:-} ; rm -rf /var/lib/apt/lists/*; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-libedit --with-openssl --with-zlib $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" ${PHP_EXTRA_CONFIGURE_ARGS:-} ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; 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 '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-09-11 12:24:06 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:24:06 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:24:07 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:24:07 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo '#!/bin/sh'; echo 'exec pkg-config "$@" freetype2'; } > /usr/local/bin/freetype-config && chmod +x /usr/local/bin/freetype-config # buildkit

2025-09-11 12:24:07 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '[www]'; echo '; if we send this to /proc/self/fd/1, it never appears'; 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'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf # buildkit

2025-09-11 12:24:07 UTC (buildkit.dockerfile.v0)

COPY ./data/supervisor-4.2.5.tar.gz /tmp/ # buildkit

2025-09-11 12:24:07 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:24:07 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:24:08 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:24:08 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2025-09-11 12:25:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y python3 python3-pip git wget&& rm -rf /var/lib/apt/lists/* && chmod uga+x /usr/local/bin/install-php-extensions && cd /tmp && tar -xzvf supervisor-4.2.5.tar.gz && cd supervisor-4.2.5 && python3 setup.py install && mkdir -p /var/log/supervisor /etc/supervisor/conf.d && 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 && usermod -u 1000 www-data && groupmod -g 1000 www-data && mkdir -p ${COMPOSER_HOME} && chown -R www-data:www-data ${COMPOSER_HOME} # buildkit

2025-09-11 12:25:27 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:25:27 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-09-11 12:25:27 UTC (buildkit.dockerfile.v0)

WORKDIR /www

Details
Created

2025-09-11 12:24:36 UTC

Size

190 MB

Content Digest
Environment
COMPOSER_HOME

/tmp/.composer

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_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_EXTRA_CONFIGURE_ARGS

--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie


Layers

[#000] sha256:8568e9af3ab25a29d98aac9a07896467a19253e72e5be0cf09cd3982ac4444d0 - 14.44% (27.4 MB)

[#001] sha256:6131f9d4ea415ae9de532f33a86752ea87ba2e80abaa7dc40575cd5a64a043a1 - 0.0% (227 Bytes)

[#002] sha256:747ccadcbab3519937944f12440be377304c0700da08a13fa6baed0a0e60dc63 - 43.66% (82.9 MB)

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

[#004] sha256:3a02884968b7416fb429f31d77ee49bfc6ce154b236f6e04d14a164cdfcb83ea - 0.05% (95.1 KB)

[#005] sha256:4eb8c724742ab1f78ba95c2c3a04703585aa149209962e17a2799ce08e4d8834 - 6.18% (11.7 MB)

[#006] sha256:48706fc634071485ac5b72e24861cfd7aa516c6b97aca6ba42a3daebd6e3056d - 0.0% (496 Bytes)

[#007] sha256:614a385f7fea46dc34a6373b3f93ae4a9f6ae09ea603bd2a81afbab61e257fbf - 14.28% (27.1 MB)

[#008] sha256:dd7b985cefa05f9c79d6ed69332aeb715886f4cc7c4f55d1c990eac03c579bc7 - 0.0% (2.13 KB)

[#009] sha256:3d0a82a9f1011b55ca31672f8c8332988b7008b3df3e7f22a80d7918def19066 - 0.0% (290 Bytes)

[#010] sha256:25fb6701b14285fac6f97dd5deeb83fe65c383cc66ad9403fca96928ad2376ec - 0.0% (247 Bytes)

[#011] sha256:d53e712c087ad7d348ec49c8432b9b2c52229e01d8461d76315bbe9878b85de4 - 0.0% (210 Bytes)

[#012] sha256:9fd3d27db277c6034669433d0b99d5bd196c28d5b47f064f5d343b15c23792dc - 0.0% (7.61 KB)

[#013] sha256:0995925de77e0ec0897b9c051517916379a41a6632a5ec401fbef204b1632ddd - 0.23% (455 KB)

[#014] sha256:8282bfb0e03db4e338952938095d6cabda51a333f8c7df96762b7b6a68e74dd8 - 0.0% (298 Bytes)

[#015] sha256:828e183f0684a8db4b3966f8fcf596ffe5485ec2f759cade95d2c5bbf1656f43 - 0.0% (2.7 KB)

[#016] sha256:1573cc69976fb653cd6c868c0957f95db72f00e8107504841df277ece0337e0d - 0.02% (35.1 KB)

[#017] sha256:9f342051e72b72492c13363689c3eca1d831c3503bb8dd2185ec5cbf4f03255f - 21.13% (40.1 MB)

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


History
2025-09-08 00:00:00 UTC (debuerreotype 0.16)

# debian.sh --arch 'arm64' out/ 'bullseye' '@1757289600'

2025-09-11 10:27:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit

2025-09-11 10:30:33 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:30: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 ; rm -rf /var/lib/apt/lists/* # buildkit

2025-09-11 10:30:33 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-09-11 10:30: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 777 /var/www/html # buildkit

2025-09-11 10:30:34 UTC (buildkit.dockerfile.v0)

ENV PHP_EXTRA_CONFIGURE_ARGS=--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi

2025-09-11 10:30:34 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:30:34 UTC (buildkit.dockerfile.v0)

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

2025-09-11 10:30:34 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-09-11 10:31: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 gnupg dirmngr; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit

2025-09-11 10:31:58 UTC (buildkit.dockerfile.v0)

COPY ./data/php-7.2.34.tar.xz /usr/src/php.tar.xz # buildkit

2025-09-11 10:31:58 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:23:10 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 libedit-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ${PHP_EXTRA_BUILD_DEPS:-} ; rm -rf /var/lib/apt/lists/*; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-libedit --with-openssl --with-zlib $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" ${PHP_EXTRA_CONFIGURE_ARGS:-} ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; 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 '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-09-11 12:23:10 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:23:10 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:23:11 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:23:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo '#!/bin/sh'; echo 'exec pkg-config "$@" freetype2'; } > /usr/local/bin/freetype-config && chmod +x /usr/local/bin/freetype-config # buildkit

2025-09-11 12:23:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '[www]'; echo '; if we send this to /proc/self/fd/1, it never appears'; 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'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf # buildkit

2025-09-11 12:23:11 UTC (buildkit.dockerfile.v0)

COPY ./data/supervisor-4.2.5.tar.gz /tmp/ # buildkit

2025-09-11 12:23:11 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:23:11 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:23:11 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:23:11 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2025-09-11 12:24:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y python3 python3-pip git wget&& rm -rf /var/lib/apt/lists/* && chmod uga+x /usr/local/bin/install-php-extensions && cd /tmp && tar -xzvf supervisor-4.2.5.tar.gz && cd supervisor-4.2.5 && python3 setup.py install && mkdir -p /var/log/supervisor /etc/supervisor/conf.d && 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 && usermod -u 1000 www-data && groupmod -g 1000 www-data && mkdir -p ${COMPOSER_HOME} && chown -R www-data:www-data ${COMPOSER_HOME} # buildkit

2025-09-11 12:24:36 UTC (buildkit.dockerfile.v0)

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

2025-09-11 12:24:36 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-09-11 12:24:36 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