Tag

mazars/php:test--20260414-122852-010e000d
Content Digest: sha256:79d586be99585e40b7a4192b0fb0d9143305df270015f9058c29f45ac73d39c3
Manifests
Details
Content Digest

sha256:6b5987e12143e15af80868014bc5497fa9cc89706aed1268fcf84012d4e794c0

Created

2026-04-14 12:37:25 UTC

Size

280 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.30.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

67f084d36852daab6809561a7c8023d130ca07fc6af8fb040684dd1414934d48

PHP_URL

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

PHP_VERSION

8.3.30


Layers

[#000] sha256:9d11882d4b58ff40fdd15bebe83f72fcdb27ca6e5b2874c2310c231d0dc274be - 10.49% (29.4 MB)

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

[#002] sha256:df67af40ffc37004fbe47c8e8eebb4a0e6496be5804ea3190b1fca1435d8d192 - 40.15% (112 MB)

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

[#004] sha256:4c9f12a5982a4c0297708297946667ea316aacb22fa61bdc24754d829c750781 - 4.35% (12.2 MB)

[#005] sha256:a88b427c49880e955d1fc209de0e3f8f6f55375ee42107c8c455615d79324e8b - 0.0% (488 Bytes)

[#006] sha256:734a1dcb0e9eb15617f0a28bd0bece0d5f821a22aee8e40b7fc5ffa878851207 - 4.05% (11.3 MB)

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

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

[#009] sha256:156eda627d7583fa5846ad650eacb72934e61288a3d8913032a6fb81d92db310 - 0.0% (245 Bytes)

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

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

[#012] sha256:7a80cb957f9ef7d43b0169837217f8f9505da2338c1401a17fae0a1787ae7dcd - 23.49% (65.8 MB)

[#013] sha256:8b346c5325488db58f1c800467dafb0ec6c16507446e890516129ef9e838e6d9 - 0.59% (1.66 MB)

[#014] sha256:227e1a3531e08e7306bed3892fd94fcdb87ad448b4d958bdd335d6545127d0e3 - 0.69% (1.93 MB)

[#015] sha256:698715bce9b9f08025621c45cfd267cd41f2f6b23c68fdd9d3df320057966d19 - 0.26% (759 KB)

[#016] sha256:558fe2c5b7e53b3bea1d6e2a81b05aef6f05e0b9e74a137162c5801417375000 - 0.0% (704 Bytes)

[#017] sha256:6bd36359ed7ded6331df1568e4dab36eb6e5bb4163c21b7f0a0e67e1fa015778 - 0.0% (682 Bytes)

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

[#019] sha256:1d8ba17f1017ed5f3591703ae263d4b62a65d3313e48f72676e32a6906067796 - 0.0% (640 Bytes)

[#020] sha256:d5eee9b6110552c97b2650690e983c970085a9cf6fdfa8d5b68738872c1ec362 - 0.0% (1.15 KB)

[#021] sha256:a573598db7bc49ec877048bda529fb27b8488413bc908a703aa4a2443cbf7da4 - 0.0% (1.49 KB)

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

[#023] sha256:e6e2805c38918176ece5186be3aad913942abc04bee549a6434fc5f76693f6c9 - 0.43% (1.21 MB)

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

[#025] sha256:9317099d899348477d9c8c267e90fd6a3318a82e4fd519db9646f4dcb05f513e - 0.0% (429 Bytes)

[#026] sha256:652ff724554be8421a44024392ae7d8d7aea3bdfb9675dae4aa78c142e1c308d - 0.0% (340 Bytes)

[#027] sha256:c02b1ad4c3a85f988f4d84ba80d85ef7ee84de4602340a6c9bdee7e3c16aafa5 - 10.41% (29.1 MB)

[#028] sha256:f93b12887102f205bdb8aed5c1ad3549a23c535dd89317d8225aca12a9c7f306 - 0.0% (155 Bytes)

[#029] sha256:d16025502aadf524f23abdc6719d732837949f27746dd970c508a8ba4e72527d - 5.08% (14.2 MB)


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

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

2026-04-07 01:24:05 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-04-07 01:24:21 UTC (buildkit.dockerfile.v0)

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

2026-04-07 01:24:21 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-04-07 01:24:21 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-04-07 01:24:21 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-04-07 01:24:21 UTC (buildkit.dockerfile.v0)

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

2026-04-07 01:24:21 UTC (buildkit.dockerfile.v0)

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

2026-04-07 01:24:21 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-04-07 01:24:21 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2026-04-07 01:24:21 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.3.30

2026-04-07 01:24:21 UTC (buildkit.dockerfile.v0)

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

2026-04-07 01:24:21 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=67f084d36852daab6809561a7c8023d130ca07fc6af8fb040684dd1414934d48

2026-04-07 01:34:11 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-04-07 01:34:11 UTC (buildkit.dockerfile.v0)

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

2026-04-07 01:36:39 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-04-07 01:36:39 UTC (buildkit.dockerfile.v0)

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

2026-04-07 01:36:39 UTC (buildkit.dockerfile.v0)

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

2026-04-07 01:36:39 UTC (buildkit.dockerfile.v0)

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

2026-04-07 01:36:39 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-04-07 01:36:39 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-04-07 01:36:39 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-04-07 01:36:39 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-04-07 01:36:39 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-04-07 01:36:39 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-04-14 12:34:19 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-04-14 12:36:16 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-04-14 12:36:56 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-04-14 12:36:56 UTC (buildkit.dockerfile.v0)

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

2026-04-14 12:36:56 UTC (buildkit.dockerfile.v0)

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

2026-04-14 12:36:56 UTC (buildkit.dockerfile.v0)

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

2026-04-14 12:36:57 UTC (buildkit.dockerfile.v0)

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

2026-04-14 12:36:57 UTC (buildkit.dockerfile.v0)

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

2026-04-14 12:36:57 UTC (buildkit.dockerfile.v0)

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

2026-04-14 12:36:57 UTC (buildkit.dockerfile.v0)

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

2026-04-14 12:36:57 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www

2026-04-14 12:36:57 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-04-14 12:36:57 UTC (buildkit.dockerfile.v0)

COPY . /var/www # buildkit

2026-04-14 12:36:57 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www

2026-04-14 12:36:58 UTC (buildkit.dockerfile.v0)

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

2026-04-14 12:36:58 UTC (buildkit.dockerfile.v0)

ENV APP_ENV=prod

2026-04-14 12:36:58 UTC (buildkit.dockerfile.v0)

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

2026-04-14 12:37:05 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-04-14 12:37:05 UTC (buildkit.dockerfile.v0)

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

2026-04-14 12:37:25 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-04-14 12:37:25 UTC (buildkit.dockerfile.v0)

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

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.