nextcloud (sha256:ae6f90826466a83e19c7b6bf4589df464c2cd8ae2735914975741bdb8b4983d0)

Published 2026-08-16 20:05:56 +02:00 by Dutch in Dutch/nextcloud-image

Installation

docker pull git.dutches.de/dutch/nextcloud@sha256:ae6f90826466a83e19c7b6bf4589df464c2cd8ae2735914975741bdb8b4983d0
sha256:ae6f90826466a83e19c7b6bf4589df464c2cd8ae2735914975741bdb8b4983d0

About this package

Nextcloud with Apache on Alpine Linux

Image layers

ADD alpine-minirootfs-3.24.1-aarch64.tar.gz / # buildkit
CMD ["/bin/sh"]
LABEL name="Nextcloud" license="MIT" vendor="dutches.de" org.opencontainers.image.version="32.0.8" org.opencontainers.image.name="Nextcloud" org.opencontainers.image.description="Nextcloud with Apache on Alpine Linux" org.opencontainers.image.source="https://git.dutches.de/Dutch/nextcloud/src/branch/main/Containerfile" org.opencontainers.image.url="https://git.dutches.de/Dutch/nextcloud" org.opencontainers.image.license="MIT" org.opencontainers.image.authors="dutch@dutches.de" org.opencontainers.image.vendor="dutches.de"
ENV TZ=UTC
ENV STARTUP_OCC_MAINTENANCE=false
ARG NEXTCLOUD_VERSION
|1 NEXTCLOUD_VERSION=32.0.14 /bin/sh -c apk add --no-cache apache2 apache2-utils ca-certificates php83 php83-apache2 php83-pdo_mysql php83-mysqli php83-pdo_pgsql php83-pgsql php83-sqlite3 php83-pdo_sqlite php83-gd php83-intl php83-mbstring php83-opcache php83-openssl php83-zip php83-xml php83-curl php83-fileinfo php83-ctype php83-session php83-dom php83-xmlreader php83-posix php83-bcmath php83-exif php83-gmp php83-iconv php83-simplexml php83-sodium php83-xmlwriter php83-pecl-imagick php83-pecl-apcu php83-pecl-redis php83-sysvsem php83-pcntl librsvg mariadb-client mariadb-connector-c postgresql-client wget tar
|1 NEXTCLOUD_VERSION=32.0.14 /bin/sh -c mkdir -p /var/www/html && wget -q https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2 -O /tmp/nextcloud.tar.bz2 && tar -xjf /tmp/nextcloud.tar.bz2 -C /var/www/html --strip-components=1 --no-same-owner && rm /tmp/nextcloud.tar.bz2 && chown -R apache:apache /var/www/html && mkdir -p /usr/local/share/nextcloud && cp -r /var/www/html/apps /usr/local/share/nextcloud/apps-backup && chown -R apache:apache /usr/local/share/nextcloud/apps-backup
|1 NEXTCLOUD_VERSION=32.0.14 /bin/sh -c sed -i 's|^Listen 80$|Listen 8080|' /etc/apache2/httpd.conf && sed -i 's|^#LoadModule rewrite_module|LoadModule rewrite_module|' /etc/apache2/httpd.conf && sed -i 's|^#LoadModule headers_module|LoadModule headers_module|' /etc/apache2/httpd.conf && sed -i 's|^ErrorLog .*|ErrorLog /var/log/nextcloud/apache-error.log|' /etc/apache2/httpd.conf && sed -i '/^ServerName /d' /etc/apache2/httpd.conf && echo 'ServerName localhost' >> /etc/apache2/httpd.conf && echo 'ServerTokens Prod' >> /etc/apache2/httpd.conf && echo 'ServerSignature Off' >> /etc/apache2/httpd.conf && echo 'TraceEnable Off' >> /etc/apache2/httpd.conf && sed -i 's|PidFile "/run/apache2/httpd.pid"|PidFile "/tmp/apache2/run/httpd.pid"|' /etc/apache2/conf.d/mpm.conf && rm -f /etc/apache2/conf.d/default.conf && printf '<VirtualHost *:8080>\n DocumentRoot /var/www/html\n <Directory /var/www/html>\n Options FollowSymLinks\n AllowOverride All\n Require all granted\n </Directory>\n <Directory /var/www/html/data>\n Require all denied\n </Directory>\n <FilesMatch "(^\\.ht|^\\.git|^\\.env|config\\.php$|autoconfig\\.php$)">\n Require all denied\n </FilesMatch>\n RedirectMatch 301 ^/favicon.ico$ /core/img/favicon.ico\n Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"\n Header always set X-Content-Type-Options "nosniff"\n Header always set X-Robots-Tag "noindex, nofollow"\n Header always set X-Frame-Options "DENY"\n Header always set Referrer-Policy "strict-origin-when-cross-origin"\n ErrorLog /var/log/nextcloud/apache-error.log\n CustomLog /var/log/nextcloud/apache-access.log combined\n LogLevel warn\n</VirtualHost>\n' > /etc/apache2/conf.d/nextcloud.conf && mkdir -p /tmp/apache2/run /tmp/apache2/logs && mkdir -p /var/www/html/data /var/www/html/custom_apps /var/log/nextcloud && chown -R apache:apache /var/www/html /var/log/nextcloud
COPY multi:10ac754c4196152130d254e41aa135a41de064c3234654bce46c9a4fd39e68a9 in /usr/local/share/nextcloud/config/
COPY file:cc1f6dffcb24e39889d8d8ff2d01969c0253ba60548848e16be6b267a8308c02 in /etc/php83/conf.d/zzz-nextcloud.ini
COPY file:95ddcfa589549ffda9012d040b83fce3cc41af8deddf8f3e0746708c4411e21c in /entrypoint.sh
|1 NEXTCLOUD_VERSION=32.0.14 /bin/sh -c chmod +x /entrypoint.sh
EXPOSE 8080
VOLUME ["/var/www/html/data", "/var/www/html/config", "/var/www/html/apps", "/var/www/html/custom_apps", "/var/log/nextcloud"]
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 CMD wget -q --spider http://localhost:8080/status.php || exit 1
ENTRYPOINT ["/entrypoint.sh"]
CMD ["httpd", "-D", "FOREGROUND"]

Labels

Key Value
io.buildah.version 1.43.1
license MIT
name Nextcloud
org.opencontainers.image.authors dutch@dutches.de
org.opencontainers.image.description Nextcloud with Apache on Alpine Linux
org.opencontainers.image.license MIT
org.opencontainers.image.name Nextcloud
org.opencontainers.image.source https://git.dutches.de/Dutch/nextcloud/src/branch/main/Containerfile
org.opencontainers.image.url https://git.dutches.de/Dutch/nextcloud
org.opencontainers.image.vendor dutches.de
org.opencontainers.image.version 32.0.8
vendor dutches.de
Details
Container
2026-08-16 20:05:56 +02:00
0
OCI / Docker
linux/arm64/v8
dutch@dutches.de
443 MiB
Versions (3) View all
edge 2026-08-16
32.0.13 2026-07-30
32.0.8 2026-04-27