Tag

mazars/php:preview-mazarscfo-549-f81f-ba4e7859
Content Digest: sha256:9a3d11cc84f71d74feb550dc2bb7ad836f26cb208441858772422d73936477bc
Manifests
Details
Content Digest

sha256:66849ef790b1ce451f3630a28fd5be895e7cb331b775eb896bbca41b986f811f

Created

2026-09-14 09:58:54 UTC

Size

288 MB


Environment
APP_DEBUG

1

APP_ENV

dev

CAPTAINHOOK_DISABLE

true

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

6a8bebaa4d5a979a38db29a9373e9851f60c6b11f72172c585947e78f3081957

PHP_URL

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

PHP_VERSION

8.5.10


Layers

[#000] sha256:6310eb16bf4251731feab01e8f633bf5e2d75a657ccad97f420b1f83cce457be - 9.86% (28.4 MB)

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

[#002] sha256:0ae8663dfb348f3d7c056f851699845bdc399270914d815b0da37cddc752ceb5 - 39.97% (115 MB)

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

[#004] sha256:6ced2140c9ae8bdb8cc41948e655cd553c1705f4e974b34dbe8b68c6867ff154 - 4.83% (13.9 MB)

[#005] sha256:fdbb39c0b04025e56eb254569da0898ecef3e784d471948223b6c7c4a7169dc1 - 0.0% (487 Bytes)

[#006] sha256:d37f82f6435220def8b241b9980030a664a7414eb75b1b2a6fb230e4c295af32 - 5.05% (14.6 MB)

[#007] sha256:8161125e9c3aa62f150d66350de537464072c161ffb560f24761388a6bfebc4f - 0.0% (2.39 KB)

[#008] sha256:d90af9bf64eb1ff7f9f161f97e573075ab407978f21552f319d356e451904cae - 0.0% (243 Bytes)

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

[#010] sha256:5d4b204c3553ae8a095aef427ee53f33b8744df4dcdc392fd3a4886c7da3668d - 0.0% (9.04 KB)

[#011] sha256:173f60e805c9012b72d2be047f72c3b02537bbbb6199ee8b5600a25bc6cd5288 - 21.84% (63 MB)

[#012] sha256:cc149418f07f2ec809465b16aafca7da35d7b9df4bf39ba0b8e596e8ca5f89ea - 0.46% (1.32 MB)

[#013] sha256:15a0f84c5bf11607b3314c860cd2caf798f4199d70fc93c2d5855dae11a70224 - 0.63% (1.82 MB)

[#014] sha256:526df03e77a627193617c479fbc67fdf90d64a1e861604f7c7fc5bc6d666bf0b - 0.28% (813 KB)

[#015] sha256:00d26cf0733fe77ab5f410d8089f1655636d2ea30735037cfa2fa9c10756e90e - 0.0% (702 Bytes)

[#016] sha256:3bf387f41d2d6791da040a736ff581dd11c9981a7951bb1a360185b0331e06c7 - 0.0% (681 Bytes)

[#017] sha256:397dab3bba6f62c8d7a7325913c900d732fa6bb50be0650010b3da372339e97a - 0.0% (205 Bytes)

[#018] sha256:7b3e9c22b2fa3107c410dfc06d027fd383c6fab0d845268a259f9ce5bcd3618c - 0.0% (718 Bytes)

[#019] sha256:829f3e95b8a6cbec6fd82633ce871976f040999109e730425f8b9da154f8a9d6 - 0.0% (2.36 KB)

[#020] sha256:ae5abe4dfb481e82c6b2439731a66d00af6b8db690bb5ab66e966b19d6b92e5a - 0.0% (2.35 KB)

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

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

[#023] sha256:ae03a96a78ba54e2b8509c20fe2be59ac22924f5dc1b0873a5fbb00953ee8e18 - 0.02% (56.8 KB)

[#024] sha256:02eb442913ca0cd7a1f56762398098840c1ef9140b6fdd3f63d3f0abbad2a063 - 15.91% (45.9 MB)

[#025] sha256:3b8abd9399553c05c34e91477f730f3f716d81a87760bae61976fc99d88cffc9 - 1.13% (3.26 MB)

[#026] sha256:882aad3989e73c2733910cfb6a1ab52246cd7cfdf0a893dd054889969b93957b - 0.01% (43.8 KB)

[#027] sha256:7c3caed1c0bfcfd0ad985e387d5eb63af259554e24f1bb8c362419101ecbe6e5 - 0.0% (432 Bytes)

[#028] sha256:584d9911f370de31058bc4676fc7f11d8402927a3f37f191c6a2fbba2d777ae8 - 0.0% (145 Bytes)

[#029] sha256:0ae5602dd8a5b777e3100f6a386866b6a594d1f78c0a97c33e4663caad6a90a3 - 0.0% (487 Bytes)


History
2026-08-24 00:00:00 UTC (debuerreotype 0.17)

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

2026-08-31 19:11:21 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-08-31 19:11:38 UTC (buildkit.dockerfile.v0)

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

2026-08-31 19:11:38 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-08-31 19:11:38 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-08-31 19:11:38 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-08-31 19:11:38 UTC (buildkit.dockerfile.v0)

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

2026-08-31 19:11:38 UTC (buildkit.dockerfile.v0)

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

2026-08-31 19:11:38 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-08-31 19:11:38 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-08-31 19:11:38 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.10

2026-08-31 19:11:38 UTC (buildkit.dockerfile.v0)

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

2026-08-31 19:11:38 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=6a8bebaa4d5a979a38db29a9373e9851f60c6b11f72172c585947e78f3081957

2026-08-31 19:11:45 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-08-31 19:11:45 UTC (buildkit.dockerfile.v0)

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

2026-08-31 19:14:22 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-08-31 19:14:22 UTC (buildkit.dockerfile.v0)

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

2026-08-31 19:14:22 UTC (buildkit.dockerfile.v0)

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

2026-08-31 19:14:22 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-08-31 19:14:22 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-08-31 19:14:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd "${PHP_INI_DIR%/php}"; cp -v php-fpm.conf.default php-fpm.conf; cp -v php-fpm.d/www.conf.default php-fpm.d/www.conf; grep -E '^listen = 127.0.0.1:9000' php-fpm.d/www.conf; sed -ri 's/^(listen = 127.0.0.1:9000)/;\1/' php-fpm.d/www.conf; grep -E '^;listen = 127.0.0.1:9000' php-fpm.d/www.conf; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; echo; echo '; default listen address for easy override in later php-fpm.d/*.conf files'; echo 'listen = 9000'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '; the [www] ini section below is for backwards compatibility and will be removed in 8.6+'; echo '[www]'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit

2026-08-31 19:14:22 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-08-31 19:14:22 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-08-31 19:14:22 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-09-14 09:56:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y git curl zip unzip libpng-dev libjpeg-dev libfreetype6-dev libonig-dev libxml2-dev libzip-dev libicu-dev libpq-dev gosu && rm -rf /var/lib/apt/lists/* # buildkit

2026-09-14 09:58:14 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-configure gd --with-freetype --with-jpeg && docker-php-ext-install -j$(nproc) pdo_pgsql pgsql mbstring exif pcntl bcmath gd zip intl sockets # buildkit

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pecl install redis-6.3.0 && pecl install apcu-5.1.28 && docker-php-ext-enable redis apcu # buildkit

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/composer /usr/bin/composer # buildkit

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

COPY docker/php/php.ini /usr/local/etc/php/php.ini # buildkit

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

COPY docker/php/www.conf /usr/local/etc/php-fpm.d/www.conf # buildkit

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rm -f /usr/local/etc/php-fpm.d/zz-docker.conf # buildkit

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

COPY docker/php/entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

COPY docker/php/entrypoint-app.sh /usr/local/bin/entrypoint-app.sh # buildkit

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/entrypoint-app.sh # buildkit

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

EXPOSE [9000/tcp]

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

ENV APP_ENV=dev

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

ENV APP_DEBUG=1

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

ENV CAPTAINHOOK_DISABLE=true

2026-09-14 09:58:43 UTC (buildkit.dockerfile.v0)

COPY composer.json composer.lock symfony.lock ./ # buildkit

2026-09-14 09:58:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c composer install --no-interaction --no-scripts --no-autoloader # buildkit

2026-09-14 09:58:53 UTC (buildkit.dockerfile.v0)

COPY . /var/www # buildkit

2026-09-14 09:58:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c composer dump-autoload --no-scripts # buildkit

2026-09-14 09:58:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c cp -r /var/www/public /var/www/public.dist # buildkit

2026-09-14 09:58:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c touch /var/www/.env # buildkit

2026-09-14 09:58:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p var/cache var/log && chown -R www-data:www-data public var/cache var/log && chmod -R 775 var/cache var/log # buildkit

2026-09-14 09:58:54 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

2026-09-14 09:58:54 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

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.