Tag

mazars/php:stage--20260613-112153-06e7a54e
Content Digest: sha256:db95de155675e40ee587c3c9f503e2ddda517408d0975e84e9ada669528178ae
Manifests
Details
Content Digest

sha256:4b02a26de489d86d91547b93501dce150a9190301cf4f2a3df8add464b7a2ecb

Created

2026-06-13 11:22:57 UTC

Size

263 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:72c03230f1363a3fb61d2f98504cf168bad3fe22f511ad2005dc021515d7ce97 - 10.81% (28.4 MB)

[#001] sha256:a67c3e125e2c9ecfe019ccae67d5d4629382d89d4d6b3ed8c4d6d4fc9b4da939 - 0.0% (228 Bytes)

[#002] sha256:757145df32c522624455feffa7ad3b392743cb35b37bc2d0bde2312ee70d62bf - 42.77% (112 MB)

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

[#004] sha256:81cc1021963a8aa3831055fd8e55d42f59606982d80171190eb30ed400d19013 - 4.63% (12.2 MB)

[#005] sha256:eaa3ac0c1dcfdba772112f2ee299e21236779f1eb1e5670ad5520a0c02a43a64 - 0.0% (486 Bytes)

[#006] sha256:68f7751c459a0db7c78126dad7e4f894d8c85a98982f8697d69834d8cb0ce2d6 - 4.32% (11.4 MB)

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

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

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

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

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

[#012] sha256:6a6f68ef919280681a59b4b9877b8ec70002eb11ac0ab7a134d4a2d898156c4c - 23.71% (62.3 MB)

[#013] sha256:b88826ec0cbe701dc3d0a5b9fe8c6c17be49f5eb495e056b1908c96b2a877789 - 0.63% (1.66 MB)

[#014] sha256:b93fcb5f872c2d45d609bf09b00a3f408cd5c2fedf62c6c18827a023ac6d7d29 - 0.74% (1.93 MB)

[#015] sha256:f05d2fb14e723c4a5333bcda4415ba89f5b275c03d25b2a0a5ff1603f6a65af3 - 0.3% (804 KB)

[#016] sha256:3fc16897fccfa02bc13da6a6e7bb5cb1b096e51ec4fd6cdbf6340c7409d2d01f - 0.0% (704 Bytes)

[#017] sha256:07e39a6770d0044c410eb221e1203b567d7d269339c3a10e2c722660ce03c3fb - 0.0% (680 Bytes)

[#018] sha256:560cd805ca87ea505677b834941a33e7194b40bdbd19ffc340b04e555b7cf10f - 0.0% (205 Bytes)

[#019] sha256:838790e578e08f13d636b3fc185468d5f82c55d421da1a2a795758ee91d3785e - 0.0% (722 Bytes)

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

[#021] sha256:8fb072b701690e2668ccd856f303e0d10e87f2beb934add1bb7d5cd252a8a4ee - 0.0% (1.06 KB)

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

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

[#024] sha256:38fb7540a02f9edc04398b0e14b9325d4a6069030df76e91908399d22efdbdad - 0.0% (339 Bytes)

[#025] sha256:c3bc544f765a8ad8dded915fb3f7c682109c57ff41cdd07695efda3afe1aefc8 - 0.02% (53 KB)

[#026] sha256:ad33e3d5c32e0b65be024c64fc7ebef67007fd2a0ba41a4db121a504da070fd6 - 11.36% (29.9 MB)

[#027] sha256:9cae170f3426ac2c03010062912b4873d2384430deb97be249ada8a89bba3df1 - 0.63% (1.66 MB)

[#028] sha256:50137cc818aa58e97407b1aec23b776ce5b93cdce72ab8ff45062944725aa6e6 - 0.07% (201 KB)

[#029] sha256:77b8edae38570691aaee23bbde645707d5373d6dc6810eb5eee26ba24a528119 - 0.0% (431 Bytes)

[#030] sha256:9a6f40b79da6e042f83f66fd556dbe1adda0a452cfd32fde351aae2bbdced772 - 0.0% (144 Bytes)

[#031] sha256:703aadffae59c40d29f3a8078a10de178a101dffb692249036e7d0f1c1ca25ef - 0.0% (488 Bytes)


History
2026-06-10 00:00:00 UTC (debuerreotype 0.17)

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

2026-06-11 00:28:11 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-06-11 00:28:29 UTC (buildkit.dockerfile.v0)

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

2026-06-11 00:28:29 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-06-11 00:28:29 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-06-11 00:28: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 1777 /var/www/html # buildkit

2026-06-11 00:28:29 UTC (buildkit.dockerfile.v0)

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

2026-06-11 00:28:29 UTC (buildkit.dockerfile.v0)

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

2026-06-11 00:28:29 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-06-11 00:28:29 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2026-06-11 00:28:29 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.3.31

2026-06-11 00:28:29 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-06-11 00:28:29 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=66410cee07f4b2baeb0843140bb2a2b52ef930b5cf9b3d6e6d158b33aae8fa37

2026-06-11 00:28:37 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-06-11 00:28:37 UTC (buildkit.dockerfile.v0)

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

2026-06-11 00:31:29 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-06-11 00:31:29 UTC (buildkit.dockerfile.v0)

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

2026-06-11 00:31:29 UTC (buildkit.dockerfile.v0)

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

2026-06-11 00:31:29 UTC (buildkit.dockerfile.v0)

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

2026-06-11 00:31:29 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-06-11 00:31:29 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-06-11 00:31:29 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-06-11 00:31:29 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-06-11 00:31:29 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-06-11 00:31:29 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-06-12 13:40:52 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-12 13:47:52 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-12 13:48:27 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-12 13:48:27 UTC (buildkit.dockerfile.v0)

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

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

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

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

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

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

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

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

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

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

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

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

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

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

EXPOSE [9000/tcp]

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

ENV APP_ENV=prod

2026-06-12 13:48:27 UTC (buildkit.dockerfile.v0)

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

2026-06-12 13:48:28 UTC (buildkit.dockerfile.v0)

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

2026-06-12 13:48:33 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 --no-interaction --no-scripts --no-autoloader # buildkit

2026-06-13 11:22:55 UTC (buildkit.dockerfile.v0)

COPY . /var/www # buildkit

2026-06-13 11:22:57 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c composer dump-autoload --no-dev --classmap-authoritative --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-13 11:22:57 UTC (buildkit.dockerfile.v0)

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

2026-06-13 11:22:57 UTC (buildkit.dockerfile.v0)

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

2026-06-13 11:22:57 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-06-13 11:22:57 UTC (buildkit.dockerfile.v0)

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

2026-06-13 11:22:57 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.