Namespace
library
Image / Tag
nextcloud:35.0-fpm
Content Digest
sha256:15ea4eaa49a0137d16c0cbf88144a8ba8e357baff4b915c0355d0c081af86560
Details
Created

2026-11-24 05:26:31 UTC

Size

490 MB

Content Digest
Environment
GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

NEXTCLOUD_VERSION

35.0.3

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.13.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_MEMORY_LIMIT

512M

PHP_OPCACHE_MEMORY_CONSUMPTION

128

PHP_SHA256

607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

PHP_UPLOAD_LIMIT

512M

PHP_URL

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

PHP_VERSION

8.5.13


Layers

[#000] sha256:7fb9e5f471a439ab129e9fe258623bccb6c4da1d0313890202b55fd6b5839533 - 6.1% (29.9 MB)

[#001] sha256:1147bf4aa950340032769fade421d97a92b954878b46b676560bad1465526f36 - 0.0% (224 Bytes)

[#002] sha256:724bcab02ba2c909ad3bf2555cbd0484e05e9d53395b97c1bf68d62b613d0018 - 22.61% (111 MB)

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

[#004] sha256:33fd2f153e8a8b72bd7a762e573933183614f9ac709eafc27e985344d1fd2431 - 2.87% (14.1 MB)

[#005] sha256:90cdbb2160526279967cc4fa9b13b56814e6a29513f6fddd2dcea9985afb4424 - 0.0% (484 Bytes)

[#006] sha256:21fbd88229dc0fd9e1ed75c7fbfc64be285aa6bd37259e3907f3c382f5f5c229 - 3.07% (15 MB)

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

[#008] sha256:0e5596a67f4336228009e72358dd38dda953570497d4ca9b57acb5bdaebe6fea - 0.0% (244 Bytes)

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

[#010] sha256:5b5ecd70ebfd2b0e3e4bb0a800e4beda786357e4e6b6b4ff6764b89782f1486c - 0.0% (9.05 KB)

[#011] sha256:3fd3be0cf6a6d6b9df67df9589b9177db42880215d6bf4feab1da50f4fc43655 - 4.28% (20.9 MB)

[#012] sha256:8112cb1ee2d4098491fb7bc30e53172dbaf81564071caa06a5867b4c824237f9 - 7.31% (35.8 MB)

[#013] sha256:baee48bbe7aa39978bd01a248e320bc1fd77580ce80eb3181a3dfa4fe5e5d1a8 - 0.0% (805 Bytes)

[#014] sha256:77f6d873ef33f14393baa885b74949bdda108de70ad57c8f635f2093d920086a - 53.76% (263 MB)

[#015] sha256:f62527b30b89a3a36f87258d15d64656f3b5db8f173ac97782ed8cabf1661a45 - 0.0% (4.05 KB)

[#016] sha256:5424e532d2e638a38f957a42de7ef6c287c32eb69e8094a1bd0b195da2b27350 - 0.0% (2.47 KB)


History
2026-11-23 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 'i386' out/ 'trixie' '@1795392000'

2026-11-24 04:19: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

2026-11-24 04:19:45 UTC (buildkit.dockerfile.v0)

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

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

ENV PHP_INI_DIR=/usr/local/etc/php

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

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

2026-11-24 04:19:45 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:19:45 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-11-24 04:19:45 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-11-24 04:19:45 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.13

2026-11-24 04:19:45 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:19:45 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

2026-11-24 04:19: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 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-11-24 04:19:53 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:22:50 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; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; 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-11-24 04:22:50 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:22:50 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:22:50 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-11-24 04:22:50 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-11-24 04:22:50 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-11-24 04:22:50 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-11-24 04:22:50 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-11-24 04:22:50 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-11-24 05:23:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-7.q16-10-extra rsync ; apt-get dist-clean; mkdir -p /var/spool/cron/crontabs; echo '*/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data # buildkit

2026-11-24 05:25:53 UTC (buildkit.dockerfile.v0)

ENV PHP_MEMORY_LIMIT=512M

2026-11-24 05:25:53 UTC (buildkit.dockerfile.v0)

ENV PHP_UPLOAD_LIMIT=512M

2026-11-24 05:25:53 UTC (buildkit.dockerfile.v0)

ENV PHP_OPCACHE_MEMORY_CONSUMPTION=128

2026-11-24 05:25:53 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libevent-dev libfreetype6-dev libgmp-dev libicu-dev libjpeg-dev libldap2-dev liblz4-dev libmagickwand-dev libmemcached-dev libpng-dev libpq-dev libwebp-dev libxml2-dev libzip-dev ; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; docker-php-ext-configure ftp --with-ftp-ssl; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd gmp intl ldap pcntl pdo_mysql pdo_pgsql sysvsem zip ; pecl install APCu-5.1.28; pecl install igbinary-3.2.17RC1; pecl install imagick-3.8.1; pecl install --configureoptions 'enable-memcached-igbinary="yes"' memcached-3.4.0; pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' redis-6.3.0; docker-php-ext-enable apcu igbinary imagick memcached redis ; rm -r /tmp/pear; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean # buildkit

2026-11-24 05:25:53 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=8M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; { echo 'apc.serializer=igbinary'; echo 'session.serialize_handler=igbinary'; echo 'session.upload_progress.enabled=0'; } >> "${PHP_INI_DIR}/conf.d/docker-php-ext-igbinary.ini"; { echo 'memory_limit=${PHP_MEMORY_LIMIT}'; echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; } > "${PHP_INI_DIR}/conf.d/nextcloud.ini"; mkdir /var/www/data; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R www-data:root /var/www; chmod -R g=u /var/www # buildkit

2026-11-24 05:25:53 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2026-11-24 05:25:53 UTC (buildkit.dockerfile.v0)

ENV NEXTCLOUD_VERSION=35.0.3

2026-11-24 05:26:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; fetchDeps=" gnupg dirmngr "; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2"; curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; tar -xjf nextcloud.tar.bz2 -C /usr/src/; gpgconf --kill all; rm nextcloud.tar.bz2.asc nextcloud.tar.bz2; rm -rf "$GNUPGHOME" /usr/src/nextcloud/updater; mkdir -p /usr/src/nextcloud/data; mkdir -p /usr/src/nextcloud/custom_apps; chmod +x /usr/src/nextcloud/occ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; apt-get dist-clean # buildkit

2026-11-24 05:26:31 UTC (buildkit.dockerfile.v0)

COPY *.sh upgrade.exclude / # buildkit

2026-11-24 05:26:31 UTC (buildkit.dockerfile.v0)

COPY config/* /usr/src/nextcloud/config/ # buildkit

2026-11-24 05:26:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-11-24 05:26:31 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2026-11-24 05:35:34 UTC

Size

489 MB

Content Digest
Environment
GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

NEXTCLOUD_VERSION

35.0.3

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.13.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_MEMORY_LIMIT

512M

PHP_OPCACHE_MEMORY_CONSUMPTION

128

PHP_SHA256

607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

PHP_UPLOAD_LIMIT

512M

PHP_URL

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

PHP_VERSION

8.5.13


Layers

[#000] sha256:40748add9f4f6f944f334cbfc286590d6e93f60fb06f6ee7ffa1b894080ad861 - 5.82% (28.5 MB)

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

[#002] sha256:42e719b7b64e66ab19fc8396b89818636210b95aed510afbe29fff750e3839d2 - 22.98% (112 MB)

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

[#004] sha256:b673d607733f25f2415c4785e93364001013279a2d25de8b01f442e9520fae9e - 2.88% (14.1 MB)

[#005] sha256:4496679863fd9d29a48d2c3b47134b2f0cb90f2974efffff969c612bb31eea7f - 0.0% (485 Bytes)

[#006] sha256:b80264f63a50747681cfed955a583690f0012a6e741c0524e2cd8cf4d1df319a - 2.99% (14.6 MB)

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

[#008] sha256:bac08ef61bcbe6bb75c85fc9a8f28cf8122a8ca3859e6d3fd5c2cd11eb39a591 - 0.0% (244 Bytes)

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

[#010] sha256:12eacbaf8bce15f2fd938794501f1abbbc8f8c5183dd32506a3ef9d59a90342e - 0.0% (9.05 KB)

[#011] sha256:d50e264d5ff672f1b3a356cbb3c1726e504d1cb71d4ae82505f1ef143c69cd5e - 4.22% (20.6 MB)

[#012] sha256:8e4fc6ce974140c1ed08fb06607490789b680f4c154ea64f2abdef1c62682922 - 7.24% (35.4 MB)

[#013] sha256:44b0a34525ba88e4bcf0f399c47611974528408bc387873f754c6459ae88369c - 0.0% (801 Bytes)

[#014] sha256:eda7b636067919e2f92952b9f6abcbcc276722a53a5527d710eeb2adc135a5a2 - 53.86% (263 MB)

[#015] sha256:0b59bd6d3f3bf9c6de9b556996251630ee2b67e1054d850a67671d798f874faa - 0.0% (4.05 KB)

[#016] sha256:2eb050b72c1b0ab44e234683fe37260fd2d1d4bee916d6a563b2fe6e33087186 - 0.0% (2.47 KB)


History
2026-11-23 00:00:00 UTC (debuerreotype 0.17)

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

2026-11-24 04:19:16 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-11-24 04:19:30 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:19:30 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-11-24 04:19:30 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-11-24 04:19:30 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-11-24 04:19:30 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:19:30 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:19:30 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-11-24 04:19:30 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-11-24 04:19:30 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.13

2026-11-24 04:19:30 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:19:30 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

2026-11-24 04:19: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-11-24 04:19:37 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:21:57 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; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; 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-11-24 04:21:57 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:21:57 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:21:57 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-11-24 04:21:57 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

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

STOPSIGNAL SIGQUIT

2026-11-24 04:21:57 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-11-24 04:21:57 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-11-24 05:32:48 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-7.q16-10-extra rsync ; apt-get dist-clean; mkdir -p /var/spool/cron/crontabs; echo '*/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data # buildkit

2026-11-24 05:34:59 UTC (buildkit.dockerfile.v0)

ENV PHP_MEMORY_LIMIT=512M

2026-11-24 05:34:59 UTC (buildkit.dockerfile.v0)

ENV PHP_UPLOAD_LIMIT=512M

2026-11-24 05:34:59 UTC (buildkit.dockerfile.v0)

ENV PHP_OPCACHE_MEMORY_CONSUMPTION=128

2026-11-24 05:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libevent-dev libfreetype6-dev libgmp-dev libicu-dev libjpeg-dev libldap2-dev liblz4-dev libmagickwand-dev libmemcached-dev libpng-dev libpq-dev libwebp-dev libxml2-dev libzip-dev ; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; docker-php-ext-configure ftp --with-ftp-ssl; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd gmp intl ldap pcntl pdo_mysql pdo_pgsql sysvsem zip ; pecl install APCu-5.1.28; pecl install igbinary-3.2.17RC1; pecl install imagick-3.8.1; pecl install --configureoptions 'enable-memcached-igbinary="yes"' memcached-3.4.0; pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' redis-6.3.0; docker-php-ext-enable apcu igbinary imagick memcached redis ; rm -r /tmp/pear; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean # buildkit

2026-11-24 05:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=8M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; { echo 'apc.serializer=igbinary'; echo 'session.serialize_handler=igbinary'; echo 'session.upload_progress.enabled=0'; } >> "${PHP_INI_DIR}/conf.d/docker-php-ext-igbinary.ini"; { echo 'memory_limit=${PHP_MEMORY_LIMIT}'; echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; } > "${PHP_INI_DIR}/conf.d/nextcloud.ini"; mkdir /var/www/data; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R www-data:root /var/www; chmod -R g=u /var/www # buildkit

2026-11-24 05:34:59 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2026-11-24 05:34:59 UTC (buildkit.dockerfile.v0)

ENV NEXTCLOUD_VERSION=35.0.3

2026-11-24 05:35:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; fetchDeps=" gnupg dirmngr "; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2"; curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; tar -xjf nextcloud.tar.bz2 -C /usr/src/; gpgconf --kill all; rm nextcloud.tar.bz2.asc nextcloud.tar.bz2; rm -rf "$GNUPGHOME" /usr/src/nextcloud/updater; mkdir -p /usr/src/nextcloud/data; mkdir -p /usr/src/nextcloud/custom_apps; chmod +x /usr/src/nextcloud/occ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; apt-get dist-clean # buildkit

2026-11-24 05:35:34 UTC (buildkit.dockerfile.v0)

COPY *.sh upgrade.exclude / # buildkit

2026-11-24 05:35:34 UTC (buildkit.dockerfile.v0)

COPY config/* /usr/src/nextcloud/config/ # buildkit

2026-11-24 05:35:34 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-11-24 05:35:34 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2026-11-24 06:21:36 UTC

Size

461 MB

Content Digest
Environment
GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

NEXTCLOUD_VERSION

35.0.3

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.13.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_MEMORY_LIMIT

512M

PHP_OPCACHE_MEMORY_CONSUMPTION

128

PHP_SHA256

607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

PHP_UPLOAD_LIMIT

512M

PHP_URL

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

PHP_VERSION

8.5.13


Layers

[#000] sha256:f6fba286691ca1912507e9abe69b4f333f067bb9769520ed16554fd664c33962 - 5.8% (26.7 MB)

[#001] sha256:765f338d97704434a841d90f36d23f143b3a4a68c4aaf42a31845a0d11d56b19 - 0.0% (223 Bytes)

[#002] sha256:8e592306bcae09d254722c4c34278ed279c6ddaaa95000fdf4b88fb360d0374d - 19.64% (90.5 MB)

[#003] sha256:f5512d34161724c55018fcf3b753907884138ec39498ecd93361ae7f4c83cd73 - 0.0% (222 Bytes)

[#004] sha256:f8ee27bd5ef8e5cdef36fc26a201761cffc33e41b21a4c9fb4027cb3c09efdac - 3.05% (14.1 MB)

[#005] sha256:2b2bc816fec3538556be01c5442b650426c9aa231802b2d1bbbeea7018b95d02 - 0.0% (485 Bytes)

[#006] sha256:c8f2e5fd2bf63d71b6716ec3c722eb93c9143dd3d5184e15ea40598227c8def9 - 2.76% (12.7 MB)

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

[#008] sha256:91892a255d8d43c56dc16791e589112fb4c8cb86526fb9650a77c7e1f862b5c1 - 0.0% (244 Bytes)

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

[#010] sha256:60e0ed393e000fb387817b581d816ebe72020f05f7f3369416a4a374ecef247f - 0.0% (9.05 KB)

[#011] sha256:7d79748213a35e51d9ba720a38996fb973cff43cde5487ed77ca34a79e1d7479 - 4.28% (19.7 MB)

[#012] sha256:76f2c8542465ecc2ee8f2698ce016ea582544f0f9889345f69cfafcac36f5823 - 7.29% (33.6 MB)

[#013] sha256:62b5ea19401f644bb57220fc2190fdcee9cd5b53867d21f3008164b8e40db67f - 0.0% (804 Bytes)

[#014] sha256:f1500a238b087806558b4badb0278c49927939eba8b5990936fdf28bf1b4ea7c - 57.17% (263 MB)

[#015] sha256:047c6a542d59a55063754bc22918d1bfb1267682d18099ed717ed946eacdc3f0 - 0.0% (4.05 KB)

[#016] sha256:6e9ad1c403779a8a32bc23318e3b49e3bebc74f5c547527e11413335ad109904 - 0.0% (2.47 KB)


History
2026-11-23 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 'armel' out/ 'trixie' '@1795392000'

2026-11-24 04:19:36 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-11-24 04:20:01 UTC (buildkit.dockerfile.v0)

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

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

ENV PHP_INI_DIR=/usr/local/etc/php

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

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

2026-11-24 04:20:01 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:20:01 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-11-24 04:20:01 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-11-24 04:20:01 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.13

2026-11-24 04:20:01 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:20:01 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

2026-11-24 04:20: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-11-24 04:20:13 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:23:21 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; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; 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-11-24 04:23:21 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:23:21 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:23:21 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-11-24 04:23:21 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

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

STOPSIGNAL SIGQUIT

2026-11-24 04:23:21 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-11-24 04:23:21 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-11-24 06:16:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-7.q16-10-extra rsync ; apt-get dist-clean; mkdir -p /var/spool/cron/crontabs; echo '*/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data # buildkit

2026-11-24 06:20:41 UTC (buildkit.dockerfile.v0)

ENV PHP_MEMORY_LIMIT=512M

2026-11-24 06:20:41 UTC (buildkit.dockerfile.v0)

ENV PHP_UPLOAD_LIMIT=512M

2026-11-24 06:20:41 UTC (buildkit.dockerfile.v0)

ENV PHP_OPCACHE_MEMORY_CONSUMPTION=128

2026-11-24 06:20:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libevent-dev libfreetype6-dev libgmp-dev libicu-dev libjpeg-dev libldap2-dev liblz4-dev libmagickwand-dev libmemcached-dev libpng-dev libpq-dev libwebp-dev libxml2-dev libzip-dev ; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; docker-php-ext-configure ftp --with-ftp-ssl; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd gmp intl ldap pcntl pdo_mysql pdo_pgsql sysvsem zip ; pecl install APCu-5.1.28; pecl install igbinary-3.2.17RC1; pecl install imagick-3.8.1; pecl install --configureoptions 'enable-memcached-igbinary="yes"' memcached-3.4.0; pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' redis-6.3.0; docker-php-ext-enable apcu igbinary imagick memcached redis ; rm -r /tmp/pear; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean # buildkit

2026-11-24 06:20:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=8M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; { echo 'apc.serializer=igbinary'; echo 'session.serialize_handler=igbinary'; echo 'session.upload_progress.enabled=0'; } >> "${PHP_INI_DIR}/conf.d/docker-php-ext-igbinary.ini"; { echo 'memory_limit=${PHP_MEMORY_LIMIT}'; echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; } > "${PHP_INI_DIR}/conf.d/nextcloud.ini"; mkdir /var/www/data; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R www-data:root /var/www; chmod -R g=u /var/www # buildkit

2026-11-24 06:20:41 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2026-11-24 06:20:41 UTC (buildkit.dockerfile.v0)

ENV NEXTCLOUD_VERSION=35.0.3

2026-11-24 06:21:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; fetchDeps=" gnupg dirmngr "; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2"; curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; tar -xjf nextcloud.tar.bz2 -C /usr/src/; gpgconf --kill all; rm nextcloud.tar.bz2.asc nextcloud.tar.bz2; rm -rf "$GNUPGHOME" /usr/src/nextcloud/updater; mkdir -p /usr/src/nextcloud/data; mkdir -p /usr/src/nextcloud/custom_apps; chmod +x /usr/src/nextcloud/occ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; apt-get dist-clean # buildkit

2026-11-24 06:21:36 UTC (buildkit.dockerfile.v0)

COPY *.sh upgrade.exclude / # buildkit

2026-11-24 06:21:36 UTC (buildkit.dockerfile.v0)

COPY config/* /usr/src/nextcloud/config/ # buildkit

2026-11-24 06:21:36 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-11-24 06:21:36 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2026-11-24 06:40:40 UTC

Size

448 MB

Content Digest
Environment
GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

NEXTCLOUD_VERSION

35.0.3

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.13.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_MEMORY_LIMIT

512M

PHP_OPCACHE_MEMORY_CONSUMPTION

128

PHP_SHA256

607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

PHP_UPLOAD_LIMIT

512M

PHP_URL

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

PHP_VERSION

8.5.13


Layers

[#000] sha256:c720f3b38fb800619bf9fa0d867869c69ddd3a3f80e5316158c99a0cbe84f60f - 5.6% (25 MB)

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

[#002] sha256:e817966b63afaa63e0bbbf808c4ebf13e784849892e0ed7f94894ece9a060b9a - 18.38% (82.3 MB)

[#003] sha256:ea86a1ca71802557ef1396f7566b36faa9dd04bf0ae4ee0018abc60ac4f8a57a - 0.0% (224 Bytes)

[#004] sha256:a17e32fdaca5599d6ec495696e9fd3ef1d7e42fda710486d6b74173c3b0c043f - 3.14% (14.1 MB)

[#005] sha256:5ebc24c1186735bdef27fbd3db862bc435da6a5523a9ebbbbc2352ac1799bd4c - 0.0% (485 Bytes)

[#006] sha256:166cafefbbfb748625475f9f40322c7180189f115ea69a8271c75741a0ef0bc0 - 2.68% (12 MB)

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

[#008] sha256:41b3ae5fb261ec90b27b0f86b625d590f576861b70cc3780872c183eb76fb812 - 0.0% (246 Bytes)

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

[#010] sha256:e7a11d46904084ef26ce7bc44818c0f2226df419c210b8a03389c907f98c1b69 - 0.0% (9.05 KB)

[#011] sha256:67c00dd9855702e8c2a0a04a2913543c09c2c0484041149d7db49e59ab09170a - 3.95% (17.7 MB)

[#012] sha256:df7dfa80ba95666481016e7e137b9a434d995cb85085675f68427b5b7a421a86 - 7.42% (33.2 MB)

[#013] sha256:3be5acc05afb039b781c32d50093b9defa845875104830869b2e078a630b3c0b - 0.0% (806 Bytes)

[#014] sha256:def8b4b10acf1da896dac09fef8fcd953424ff6d4a8fcd7fb5884ee6bb7a1e26 - 58.83% (263 MB)

[#015] sha256:ee39dc5b2739880ecdcaee469a365215993c59ea94c92365e44a3d2caa2e6f33 - 0.0% (4.05 KB)

[#016] sha256:9851b82ae7f386d82c60732e7780f33f08e3e4ba546141cee920abb04f76039c - 0.0% (2.47 KB)


History
2026-11-23 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 'armhf' out/ 'trixie' '@1795392000'

2026-11-24 04:28:42 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-11-24 04:29:03 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:29:03 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-11-24 04:29:03 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-11-24 04:29:03 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-11-24 04:29:03 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:29:03 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:29:03 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-11-24 04:29:03 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-11-24 04:29:03 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.13

2026-11-24 04:29:03 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:29:03 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

2026-11-24 04:29:12 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-11-24 04:29:12 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:32:02 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; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; 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-11-24 04:32:02 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:32:03 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:32:03 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-11-24 04:32:03 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-11-24 04:32:03 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-11-24 04:32:03 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-11-24 04:32:03 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-11-24 04:32:03 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-11-24 06:36:24 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-7.q16-10-extra rsync ; apt-get dist-clean; mkdir -p /var/spool/cron/crontabs; echo '*/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data # buildkit

2026-11-24 06:39:48 UTC (buildkit.dockerfile.v0)

ENV PHP_MEMORY_LIMIT=512M

2026-11-24 06:39:48 UTC (buildkit.dockerfile.v0)

ENV PHP_UPLOAD_LIMIT=512M

2026-11-24 06:39:48 UTC (buildkit.dockerfile.v0)

ENV PHP_OPCACHE_MEMORY_CONSUMPTION=128

2026-11-24 06:39:48 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libevent-dev libfreetype6-dev libgmp-dev libicu-dev libjpeg-dev libldap2-dev liblz4-dev libmagickwand-dev libmemcached-dev libpng-dev libpq-dev libwebp-dev libxml2-dev libzip-dev ; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; docker-php-ext-configure ftp --with-ftp-ssl; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd gmp intl ldap pcntl pdo_mysql pdo_pgsql sysvsem zip ; pecl install APCu-5.1.28; pecl install igbinary-3.2.17RC1; pecl install imagick-3.8.1; pecl install --configureoptions 'enable-memcached-igbinary="yes"' memcached-3.4.0; pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' redis-6.3.0; docker-php-ext-enable apcu igbinary imagick memcached redis ; rm -r /tmp/pear; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean # buildkit

2026-11-24 06:39:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=8M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; { echo 'apc.serializer=igbinary'; echo 'session.serialize_handler=igbinary'; echo 'session.upload_progress.enabled=0'; } >> "${PHP_INI_DIR}/conf.d/docker-php-ext-igbinary.ini"; { echo 'memory_limit=${PHP_MEMORY_LIMIT}'; echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; } > "${PHP_INI_DIR}/conf.d/nextcloud.ini"; mkdir /var/www/data; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R www-data:root /var/www; chmod -R g=u /var/www # buildkit

2026-11-24 06:39:49 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2026-11-24 06:39:49 UTC (buildkit.dockerfile.v0)

ENV NEXTCLOUD_VERSION=35.0.3

2026-11-24 06:40:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; fetchDeps=" gnupg dirmngr "; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2"; curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; tar -xjf nextcloud.tar.bz2 -C /usr/src/; gpgconf --kill all; rm nextcloud.tar.bz2.asc nextcloud.tar.bz2; rm -rf "$GNUPGHOME" /usr/src/nextcloud/updater; mkdir -p /usr/src/nextcloud/data; mkdir -p /usr/src/nextcloud/custom_apps; chmod +x /usr/src/nextcloud/occ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; apt-get dist-clean # buildkit

2026-11-24 06:40:40 UTC (buildkit.dockerfile.v0)

COPY *.sh upgrade.exclude / # buildkit

2026-11-24 06:40:40 UTC (buildkit.dockerfile.v0)

COPY config/* /usr/src/nextcloud/config/ # buildkit

2026-11-24 06:40:40 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-11-24 06:40:40 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2026-11-24 05:50:12 UTC

Size

480 MB

Content Digest
Environment
GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

NEXTCLOUD_VERSION

35.0.3

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.13.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_MEMORY_LIMIT

512M

PHP_OPCACHE_MEMORY_CONSUMPTION

128

PHP_SHA256

607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

PHP_UPLOAD_LIMIT

512M

PHP_URL

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

PHP_VERSION

8.5.13


Layers

[#000] sha256:48fb00926fe468d83ca04ee6775f36350d17e0f328dfcb03aadb5de0c52ae3f6 - 6.0% (28.8 MB)

[#001] sha256:efe090be87910ab9e70294da74ccf3913cce1878c3a63b17601c09e4ea25a7aa - 0.0% (224 Bytes)

[#002] sha256:60e117375cb54ea26b013bc8689ec9f40614163a3e06bfaeb137bfa2deec99d0 - 21.88% (105 MB)

[#003] sha256:72412675caff0c0a0892a32cfa8e4557e7ea463c66b573e8774ca7bce9c5c9b9 - 0.0% (222 Bytes)

[#004] sha256:58ee7fa8921d2a71cd342c2b33c8ca67d53c3a41c708d50dc9d498bf5c13f07e - 2.93% (14.1 MB)

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

[#006] sha256:64139171d759e2bd675fc359f88dc86afd23d95a8dcd3fd75476740c78344293 - 2.96% (14.2 MB)

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

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

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

[#010] sha256:e43f298f4d4a4295268cdbb72a598d1f925537fcfd9d941b7369b96add64a4d9 - 0.0% (9.05 KB)

[#011] sha256:d91a938a9864b9ae61029066aeef95ae08dc5d9f1346f82a98f037e5bc3f979c - 4.03% (19.4 MB)

[#012] sha256:e527fc33d608fd877b088c341665084e86668425d564a7550c2c20237edafc31 - 7.35% (35.3 MB)

[#013] sha256:6682f1df83e3c7ef5ae3a702cc2128271b0d6c1343e75ae864b27f1cf7fe157c - 0.0% (804 Bytes)

[#014] sha256:706bf837befb630a907ad2030422b44212b83e1cb2c530695677eb257ad34f02 - 54.84% (263 MB)

[#015] sha256:332eb41b0dc90382b4efc5b7d5321381a812aff8bfffa05ec1c400ee370c937c - 0.0% (4.05 KB)

[#016] sha256:8b951d802e45bd9ec420d4a7c299b20438e36b62fef92bde9e2f2476713e9272 - 0.0% (2.47 KB)


History
2026-11-23 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 'arm64' out/ 'trixie' '@1795392000'

2026-11-24 04:20:23 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-11-24 04:20:41 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:20:41 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-11-24 04:20:41 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-11-24 04:20:41 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-11-24 04:20:41 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:20:41 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:20:41 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-11-24 04:20:41 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-11-24 04:20:41 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.13

2026-11-24 04:20:41 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:20:41 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

2026-11-24 04:20:50 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-11-24 04:20:50 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:24:03 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; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; 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-11-24 04:24:03 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:24:03 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:24:03 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-11-24 04:24:03 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-11-24 04:24:03 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-11-24 04:24:03 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-11-24 04:24:03 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-11-24 04:24:03 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-11-24 05:46:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-7.q16-10-extra rsync ; apt-get dist-clean; mkdir -p /var/spool/cron/crontabs; echo '*/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data # buildkit

2026-11-24 05:49:34 UTC (buildkit.dockerfile.v0)

ENV PHP_MEMORY_LIMIT=512M

2026-11-24 05:49:34 UTC (buildkit.dockerfile.v0)

ENV PHP_UPLOAD_LIMIT=512M

2026-11-24 05:49:34 UTC (buildkit.dockerfile.v0)

ENV PHP_OPCACHE_MEMORY_CONSUMPTION=128

2026-11-24 05:49:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libevent-dev libfreetype6-dev libgmp-dev libicu-dev libjpeg-dev libldap2-dev liblz4-dev libmagickwand-dev libmemcached-dev libpng-dev libpq-dev libwebp-dev libxml2-dev libzip-dev ; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; docker-php-ext-configure ftp --with-ftp-ssl; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd gmp intl ldap pcntl pdo_mysql pdo_pgsql sysvsem zip ; pecl install APCu-5.1.28; pecl install igbinary-3.2.17RC1; pecl install imagick-3.8.1; pecl install --configureoptions 'enable-memcached-igbinary="yes"' memcached-3.4.0; pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' redis-6.3.0; docker-php-ext-enable apcu igbinary imagick memcached redis ; rm -r /tmp/pear; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean # buildkit

2026-11-24 05:49:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=8M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; { echo 'apc.serializer=igbinary'; echo 'session.serialize_handler=igbinary'; echo 'session.upload_progress.enabled=0'; } >> "${PHP_INI_DIR}/conf.d/docker-php-ext-igbinary.ini"; { echo 'memory_limit=${PHP_MEMORY_LIMIT}'; echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; } > "${PHP_INI_DIR}/conf.d/nextcloud.ini"; mkdir /var/www/data; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R www-data:root /var/www; chmod -R g=u /var/www # buildkit

2026-11-24 05:49:34 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2026-11-24 05:49:34 UTC (buildkit.dockerfile.v0)

ENV NEXTCLOUD_VERSION=35.0.3

2026-11-24 05:50:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; fetchDeps=" gnupg dirmngr "; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2"; curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; tar -xjf nextcloud.tar.bz2 -C /usr/src/; gpgconf --kill all; rm nextcloud.tar.bz2.asc nextcloud.tar.bz2; rm -rf "$GNUPGHOME" /usr/src/nextcloud/updater; mkdir -p /usr/src/nextcloud/data; mkdir -p /usr/src/nextcloud/custom_apps; chmod +x /usr/src/nextcloud/occ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; apt-get dist-clean # buildkit

2026-11-24 05:50:12 UTC (buildkit.dockerfile.v0)

COPY *.sh upgrade.exclude / # buildkit

2026-11-24 05:50:12 UTC (buildkit.dockerfile.v0)

COPY config/* /usr/src/nextcloud/config/ # buildkit

2026-11-24 05:50:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-11-24 05:50:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2026-11-24 16:27:44 UTC

Size

488 MB

Content Digest
Environment
GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

NEXTCLOUD_VERSION

35.0.3

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.13.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_MEMORY_LIMIT

512M

PHP_OPCACHE_MEMORY_CONSUMPTION

128

PHP_SHA256

607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

PHP_UPLOAD_LIMIT

512M

PHP_URL

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

PHP_VERSION

8.5.13


Layers

[#000] sha256:6d599ee149161123db04af161af351247dbcd557ec08f78d82de0c89b6844f6c - 6.58% (32.1 MB)

[#001] sha256:5f8f5ce7d31213d5f9c5607f76270fc6ef86556267bebb4755a23a5aebf877e8 - 0.0% (222 Bytes)

[#002] sha256:89e987991216317ea818c73d42c843dda577c5014fe08681bb0113a9eea7c58a - 21.44% (105 MB)

[#003] sha256:2f1fff38c69adcef57aee572a5bd36021c5f41099326c1e2c1543cf3a9ec95da - 0.0% (222 Bytes)

[#004] sha256:84ad608e6c90db37d658e79178c52bf34885fb838ce05098458edc5ee82da1e8 - 2.88% (14.1 MB)

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

[#006] sha256:f455dfa2af8bae82689d7ec7f75a41d46aad7157953b674db690acc1bec72ca6 - 3.03% (14.8 MB)

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

[#008] sha256:1108fa0fcfe43ae3a46bacdfd9c3f663c17212a9f41359f2a30e79ca8a0d9b80 - 0.0% (246 Bytes)

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

[#010] sha256:a0e62da1537e7aab564a169d083a25d498b0b99ccf3a29180bcb24dbcb96d83f - 0.0% (9.05 KB)

[#011] sha256:b015fef6a6a1b95b3de8b681e607dfacb84ee856010f9c07ce2da0bf69a70c8a - 4.46% (21.7 MB)

[#012] sha256:243e017f38fe84f1ad25dda43de6a3e20ff65ff0c703bd694655ab7dce2b0f55 - 7.6% (37 MB)

[#013] sha256:e4f5afb3a3e41c384b586daa98118ed3199e0ed5d165d0194c5daa846f667988 - 0.0% (806 Bytes)

[#014] sha256:20fc33bc58f32f0aa97da82be36572e3e18fdd811e22ae12c8c74e56cfda2176 - 54.01% (263 MB)

[#015] sha256:77e9243ba1914d38939e49de343287a981b6652b31bc13f60d2206b6ac265c17 - 0.0% (4.05 KB)

[#016] sha256:772b64f20a2fd334ae9fb036418a3011cdbf69251463dbbc0bbadee00d644cc2 - 0.0% (2.47 KB)


History
2026-11-23 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 'ppc64el' out/ 'trixie' '@1795392000'

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

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

2026-11-24 04:45: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-11-24 04:45:38 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-11-24 04:45: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-11-24 04:45:38 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:45:38 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:45:38 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-11-24 04:45:38 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-11-24 04:45:38 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.13

2026-11-24 04:45:38 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:45:38 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

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

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

2026-11-24 05:10:35 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; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; 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-11-24 05:10:36 UTC (buildkit.dockerfile.v0)

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

2026-11-24 05:10:36 UTC (buildkit.dockerfile.v0)

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

2026-11-24 05:10:36 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-11-24 05:10:37 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-11-24 05:10:37 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-11-24 05:10:37 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-11-24 05:10:37 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-11-24 05:10:37 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-11-24 16:21:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-7.q16-10-extra rsync ; apt-get dist-clean; mkdir -p /var/spool/cron/crontabs; echo '*/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data # buildkit

2026-11-24 16:26:37 UTC (buildkit.dockerfile.v0)

ENV PHP_MEMORY_LIMIT=512M

2026-11-24 16:26:37 UTC (buildkit.dockerfile.v0)

ENV PHP_UPLOAD_LIMIT=512M

2026-11-24 16:26:37 UTC (buildkit.dockerfile.v0)

ENV PHP_OPCACHE_MEMORY_CONSUMPTION=128

2026-11-24 16:26:37 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libevent-dev libfreetype6-dev libgmp-dev libicu-dev libjpeg-dev libldap2-dev liblz4-dev libmagickwand-dev libmemcached-dev libpng-dev libpq-dev libwebp-dev libxml2-dev libzip-dev ; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; docker-php-ext-configure ftp --with-ftp-ssl; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd gmp intl ldap pcntl pdo_mysql pdo_pgsql sysvsem zip ; pecl install APCu-5.1.28; pecl install igbinary-3.2.17RC1; pecl install imagick-3.8.1; pecl install --configureoptions 'enable-memcached-igbinary="yes"' memcached-3.4.0; pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' redis-6.3.0; docker-php-ext-enable apcu igbinary imagick memcached redis ; rm -r /tmp/pear; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean # buildkit

2026-11-24 16:26:37 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=8M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; { echo 'apc.serializer=igbinary'; echo 'session.serialize_handler=igbinary'; echo 'session.upload_progress.enabled=0'; } >> "${PHP_INI_DIR}/conf.d/docker-php-ext-igbinary.ini"; { echo 'memory_limit=${PHP_MEMORY_LIMIT}'; echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; } > "${PHP_INI_DIR}/conf.d/nextcloud.ini"; mkdir /var/www/data; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R www-data:root /var/www; chmod -R g=u /var/www # buildkit

2026-11-24 16:26:37 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2026-11-24 16:26:37 UTC (buildkit.dockerfile.v0)

ENV NEXTCLOUD_VERSION=35.0.3

2026-11-24 16:27:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; fetchDeps=" gnupg dirmngr "; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2"; curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; tar -xjf nextcloud.tar.bz2 -C /usr/src/; gpgconf --kill all; rm nextcloud.tar.bz2.asc nextcloud.tar.bz2; rm -rf "$GNUPGHOME" /usr/src/nextcloud/updater; mkdir -p /usr/src/nextcloud/data; mkdir -p /usr/src/nextcloud/custom_apps; chmod +x /usr/src/nextcloud/occ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; apt-get dist-clean # buildkit

2026-11-24 16:27:43 UTC (buildkit.dockerfile.v0)

COPY *.sh upgrade.exclude / # buildkit

2026-11-24 16:27:44 UTC (buildkit.dockerfile.v0)

COPY config/* /usr/src/nextcloud/config/ # buildkit

2026-11-24 16:27:44 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-11-24 16:27:44 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2026-11-09 13:17:16 UTC

Size

521 MB

Content Digest
Environment
GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

NEXTCLOUD_VERSION

35.0.2

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.12.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_MEMORY_LIMIT

512M

PHP_OPCACHE_MEMORY_CONSUMPTION

128

PHP_SHA256

08bc2eba2a588654ade1357174aa646b761556c862dda0678345ee29ed481209

PHP_UPLOAD_LIMIT

512M

PHP_URL

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

PHP_VERSION

8.5.12


Layers

[#000] sha256:4b8428ae1a4b0dfd18fb4aa2bf9a6a71d7217123155666c4225a7e1b9aa074af - 5.19% (27 MB)

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

[#002] sha256:381f462a32390761c89c1b87546bae3cfb5592c67f835bf1f95235509ed04c5e - 26.83% (140 MB)

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

[#004] sha256:fcab1195d9b37cc32f0b3d01dbdbf85b15e10a03f55862011a51151f404f6b01 - 2.69% (14 MB)

[#005] sha256:d90b6b6d0f1f0b94cb39f7ae510569c32bb58176cac0344e1588f6c23853e73b - 0.0% (491 Bytes)

[#006] sha256:ca31de0f3845557b12d9c40674b0d89abcd7034bf76c48df6e10901862dd8cf5 - 2.61% (13.6 MB)

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

[#008] sha256:7a013b65115a780081b83c9003263c32bd7b95529ae961d5ddf142afe27cf8d0 - 0.0% (248 Bytes)

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

[#010] sha256:040693ab4c9249bd50ab544cf9270d54ed8ca62870d58585300a295e8b6329cb - 0.0% (9.05 KB)

[#011] sha256:973cfe4d024187b03e66fc188b65c32bdea401451d503b6c16799a252ac83d97 - 3.67% (19.1 MB)

[#012] sha256:25080126a3627668820753db3119d540516335a73c0bc74491896541aa13454b - 8.43% (43.9 MB)

[#013] sha256:fa768c6fbd5cc43678403ec23be622167f734032b95630f89b30050771ba910e - 0.0% (808 Bytes)

[#014] sha256:f8ed66267126d7be1adc787d253ef190d25e9223c3688e6fe91e8bea65c4139e - 50.57% (263 MB)

[#015] sha256:e660660ead31d6d850c3bb1d4a75ccb45aec0f9964b7ffbbf30564032d0e8dde - 0.0% (4.05 KB)

[#016] sha256:cbb0c448d84e51076c1cf1c0e89743fc5f38c0e34d78f9fe1442275aec4e838c - 0.0% (2.48 KB)


History
2026-11-04 21:23:39 UTC (debuerreotype 0.17)

# debian.sh --arch 'riscv64' out/ 'trixie' '@1793827419'

2026-11-05 17:45:51 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-11-05 17:47:56 UTC (buildkit.dockerfile.v0)

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

2026-11-05 17:47:56 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-11-05 17:47:56 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-11-05 17:47:57 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-11-05 17:47:57 UTC (buildkit.dockerfile.v0)

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

2026-11-05 17:47:57 UTC (buildkit.dockerfile.v0)

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

2026-11-05 17:47:57 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-11-05 17:47:57 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-11-05 17:47:57 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.12

2026-11-05 17:47:57 UTC (buildkit.dockerfile.v0)

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

2026-11-05 17:47:57 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=08bc2eba2a588654ade1357174aa646b761556c862dda0678345ee29ed481209

2026-11-05 20:59:28 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-11-05 20:59:28 UTC (buildkit.dockerfile.v0)

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

2026-11-06 00:12:48 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; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; 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-11-06 00:12:48 UTC (buildkit.dockerfile.v0)

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

2026-11-06 00:12:49 UTC (buildkit.dockerfile.v0)

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

2026-11-06 00:12:49 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-11-06 00:12:49 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

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

STOPSIGNAL SIGQUIT

2026-11-06 00:12:49 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-11-06 00:12:49 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-11-09 12:36:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-7.q16-10-extra rsync ; apt-get dist-clean; mkdir -p /var/spool/cron/crontabs; echo '*/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data # buildkit

2026-11-09 13:12:09 UTC (buildkit.dockerfile.v0)

ENV PHP_MEMORY_LIMIT=512M

2026-11-09 13:12:09 UTC (buildkit.dockerfile.v0)

ENV PHP_UPLOAD_LIMIT=512M

2026-11-09 13:12:09 UTC (buildkit.dockerfile.v0)

ENV PHP_OPCACHE_MEMORY_CONSUMPTION=128

2026-11-09 13:12:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libevent-dev libfreetype6-dev libgmp-dev libicu-dev libjpeg-dev libldap2-dev liblz4-dev libmagickwand-dev libmemcached-dev libpng-dev libpq-dev libwebp-dev libxml2-dev libzip-dev ; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; docker-php-ext-configure ftp --with-ftp-ssl; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd gmp intl ldap pcntl pdo_mysql pdo_pgsql sysvsem zip ; pecl install APCu-5.1.28; pecl install igbinary-3.2.17RC1; pecl install imagick-3.8.1; pecl install --configureoptions 'enable-memcached-igbinary="yes"' memcached-3.4.0; pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' redis-6.3.0; docker-php-ext-enable apcu igbinary imagick memcached redis ; rm -r /tmp/pear; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean # buildkit

2026-11-09 13:12:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=8M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; { echo 'apc.serializer=igbinary'; echo 'session.serialize_handler=igbinary'; echo 'session.upload_progress.enabled=0'; } >> "${PHP_INI_DIR}/conf.d/docker-php-ext-igbinary.ini"; { echo 'memory_limit=${PHP_MEMORY_LIMIT}'; echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; } > "${PHP_INI_DIR}/conf.d/nextcloud.ini"; mkdir /var/www/data; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R www-data:root /var/www; chmod -R g=u /var/www # buildkit

2026-11-09 13:12:10 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2026-11-09 13:12:10 UTC (buildkit.dockerfile.v0)

ENV NEXTCLOUD_VERSION=35.0.2

2026-11-09 13:17:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; fetchDeps=" gnupg dirmngr "; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v35.0.2/nextcloud-35.0.2.tar.bz2"; curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v35.0.2/nextcloud-35.0.2.tar.bz2.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; tar -xjf nextcloud.tar.bz2 -C /usr/src/; gpgconf --kill all; rm nextcloud.tar.bz2.asc nextcloud.tar.bz2; rm -rf "$GNUPGHOME" /usr/src/nextcloud/updater; mkdir -p /usr/src/nextcloud/data; mkdir -p /usr/src/nextcloud/custom_apps; chmod +x /usr/src/nextcloud/occ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; apt-get dist-clean # buildkit

2026-11-09 13:17:16 UTC (buildkit.dockerfile.v0)

COPY *.sh upgrade.exclude / # buildkit

2026-11-09 13:17:16 UTC (buildkit.dockerfile.v0)

COPY config/* /usr/src/nextcloud/config/ # buildkit

2026-11-09 13:17:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-11-09 13:17:16 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2026-11-24 06:07:19 UTC

Size

464 MB

Content Digest
Environment
GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

NEXTCLOUD_VERSION

35.0.3

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.13.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_MEMORY_LIMIT

512M

PHP_OPCACHE_MEMORY_CONSUMPTION

128

PHP_SHA256

607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

PHP_UPLOAD_LIMIT

512M

PHP_URL

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

PHP_VERSION

8.5.13


Layers

[#000] sha256:91ebccdf019d96a72e787fff6138b9e04ff9a7ff70e743fc708f540300557922 - 6.15% (28.5 MB)

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

[#002] sha256:1abe10b798f52d575f19affeb15246c3caf3e86bb2aa5492972842df597cfebd - 19.04% (88.3 MB)

[#003] sha256:7c0fde7a72c979be6285246b12ed6242fbc2e49f60b30adc8e9fd06e3635708b - 0.0% (221 Bytes)

[#004] sha256:eabcdf72e063573afb10b706adb94962ab8613ed5cb88b4e08b332abd1b09e60 - 3.03% (14.1 MB)

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

[#006] sha256:0f684b606b67508e2bc7e8e9c2e03c193d79db7d2e3dd934fbcfa5d380923ec0 - 3.01% (14 MB)

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

[#008] sha256:d7c4506e5c49a0408f1db5f85f3b454c9a95ff05e91511ba3e79453512f8e30b - 0.0% (246 Bytes)

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

[#010] sha256:6d8b3972de73700521638a20d6267af06e5668cab0f533a7d499bbc89fd123ce - 0.0% (9.05 KB)

[#011] sha256:e3ccf442435b826c87b24d770785c69f114ab525d20b24c0840b3d9027331387 - 4.31% (20 MB)

[#012] sha256:215cce2d39368377c85620b10fb9010597d03082ac661610078bfd63d1864b86 - 7.67% (35.6 MB)

[#013] sha256:afa8604ed8cd58e55d8d4ba85549dd2cde4627df869c4823c8ee00b218ad06e5 - 0.0% (799 Bytes)

[#014] sha256:f0b9f612400808e2d99fa4ecaa50dde5d7d875ad6589ac2ea1d0dc082ab22857 - 56.79% (263 MB)

[#015] sha256:0186ca91f9aa717dd5b83c7478cccf49afd65a62cc383c0750fb7646a8510c97 - 0.0% (4.05 KB)

[#016] sha256:d001489345fa2abda12cc67e01d3cd8b0c53b66d78aeaae7bce405d4feeee0c3 - 0.0% (2.47 KB)


History
2026-11-23 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 's390x' out/ 'trixie' '@1795392000'

2026-11-24 04:16:22 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-11-24 04:16:36 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:16:36 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-11-24 04:16:36 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2026-11-24 04:16:37 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-11-24 04:16:37 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:16:37 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:16:37 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2026-11-24 04:16:37 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5

2026-11-24 04:16:37 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.5.13

2026-11-24 04:16:37 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:16:37 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=607602acaf0c3061818e9916ec44a058e8b3d43959a83862b9cd3ec7bf5b785f

2026-11-24 04:23:00 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-11-24 04:23:00 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:26:08 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; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; 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-11-24 04:26:08 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:26:08 UTC (buildkit.dockerfile.v0)

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

2026-11-24 04:26:08 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2026-11-24 04:26:08 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2026-11-24 04:26:09 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-11-24 04:26:09 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2026-11-24 04:26:09 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2026-11-24 04:26:09 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2026-11-24 06:04:29 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-7.q16-10-extra rsync ; apt-get dist-clean; mkdir -p /var/spool/cron/crontabs; echo '*/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data # buildkit

2026-11-24 06:06:47 UTC (buildkit.dockerfile.v0)

ENV PHP_MEMORY_LIMIT=512M

2026-11-24 06:06:47 UTC (buildkit.dockerfile.v0)

ENV PHP_UPLOAD_LIMIT=512M

2026-11-24 06:06:47 UTC (buildkit.dockerfile.v0)

ENV PHP_OPCACHE_MEMORY_CONSUMPTION=128

2026-11-24 06:06:47 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libevent-dev libfreetype6-dev libgmp-dev libicu-dev libjpeg-dev libldap2-dev liblz4-dev libmagickwand-dev libmemcached-dev libpng-dev libpq-dev libwebp-dev libxml2-dev libzip-dev ; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; docker-php-ext-configure ftp --with-ftp-ssl; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; docker-php-ext-install -j "$(nproc)" bcmath exif ftp gd gmp intl ldap pcntl pdo_mysql pdo_pgsql sysvsem zip ; pecl install APCu-5.1.28; pecl install igbinary-3.2.17RC1; pecl install imagick-3.8.1; pecl install --configureoptions 'enable-memcached-igbinary="yes"' memcached-3.4.0; pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' redis-6.3.0; docker-php-ext-enable apcu igbinary imagick memcached redis ; rm -r /tmp/pear; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean # buildkit

2026-11-24 06:06:47 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=8M'; } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; { echo 'apc.serializer=igbinary'; echo 'session.serialize_handler=igbinary'; echo 'session.upload_progress.enabled=0'; } >> "${PHP_INI_DIR}/conf.d/docker-php-ext-igbinary.ini"; { echo 'memory_limit=${PHP_MEMORY_LIMIT}'; echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; } > "${PHP_INI_DIR}/conf.d/nextcloud.ini"; mkdir /var/www/data; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R www-data:root /var/www; chmod -R g=u /var/www # buildkit

2026-11-24 06:06:47 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2026-11-24 06:06:47 UTC (buildkit.dockerfile.v0)

ENV NEXTCLOUD_VERSION=35.0.3

2026-11-24 06:07:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; fetchDeps=" gnupg dirmngr "; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2"; curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v35.0.3/nextcloud-35.0.3.tar.bz2.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; tar -xjf nextcloud.tar.bz2 -C /usr/src/; gpgconf --kill all; rm nextcloud.tar.bz2.asc nextcloud.tar.bz2; rm -rf "$GNUPGHOME" /usr/src/nextcloud/updater; mkdir -p /usr/src/nextcloud/data; mkdir -p /usr/src/nextcloud/custom_apps; chmod +x /usr/src/nextcloud/occ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; apt-get dist-clean # buildkit

2026-11-24 06:07:19 UTC (buildkit.dockerfile.v0)

COPY *.sh upgrade.exclude / # buildkit

2026-11-24 06:07:19 UTC (buildkit.dockerfile.v0)

COPY config/* /usr/src/nextcloud/config/ # buildkit

2026-11-24 06:07:19 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-11-24 06:07:19 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.

Delete