2025-07-28 16:24:37 UTC
96 MB
AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.4.10.tar.xz.asc
PHP_CFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA25614983a9ef8800e6bc2d920739fd386054402f7976ca9cd7f711509496f0d2632
PHP_URLhttps://www.php.net/distributions/php-8.4.10.tar.xz
PHP_VERSION8.4.10
[#000] sha256:9824c27679d3b27c5e1cb00a73adb6f4f8d556994111c12db3c5d61a0c843df8 - 3.77% (3.62 MB)
[#001] sha256:e0d5ea44fc3540b495e1954393581aaa3fe7f6312cb5f55d0b5e68fab61cfc3e - 3.44% (3.3 MB)
[#002] sha256:27db5eba72b89f575faceec61e7bad70ce74f2d78cf366877ccd37201255c705 - 0.0% (932 Bytes)
[#003] sha256:79388da623441b69b1e5828a1470765da9344447b68e1044a86a66c5ea08b7f8 - 0.0% (215 Bytes)
[#004] sha256:1ea9d17a338ecdaed8e94f75f606eb05ff06b34a53d8d3e3d860edf79e238b82 - 13.56% (13 MB)
[#005] sha256:32439019d6e5e3c4b674173a276e9025b638dbacaddaa8e5d9704094a578c172 - 0.0% (487 Bytes)
[#006] sha256:8e728514d0343f06ad44e0e000af91c21586aa1ca16940155d4427449b47e387 - 15.6% (15 MB)
[#007] sha256:1595be845b3394707dd2cda84adfaaca00f42d7224e16e56779bea71e250729b - 0.0% (2.39 KB)
[#008] sha256:0952a35ccd75b19f774120b13bed16300a31886425b5ef5c97a4a6a0b2f0f979 - 0.02% (19.5 KB)
[#009] sha256:a43501d2143be67fbb8f8437dc4c1dc2f12842a20bc252499be5a32db3549bc9 - 0.02% (19.5 KB)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:18e7f4781082a44d77337baf5d54b84ad4e4a52d49a2b36da0d1de910770c1b6 - 0.01% (8.98 KB)
[#012] sha256:784a66f8d3285ee7111c094288a8d2559cfd6b2152c774f9dab548d22c9aa651 - 14.89% (14.3 MB)
[#013] sha256:548337cbd01caedc6f7059dd9617c8b3a7467d9ec0f81c496daaea58c1edc277 - 20.34% (19.5 MB)
[#014] sha256:25d52ccb9f01e7e3a3d4770f2ea3a21343f50b3bb5cc815f59291c12b410d6e2 - 0.0% (145 Bytes)
[#015] sha256:183e4a1dc35b9477b39834554a2dbd7645de1d079c20d2794eae0423ea4447e9 - 28.34% (27.2 MB)
[#016] sha256:9c9289aad58cd52ef17a01551c46d18fe6ae2cfa41f74ad3077d80f4f0bf420e - 0.01% (7.09 KB)
[#017] sha256:66801c139cf062bcf204426b15dc187e934c61412c384ab10bf63c415b56d3d6 - 0.0% (412 Bytes)
[#018] sha256:b78297f55437edbd75fcc3d00acfd0899cfa3101197eec7adc5574a1fb29c82d - 0.0% (542 Bytes)
[#019] sha256:1f0d0bfd5276127b7469898f86828ebafad20931e590aa791baabc46f18e099e - 0.0% (1.08 KB)
ADD alpine-minirootfs-3.22.1-x86_64.tar.gz / # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2025-07-03 14:40:24 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
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.4.10
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.4.10.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.10.tar.xz.asc
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=14983a9ef8800e6bc2d920739fd386054402f7976ca9cd7f711509496f0d2632
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; if [ -n "$PHP_ASC_URL" ]; then 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"; fi; apk del --no-network .fetch-deps # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./configure --build="$gnuArch" --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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable opcache # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { 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'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | 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
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2025-07-28 16:24:16 UTC (buildkit.dockerfile.v0)ARG AIO_GIT_URL=https://github.com/nextcloud-releases/all-in-one.git
2025-07-28 16:24:16 UTC (buildkit.dockerfile.v0)ARG AIO_GIT_BRANCH=main
2025-07-28 16:24:16 UTC (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
2025-07-28 16:24:16 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2025-07-28 16:24:16 UTC (buildkit.dockerfile.v0)EXPOSE map[8443/tcp:{}]
2025-07-28 16:24:16 UTC (buildkit.dockerfile.v0)COPY /usr/bin/caddy /usr/bin/caddy # buildkit
2025-07-28 16:24:17 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin/docker /usr/local/bin/docker # buildkit
2025-07-28 16:24:17 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/docker-aio
2025-07-28 16:24:37 UTC (buildkit.dockerfile.v0)RUN |2 AIO_GIT_URL=https://github.com/nextcloud-releases/all-in-one.git AIO_GIT_BRANCH=main /bin/sh -c set -ex; apk upgrade --no-cache -a; apk add --no-cache shadow; groupmod -g 33 www-data; usermod -u 33 -g 33 www-data; apk add --no-cache util-linux-misc ca-certificates wget bash apache2 apache2-proxy apache2-ssl supervisor openssl sudo netcat-openbsd curl grep; apk add --no-cache --virtual .build-deps autoconf build-base; pecl install APCu-5.1.24; docker-php-ext-enable apcu; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache --virtual .nextcloud-aio-rundeps $runDeps; apk del .build-deps; grep -q '^pm = dynamic' /usr/local/etc/php-fpm.d/www.conf; sed -i 's/^pm = dynamic/pm = ondemand/' /usr/local/etc/php-fpm.d/www.conf; sed -i 's/^pm.max_children =.*/pm.max_children = 80/' /usr/local/etc/php-fpm.d/www.conf; sed -i 's|access.log = /proc/self/fd/2|access.log = /proc/self/fd/1|' /usr/local/etc/php-fpm.d/docker.conf; grep -q ';listen.allowed_clients' /usr/local/etc/php-fpm.d/www.conf; sed -i 's|;listen.allowed_clients.*|listen.allowed_clients = 127.0.0.1,::1|' /usr/local/etc/php-fpm.d/www.conf; apk add --no-cache git; wget https://getcomposer.org/installer -O - | php -- --install-dir=/usr/local/bin --filename=composer; chmod +x /usr/local/bin/composer; cd /var/www/docker-aio; git clone "$AIO_GIT_URL" --depth 1 --single-branch --branch "$AIO_GIT_BRANCH" .; find ./ -maxdepth 1 -mindepth 1 -not -path ./php -not -path ./community-containers -exec rm -r {} \; ; rm -r ./php/tests; chown www-data:www-data -R /var/www/docker-aio; cd php; sudo -u www-data composer install --no-dev; sudo -u www-data composer clear-cache; cd ..; rm -f /usr/local/bin/composer; chmod -R 770 /var/www/docker-aio; chown -R www-data:www-data /var/www; rm -r php/data; rm -r php/session; mkdir -p /etc/apache2/certs; cd /etc/apache2/certs; openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj "/C=DE/ST=BE/L=Local/O=Dev/CN=nextcloud.local" -keyout /etc/apache2/certs/ssl.key -out /etc/apache2/certs/ssl.crt; sed -i -e '/^Listen /d' -e 's/^LogLevel .*/LogLevel error/' -e 's|^ErrorLog .*|ErrorLog /proc/self/fd/2|' -e 's/User apache/User www-data/g' -e 's/Group apache/Group www-data/g' -e 's/^#\(LoadModule .*mod_rewrite.so\)/\1/' -e 's/^#\(LoadModule .*mod_headers.so\)/\1/' -e 's/^#\(LoadModule .*mod_env.so\)/\1/' -e 's/^#\(LoadModule .*mod_mime.so\)/\1/' -e 's/^#\(LoadModule .*mod_dir.so\)/\1/' -e 's/^#\(LoadModule .*mod_authz_core.so\)/\1/' -e 's/^#\(LoadModule .*mod_mpm_event.so\)/\1/' -e 's/\(LoadModule .*mod_mpm_worker.so\)/#\1/' -e 's/\(LoadModule .*mod_mpm_prefork.so\)/#\1/' -e 's/\(ScriptAlias \)/#\1/' /etc/apache2/httpd.conf; mkdir -p /etc/apache2/logs; rm /etc/apache2/conf.d/ssl.conf; echo "ServerName localhost" | tee -a /etc/apache2/httpd.conf; grep -q '^LoadModule lbmethod_heartbeat_module' /etc/apache2/conf.d/proxy.conf; sed -i 's|^LoadModule lbmethod_heartbeat_module.*|#LoadModule lbmethod_heartbeat_module|' /etc/apache2/conf.d/proxy.conf; echo "SSLSessionCache nonenotnull" | tee -a /etc/apache2/httpd.conf; echo "LoadModule ssl_module modules/mod_ssl.so" | tee -a /etc/apache2/httpd.conf; echo "LoadModule socache_shmcb_module modules/mod_socache_shmcb.so" | tee -a /etc/apache2/httpd.conf; echo "Include /etc/apache2/sites-available/mastercontainer.conf" | tee -a /etc/apache2/httpd.conf; rm -f /etc/apache2/conf.d/default.conf /etc/apache2/conf.d/userdir.conf /etc/apache2/conf.d/info.conf; rm -rf /var/www/localhost/cgi-bin/; mkdir /var/log/supervisord; mkdir /var/run/supervisord; # buildkit
2025-07-28 16:24:37 UTC (buildkit.dockerfile.v0)COPY --chmod=775 *.sh / # buildkit
2025-07-28 16:24:37 UTC (buildkit.dockerfile.v0)COPY --chmod=664 Caddyfile /Caddyfile # buildkit
2025-07-28 16:24:37 UTC (buildkit.dockerfile.v0)COPY --chmod=664 supervisord.conf /supervisord.conf # buildkit
2025-07-28 16:24:37 UTC (buildkit.dockerfile.v0)COPY mastercontainer.conf /etc/apache2/sites-available/mastercontainer.conf # buildkit
2025-07-28 16:24:37 UTC (buildkit.dockerfile.v0)LABEL org.label-schema.vendor=Nextcloud
2025-07-28 16:24:37 UTC (buildkit.dockerfile.v0)USER root
2025-07-28 16:24:37 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/start.sh"]
2025-07-28 16:24:37 UTC (buildkit.dockerfile.v0)HEALTHCHECK &{["CMD-SHELL" "/healthcheck.sh"] "0s" "0s" "0s" "0s" '\x00'}
2025-07-28 16:24:56 UTC
94.2 MB
AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.4.10.tar.xz.asc
PHP_CFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -pie
PHP_SHA25614983a9ef8800e6bc2d920739fd386054402f7976ca9cd7f711509496f0d2632
PHP_URLhttps://www.php.net/distributions/php-8.4.10.tar.xz
PHP_VERSION8.4.10
[#000] sha256:6e174226ea690ced550e5641249a412cdbefd2d09871f3e64ab52137a54ba606 - 4.18% (3.94 MB)
[#001] sha256:063a6654a80aeb06cb5b7fd75a7a71e46b4620c3fa8c5cba36984cfe5415e515 - 3.5% (3.29 MB)
[#002] sha256:cd4acf0852a971fbb121c6e937a56b6f415cd8579479d9c8c452b451de3e7968 - 0.0% (934 Bytes)
[#003] sha256:b5dfd870027cd885b914853730f46ac91598d65915ac186aca46c076553e8cba - 0.0% (214 Bytes)
[#004] sha256:858e6296a300143e2fe65b618ddea0e07c6b6221ea04381fd12ec8e887fe6ac1 - 13.81% (13 MB)
[#005] sha256:0e3d8fc9c2231f8e1fdcf1798e56f67d269fa6d784aa6c14fc9586a1ec360804 - 0.0% (490 Bytes)
[#006] sha256:51ff1a31a4e9e30284598a51fd6e6d97199807b8708eb68a7e66fbc3f3879570 - 15.52% (14.6 MB)
[#007] sha256:8f7184c22789060f0bab9d4e1f2a2783ebacea77f065d99be2ec9fb0b3bde487 - 0.0% (2.39 KB)
[#008] sha256:dc98c6cd8967ed3b9f7e451c51a77dcd4cb9f7beb43fb41367aa9d890f357ca9 - 0.02% (19.3 KB)
[#009] sha256:c34adcda294572505dc17933049fb5189813098c89dc1276eb8c616cc0e5b690 - 0.02% (19.3 KB)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:cb1e2a8bad747701dcb55482c4bbf8d955cc7bb7d421949854240e2d6a85d893 - 0.01% (8.98 KB)
[#012] sha256:c03ccc7bfbc5e21f5db859fe37d395dffde8b6a9137b3298fed7ffc4ce3513bf - 13.97% (13.2 MB)
[#013] sha256:2dabc28071f2defe98abefff5195dfedc94c192aa17612547c38e9e7806b9c35 - 19.5% (18.4 MB)
[#014] sha256:ce8bc94a18dccde4481c5934bfc8d15ff3ea779fdb2837e1608f34bf1bd5d490 - 0.0% (144 Bytes)
[#015] sha256:90602622b7bf64e554ac4c971e9137484d8746efec0fdc5153d9c16a248fb1e0 - 29.45% (27.8 MB)
[#016] sha256:67e3739bb895288f1f40e39a9a4b4bbf2660c3b7d27fb28babd721c8c3bb04e0 - 0.01% (7.1 KB)
[#017] sha256:80c42bdffd69a84ad2a6b66d658ca9c1b88a2865a0cb3020c7ca1dcce8ac6e8f - 0.0% (411 Bytes)
[#018] sha256:394939922e4e3075529aafc1ba80a92351b777b8105fb6dbf26df828ab77323b - 0.0% (542 Bytes)
[#019] sha256:0d3932ec696658c5bec5bcd6fb8445ff1f47af8c2c71a5b07428aa83723147c6 - 0.0% (1.08 KB)
ADD alpine-minirootfs-3.22.1-aarch64.tar.gz / # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2025-07-03 14:40:24 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
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.4.10
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.4.10.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.10.tar.xz.asc
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=14983a9ef8800e6bc2d920739fd386054402f7976ca9cd7f711509496f0d2632
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; if [ -n "$PHP_ASC_URL" ]; then 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"; fi; apk del --no-network .fetch-deps # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./configure --build="$gnuArch" --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=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear --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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable opcache # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { 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'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | 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
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2025-07-03 14:40:24 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2025-07-28 16:24:33 UTC (buildkit.dockerfile.v0)ARG AIO_GIT_URL=https://github.com/nextcloud-releases/all-in-one.git
2025-07-28 16:24:33 UTC (buildkit.dockerfile.v0)ARG AIO_GIT_BRANCH=main
2025-07-28 16:24:33 UTC (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
2025-07-28 16:24:33 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2025-07-28 16:24:33 UTC (buildkit.dockerfile.v0)EXPOSE map[8443/tcp:{}]
2025-07-28 16:24:33 UTC (buildkit.dockerfile.v0)COPY /usr/bin/caddy /usr/bin/caddy # buildkit
2025-07-28 16:24:33 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin/docker /usr/local/bin/docker # buildkit
2025-07-28 16:24:33 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/docker-aio
2025-07-28 16:24:56 UTC (buildkit.dockerfile.v0)RUN |2 AIO_GIT_URL=https://github.com/nextcloud-releases/all-in-one.git AIO_GIT_BRANCH=main /bin/sh -c set -ex; apk upgrade --no-cache -a; apk add --no-cache shadow; groupmod -g 33 www-data; usermod -u 33 -g 33 www-data; apk add --no-cache util-linux-misc ca-certificates wget bash apache2 apache2-proxy apache2-ssl supervisor openssl sudo netcat-openbsd curl grep; apk add --no-cache --virtual .build-deps autoconf build-base; pecl install APCu-5.1.24; docker-php-ext-enable apcu; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache --virtual .nextcloud-aio-rundeps $runDeps; apk del .build-deps; grep -q '^pm = dynamic' /usr/local/etc/php-fpm.d/www.conf; sed -i 's/^pm = dynamic/pm = ondemand/' /usr/local/etc/php-fpm.d/www.conf; sed -i 's/^pm.max_children =.*/pm.max_children = 80/' /usr/local/etc/php-fpm.d/www.conf; sed -i 's|access.log = /proc/self/fd/2|access.log = /proc/self/fd/1|' /usr/local/etc/php-fpm.d/docker.conf; grep -q ';listen.allowed_clients' /usr/local/etc/php-fpm.d/www.conf; sed -i 's|;listen.allowed_clients.*|listen.allowed_clients = 127.0.0.1,::1|' /usr/local/etc/php-fpm.d/www.conf; apk add --no-cache git; wget https://getcomposer.org/installer -O - | php -- --install-dir=/usr/local/bin --filename=composer; chmod +x /usr/local/bin/composer; cd /var/www/docker-aio; git clone "$AIO_GIT_URL" --depth 1 --single-branch --branch "$AIO_GIT_BRANCH" .; find ./ -maxdepth 1 -mindepth 1 -not -path ./php -not -path ./community-containers -exec rm -r {} \; ; rm -r ./php/tests; chown www-data:www-data -R /var/www/docker-aio; cd php; sudo -u www-data composer install --no-dev; sudo -u www-data composer clear-cache; cd ..; rm -f /usr/local/bin/composer; chmod -R 770 /var/www/docker-aio; chown -R www-data:www-data /var/www; rm -r php/data; rm -r php/session; mkdir -p /etc/apache2/certs; cd /etc/apache2/certs; openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj "/C=DE/ST=BE/L=Local/O=Dev/CN=nextcloud.local" -keyout /etc/apache2/certs/ssl.key -out /etc/apache2/certs/ssl.crt; sed -i -e '/^Listen /d' -e 's/^LogLevel .*/LogLevel error/' -e 's|^ErrorLog .*|ErrorLog /proc/self/fd/2|' -e 's/User apache/User www-data/g' -e 's/Group apache/Group www-data/g' -e 's/^#\(LoadModule .*mod_rewrite.so\)/\1/' -e 's/^#\(LoadModule .*mod_headers.so\)/\1/' -e 's/^#\(LoadModule .*mod_env.so\)/\1/' -e 's/^#\(LoadModule .*mod_mime.so\)/\1/' -e 's/^#\(LoadModule .*mod_dir.so\)/\1/' -e 's/^#\(LoadModule .*mod_authz_core.so\)/\1/' -e 's/^#\(LoadModule .*mod_mpm_event.so\)/\1/' -e 's/\(LoadModule .*mod_mpm_worker.so\)/#\1/' -e 's/\(LoadModule .*mod_mpm_prefork.so\)/#\1/' -e 's/\(ScriptAlias \)/#\1/' /etc/apache2/httpd.conf; mkdir -p /etc/apache2/logs; rm /etc/apache2/conf.d/ssl.conf; echo "ServerName localhost" | tee -a /etc/apache2/httpd.conf; grep -q '^LoadModule lbmethod_heartbeat_module' /etc/apache2/conf.d/proxy.conf; sed -i 's|^LoadModule lbmethod_heartbeat_module.*|#LoadModule lbmethod_heartbeat_module|' /etc/apache2/conf.d/proxy.conf; echo "SSLSessionCache nonenotnull" | tee -a /etc/apache2/httpd.conf; echo "LoadModule ssl_module modules/mod_ssl.so" | tee -a /etc/apache2/httpd.conf; echo "LoadModule socache_shmcb_module modules/mod_socache_shmcb.so" | tee -a /etc/apache2/httpd.conf; echo "Include /etc/apache2/sites-available/mastercontainer.conf" | tee -a /etc/apache2/httpd.conf; rm -f /etc/apache2/conf.d/default.conf /etc/apache2/conf.d/userdir.conf /etc/apache2/conf.d/info.conf; rm -rf /var/www/localhost/cgi-bin/; mkdir /var/log/supervisord; mkdir /var/run/supervisord; # buildkit
2025-07-28 16:24:56 UTC (buildkit.dockerfile.v0)COPY --chmod=775 *.sh / # buildkit
2025-07-28 16:24:56 UTC (buildkit.dockerfile.v0)COPY --chmod=664 Caddyfile /Caddyfile # buildkit
2025-07-28 16:24:56 UTC (buildkit.dockerfile.v0)COPY --chmod=664 supervisord.conf /supervisord.conf # buildkit
2025-07-28 16:24:56 UTC (buildkit.dockerfile.v0)COPY mastercontainer.conf /etc/apache2/sites-available/mastercontainer.conf # buildkit
2025-07-28 16:24:56 UTC (buildkit.dockerfile.v0)LABEL org.label-schema.vendor=Nextcloud
2025-07-28 16:24:56 UTC (buildkit.dockerfile.v0)USER root
2025-07-28 16:24:56 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/start.sh"]
2025-07-28 16:24:56 UTC (buildkit.dockerfile.v0)HEALTHCHECK &{["CMD-SHELL" "/healthcheck.sh"] "0s" "0s" "0s" "0s" '\x00'}
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.