Tag

mazars/php:prod--20260608-100352-fdac248b
Content Digest: sha256:1ce005677922104b5e9a90879049b1f89654afeb4e20516ca0960a2754fb5c9d
Manifests
Details
Content Digest

sha256:aaf0d0dc2fbedf4f5cf46e22b48206dfec131c34e0671a6b1d2b0e1155b26d39

Created

2026-06-08 10:07:44 UTC

Size

278 MB


Environment
APP_ENV

prod

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

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

66410cee07f4b2baeb0843140bb2a2b52ef930b5cf9b3d6e6d158b33aae8fa37

PHP_URL

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

PHP_VERSION

8.3.31


Layers

[#000] sha256:5b4d6ff92fc4e14e911b7753c954fac965d48c40fe1075758d284148ccace970 - 10.22% (28.4 MB)

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

[#002] sha256:0ee8432c63c855d453e3c52bd51b56bb2c3f7aa6922a9432fc050c7e3d79fb01 - 40.45% (112 MB)

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

[#004] sha256:c774d5ab71025fbc01b88ffa615c4597f6e5358fc77042396a49ceaa99f749d9 - 4.38% (12.2 MB)

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

[#006] sha256:f7ca2663bd9de0c8c5d20a00d86e40d1fd1a207d5f586da68ac8ae21a3c4e5e4 - 4.09% (11.4 MB)

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

[#008] sha256:b3ba60e194086d6759995cff306043ec9c7fd279f752b337d2c5a33dafd7c0e2 - 0.0% (252 Bytes)

[#009] sha256:10b4e565046b453afc97d48f1752bb9e13b18555518fc96488b8ac92a10c2204 - 0.0% (247 Bytes)

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

[#011] sha256:fadb9c09e66259ce8a30e447a2a298139d5e30283c8ba43569bf8a0ef5bd9ffc - 0.0% (9.04 KB)

[#012] sha256:2de998d48d70ba7288e2ebd5eb40e22d9fd4dfc2485027b4b92a92c74adc68bc - 22.5% (62.5 MB)

[#013] sha256:3b857b582bb323579b1781b13b39930caf7190b94db3912431b1c1d22f72e714 - 0.6% (1.66 MB)

[#014] sha256:ce5ecbadf339eae7b658bc255c843c853f87d242938ee1c20b6487b6aea6b08f - 0.7% (1.93 MB)

[#015] sha256:647903795223be7ff397b048c7f4eb71a5c8ded2f2b223d9f5329c7b9a7ff975 - 0.28% (804 KB)

[#016] sha256:dab0da26df42a0e073c3728b3f4a1b6700479cd8ec010659f4f076ca1b6b37d1 - 0.0% (705 Bytes)

[#017] sha256:a0af288707ca9d4d0953911aff6f4e057d6160fcbc728ee3de133054ca681c93 - 0.0% (683 Bytes)

[#018] sha256:b51330bafdbf58304c2ee15e4458de73c76df8cc9310849b3d1d7e58d7196d34 - 0.0% (219 Bytes)

[#019] sha256:83ef24bd9f9bc89cd9432aee706a74caf082a8c26e4e5e3ba914ffedbb6b5f1a - 0.0% (724 Bytes)

[#020] sha256:a6ce80b305ea8750ac6590bedd6286bb41dc7969041a4fd8d1be452ea3ca01e6 - 0.0% (1.06 KB)

[#021] sha256:004901c834f074b2bc0ea1b82b55231a5c5bc3172eb741c25614dcbcd4724022 - 0.0% (1.5 KB)

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

[#023] sha256:e1541e61c5cf3f7afcc5dd2478f80edcc80f1643fc7b6b137a04dcda75091752 - 0.57% (1.57 MB)

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

[#025] sha256:5a5a96a49726cf0f5d188c0847558aefbb10a8864e2ebfe65545c71bd27401e4 - 0.0% (444 Bytes)

[#026] sha256:88d8593b4f90bdcf67cfaecda62c7854aadba56e875728fa110f9f99b68eeaf3 - 0.0% (343 Bytes)

[#027] sha256:5a4afdf98b1da8c19fa690e80b64843d74ca1e85c77c8b813a5754b33a3e2a6a - 10.82% (30.1 MB)

[#028] sha256:15e493224db8f52c60658155f4fa1fd6289087dedb72b5cca6a9cbeeb7e01e83 - 0.0% (156 Bytes)

[#029] sha256:f725182e44add3c1670ec5394e7f37f737f59956c46c0e2353365f61ad7f03f1 - 5.39% (15 MB)


History
2026-05-18 00:00:00 UTC (debuerreotype 0.17)

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

2026-05-19 23:05:57 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-05-19 23:06:14 UTC (buildkit.dockerfile.v0)

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

2026-05-19 23:06:14 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-05-19 23:06:14 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-05-19 23:06:14 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-05-19 23:06:14 UTC (buildkit.dockerfile.v0)

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

2026-05-19 23:06:14 UTC (buildkit.dockerfile.v0)

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

2026-05-19 23:06:14 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-05-19 23:06:14 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2026-05-19 23:06:14 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.3.31

2026-05-19 23:06:14 UTC (buildkit.dockerfile.v0)

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

2026-05-19 23:06:14 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=66410cee07f4b2baeb0843140bb2a2b52ef930b5cf9b3d6e6d158b33aae8fa37

2026-05-19 23:10: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-05-19 23:10:13 UTC (buildkit.dockerfile.v0)

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

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

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

2026-05-19 23:12:51 UTC (buildkit.dockerfile.v0)

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

2026-05-19 23:12:51 UTC (buildkit.dockerfile.v0)

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

2026-05-19 23:12:51 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-05-19 23:12:51 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

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

STOPSIGNAL SIGQUIT

2026-05-19 23:12:51 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-05-19 23:12:51 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-06-08 10:04:42 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-06-08 10:06:38 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 opcache sockets # buildkit

2026-06-08 10:07:17 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:17 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:17 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:17 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:17 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:17 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:17 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:17 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:17 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www

2026-06-08 10:07:18 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-06-08 10:07:18 UTC (buildkit.dockerfile.v0)

COPY . /var/www # buildkit

2026-06-08 10:07:18 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www

2026-06-08 10:07:19 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:19 UTC (buildkit.dockerfile.v0)

ENV APP_ENV=prod

2026-06-08 10:07:19 UTC (buildkit.dockerfile.v0)

COPY docker/php/php-prod.ini /usr/local/etc/php/conf.d/zz-prod.ini # buildkit

2026-06-08 10:07:26 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c composer config --no-plugins allow-plugins.captainhook/hook-installer false && composer config --no-plugins allow-plugins.netgen/git-hooks false && composer install --no-dev --classmap-authoritative --no-interaction --no-scripts && composer config --no-plugins allow-plugins.captainhook/hook-installer true && composer config --no-plugins allow-plugins.netgen/git-hooks true # buildkit

2026-06-08 10:07:26 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:44 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:44 UTC (buildkit.dockerfile.v0)

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

2026-06-08 10:07:44 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.