Namespace
1panel
Image / Tag
php:7.0.33-fpm
Content Digest
sha256:a8d65ff6e1fd45dcdcc5f536b26238aa6f9f0ff2f4480f3f453275fcd1f163db
Details
Created

2025-09-16 05:51:56 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

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2

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 -Wl,--hash-style=both -pie


Layers

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

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

[#002] sha256:40acdfe51bd36b37f3ca3c8e7b8679b8b44d7db5241cdd78a35080537016360f - 44.55% (87.4 MB)

[#003] sha256:94ce975b46577c346182f7cc4d5ae22bdeccdcf9d7a424b2893eb663927cd787 - 0.0% (173 Bytes)

[#004] sha256:e8accf96b215accc57dc56d0a5f31c82fe144065c91f6730a32bbfdfc2dca972 - 0.05% (95.8 KB)

[#005] sha256:8f1c2ca78683cb586a4097dca8f290d7db0e3bb1b0a91c04b0ca19a05e3a4b6d - 5.85% (11.5 MB)

[#006] sha256:7cf01e3c69c022d5341b8647ca6fd70bf89a8177d53bb3fc6366d2ca2caadf14 - 0.0% (496 Bytes)

[#007] sha256:07bfdf313774ad65e52328e284f96cb3646410778db4992b9c35d7a4a2d17dee - 13.93% (27.3 MB)

[#008] sha256:d01ed4d012ec9610ec50e7a22414dc2e0e3b8eda3b758165a52e18eafa630992 - 0.0% (2.05 KB)

[#009] sha256:ef37f910cc2db8a3de5c962b2bd5346082a0e19611125bedbdb465b43e03d469 - 0.0% (289 Bytes)

[#010] sha256:4056eca62fd51b149ce5d0a22b0d3e69254dc913c449ef96c5158a67a2edf82f - 0.0% (7.57 KB)

[#011] sha256:0c5d7923429f53b6258232b759fdd26ac4b1c4f24df1586031c290035477b9f2 - 0.23% (455 KB)

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

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

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

[#015] sha256:3058060632fc0dec5b8b4af67a83b52803700a5c87cc6163253caf7c294e5d11 - 20.66% (40.5 MB)

[#016] sha256:457b82ea0cea3f465b231234842c91e28c73a94d9131c429a9f9e3ec7a2ec905 - 0.0% (1.28 KB)

[#017] sha256:fe73c99e6fc2e28c17deb55ef529030a70f40e0f4da37829f0f7899639a126e9 - 0.0% (93 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-16 05:46:30 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:46:30 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:46:30 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-09-16 05:46:30 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p $PHP_INI_DIR/conf.d # buildkit

2025-09-16 05:46:30 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-16 05:46:30 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2

2025-09-16 05:46:30 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2

2025-09-16 05:46:30 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie

2025-09-16 05:46:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -xe; fetchDeps=' wget '; if ! command -v gpg > /dev/null; then fetchDeps="$fetchDeps dirmngr gnupg "; fi; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps # buildkit

2025-09-16 05:46:36 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:46:36 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:51:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libedit-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-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)"; 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; php --version; pecl update-channels; rm -rf /tmp/pear ~/.pearrc # buildkit

2025-09-16 05:51:43 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:51:43 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:51:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex && 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-16 05:51:43 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:51:43 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:51:43 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:51:43 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:51:56 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 # buildkit

2025-09-16 05:51:56 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2025-09-16 05:51:56 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:51:56 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:51:56 UTC (buildkit.dockerfile.v0)

EXPOSE &{[{{236 0} {236 0}}] 0xc00047e100}

2025-09-16 05:51:56 UTC (buildkit.dockerfile.v0)

WORKDIR /www

Details
Created

2025-09-16 07:38:58 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

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2

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 -Wl,--hash-style=both -pie


Layers

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

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

[#002] sha256:c3001a645375df289ee5473eacbaf652e5dbf86f5073c78dd1f43cab956dcd16 - 40.36% (66.1 MB)

[#003] sha256:ac176ff669e2079200a5bc95ee9d9a304ac99f573d0c85e6ee1d7caf759dde76 - 0.0% (173 Bytes)

[#004] sha256:0a4246ce42976911eaef77bb17e6e2cfe282bded55f94a565e80c1207ee84cb1 - 0.06% (94.3 KB)

[#005] sha256:b8d7c52e629811a1258792df9c971839adaa0d61e73de7594afb142f2f96ada3 - 7.01% (11.5 MB)

[#006] sha256:3efa536fdd9aa9b598ace86126618e843b75f26e1d2e11f7ffc5cda798426118 - 0.0% (495 Bytes)

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

[#008] sha256:117e79108ac2e6d6a38ca18b91495bba2fdcd1e0e6da43e55a6953ce1dd86d78 - 0.0% (2.05 KB)

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

[#010] sha256:e00d780f4a9f4994c4eaa21c22272057b0e0469563c814e93c5fa5ff097ca835 - 0.0% (7.57 KB)

[#011] sha256:6e21129f9c7e91b8ee254dd0c552d93536f410652a76039ec4db747e7e44b996 - 0.27% (455 KB)

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

[#013] sha256:87d558edb2b6d46246eec1926ebe0990fd6f0ebe1896e5fa719c94eaf56e8a3b - 0.0% (2.7 KB)

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

[#015] sha256:6335408be425352bf5ee8665e15dd3eb0c0be1abc7aae5e21bb045f9758ae60a - 22.02% (36.1 MB)

[#016] sha256:38bc2878130b5fb8980dbf7105d85621226ac81181e7fd30d862329063487888 - 0.0% (1.27 KB)

[#017] sha256:77396a10fca43d84bbfb36b38a8de80947d0c6ff258d161a0dc3c0ef56313dce - 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-16 05:49:15 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:49:15 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:49:15 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-09-16 05:49:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p $PHP_INI_DIR/conf.d # buildkit

2025-09-16 05:49:15 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-16 05:49:15 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2

2025-09-16 05:49:15 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2

2025-09-16 05:49:15 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie

2025-09-16 05:50:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -xe; fetchDeps=' wget '; if ! command -v gpg > /dev/null; then fetchDeps="$fetchDeps dirmngr gnupg "; fi; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps # buildkit

2025-09-16 05:50:40 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:50:40 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:37:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libedit-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-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)"; 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; php --version; pecl update-channels; rm -rf /tmp/pear ~/.pearrc # buildkit

2025-09-16 07:37:34 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:37:34 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:37:35 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex && 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-16 07:37:35 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:37:35 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:37:35 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:37:35 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:38:58 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 # buildkit

2025-09-16 07:38:58 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2025-09-16 07:38:58 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:38:58 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:38:58 UTC (buildkit.dockerfile.v0)

EXPOSE &{[{{236 0} {236 0}}] 0xc000148100}

2025-09-16 07:38:58 UTC (buildkit.dockerfile.v0)

WORKDIR /www

Details
Created

2025-09-16 07:38:21 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

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2

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 -Wl,--hash-style=both -pie


Layers

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

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

[#002] sha256:75b7c0de7b676a66a00fe869346e9187c97813a32e7ca8648b1b265bacde31be - 43.57% (82.9 MB)

[#003] sha256:954d5e3a50c8130ffc020c5a9cf0b96c6ccf715b8898395a9380338bfc2ac0e8 - 0.0% (172 Bytes)

[#004] sha256:220743d84d0d5b7a838521292d5a6736d4a07ce965e9fd8a1013a3c80cab60ab - 0.05% (95.3 KB)

[#005] sha256:983df84a394f05a8648dd508c34ebfb7fff1b6fcc3982a6fbb175c3fa873afd5 - 6.03% (11.5 MB)

[#006] sha256:641ff5804f8b1e44f50b91ab2c01a0c296e25e0103f8435122648abdfbfd7406 - 0.0% (497 Bytes)

[#007] sha256:124f8632e4f6af6591218d2269fc96dba6e37fd9a00c6f09c41ab00f55cf8bab - 14.3% (27.2 MB)

[#008] sha256:b2582bade838922cd3ba712c1355e4beb7111ad2ab1ac028f275ca370395fa74 - 0.0% (2.05 KB)

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

[#010] sha256:7d6fd29c4b5e63ee2e3ea82de76beed441cf68570d211164c64e47305d94b7d3 - 0.0% (7.57 KB)

[#011] sha256:6ac2f835342fed9d9b045e648511864d56fd722d6564f1e6132369fd072960f6 - 0.23% (455 KB)

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

[#013] sha256:1d5803f4604d2fe97438aa584975f4edbbd495d325ac60108a994c9bf1533946 - 0.0% (2.7 KB)

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

[#015] sha256:c4c0a14e5f9b9eb3b45c841c068a07792dc60027cffe6f0751d7003fba5dec7d - 21.37% (40.7 MB)

[#016] sha256:8f84bff4d22d67cae942e33d7a4cf6eedeb0e3792b02ad9e5a98ab8fffb5816e - 0.0% (1.28 KB)

[#017] sha256:37e8140fbe873d4bc0a713151c087b8bcb126ebb511917674f0118fae990fea7 - 0.0% (90 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-16 05:49:21 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:49:21 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:49:21 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-09-16 05:49:21 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p $PHP_INI_DIR/conf.d # buildkit

2025-09-16 05:49:21 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-16 05:49:21 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2

2025-09-16 05:49:21 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2

2025-09-16 05:49:21 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie

2025-09-16 05:50:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -xe; fetchDeps=' wget '; if ! command -v gpg > /dev/null; then fetchDeps="$fetchDeps dirmngr gnupg "; fi; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps # buildkit

2025-09-16 05:50:46 UTC (buildkit.dockerfile.v0)

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

2025-09-16 05:50:46 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:36: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 libcurl4-openssl-dev libedit-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-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)"; 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; php --version; pecl update-channels; rm -rf /tmp/pear ~/.pearrc # buildkit

2025-09-16 07:36:53 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:36:53 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:36:53 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex && 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-16 07:36:53 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:36:53 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:36:53 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:36:53 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:38:21 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 # buildkit

2025-09-16 07:38:21 UTC (buildkit.dockerfile.v0)

ENV COMPOSER_HOME=/tmp/.composer

2025-09-16 07:38:21 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:38:21 UTC (buildkit.dockerfile.v0)

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

2025-09-16 07:38:21 UTC (buildkit.dockerfile.v0)

EXPOSE &{[{{236 0} {236 0}}] 0xc00041a900}

2025-09-16 07:38:21 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