cache/lscr.io/linuxserver/nextcloud (32.0.3)

Published 2026-03-25 15:11:54 +01:00 by balki

Installation

docker pull forgejo.balki.cloud/balki/cache/lscr.io/linuxserver/nextcloud:32.0.3
sha256:fb151a1138033253bb4f638a357ec764763513b30341d5514bb3eb11c55b66df

About this package

[Nextcloud](https://nextcloud.com/) gives you access to all your files wherever you are. Where are your photos and documents? With Nextcloud you pick a server of your choice, at home, in a data center or at a provider. And that is where your files will be. Nextcloud runs on that server, protecting your data and giving you access from your desktop or mobile devices. Through Nextcloud you also access, sync and share your existing data on that FTP drive at the office, a Dropbox or a NAS you have at home.

Image layers

COPY /root-out/ / # buildkit
ARG BUILD_DATE=2025-12-13T13:39:56+00:00
ARG VERSION=c210e9fe-ls18
ARG MODS_VERSION=v3
ARG PKG_INST_VERSION=v1
ARG LSIOWN_VERSION=v1
ARG WITHCONTENV_VERSION=v1
LABEL build_version=Linuxserver.io version:- c210e9fe-ls18 Build-date:- 2025-12-13T13:39:56+00:00
LABEL maintainer=TheLamer
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit
ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |6 BUILD_DATE=2025-12-13T13:39:56+00:00 VERSION=c210e9fe-ls18 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache alpine-release bash ca-certificates catatonit coreutils curl findutils jq netcat-openbsd procps-ng shadow tzdata && echo "**** create abc user and make our folders ****" && groupmod -g 1000 users && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit
COPY root/ / # buildkit
ENTRYPOINT ["/init"]
ARG BUILD_DATE=2026-01-01T19:00:01+00:00
ARG VERSION=1.28.0-r3_8.4.16-r0-ls29
LABEL build_version=Linuxserver.io version:- 1.28.0-r3_8.4.16-r0-ls29 Build-date:- 2026-01-01T19:00:01+00:00
LABEL maintainer=nemchik
ENV PHP_INI_SCAN_DIR=:/config/php
RUN |2 BUILD_DATE=2026-01-01T19:00:01+00:00 VERSION=1.28.0-r3_8.4.16-r0-ls29 /bin/sh -c echo "**** install build packages ****" && apk add --no-cache apache2-utils git logrotate nano nginx openssl php84 php84-ctype php84-curl php84-fileinfo php84-fpm php84-iconv php84-json php84-mbstring php84-openssl php84-phar php84-session php84-simplexml php84-xml php84-xmlwriter php84-zip php84-zlib && echo "**** configure nginx ****" && echo 'fastcgi_param HTTP_PROXY ""; # https://httpoxy.org/' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param PATH_INFO $fastcgi_path_info; # http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_split_path_info' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # https://www.nginx.com/resources/wiki/start/topics/examples/phpfcgi/#connecting-nginx-to-php-fpm' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param SERVER_NAME $host; # Send HTTP_HOST as SERVER_NAME. If HTTP_HOST is blank, send the value of server_name from nginx (default is `_`)' >> /etc/nginx/fastcgi_params && rm -f /etc/nginx/conf.d/stream.conf && rm -f /etc/nginx/http.d/default.conf && echo "**** guarantee correct php version is symlinked ****" && if [ "$(readlink /usr/bin/php)" != "php84" ]; then rm -rf /usr/bin/php && ln -s /usr/bin/php84 /usr/bin/php; fi && echo "**** configure php ****" && sed -i "s#;error_log = log/php84/error.log.*#error_log = /config/log/php/error.log#g" /etc/php84/php-fpm.conf && sed -i "s#user = nobody.*#user = abc#g" /etc/php84/php-fpm.d/www.conf && sed -i "s#group = nobody.*#group = abc#g" /etc/php84/php-fpm.d/www.conf && echo "**** add run paths to php runtime config ****" && grep -qxF 'include=/config/php/*.conf' /etc/php84/php-fpm.conf || echo 'include=/config/php/*.conf' >> /etc/php84/php-fpm.conf && echo "**** install php composer ****" && EXPECTED_CHECKSUM="$(php -r 'copy("https://composer.github.io/installer.sig", "php://stdout");')" && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && ACTUAL_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" && if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ]; then >&2 echo 'ERROR: Invalid installer checksum' && rm composer-setup.php && exit 1; fi && php composer-setup.php --install-dir=/usr/bin && rm composer-setup.php && ln -s /usr/bin/composer.phar /usr/bin/composer && echo "**** fix logrotate ****" && sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf && sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' /etc/periodic/daily/logrotate # buildkit
COPY root/ / # buildkit
EXPOSE [443/tcp 80/tcp]
ENV LSIO_FIRST_PARTY=true
ARG BUILD_DATE=2026-01-13T11:55:52+00:00
ARG VERSION=32.0.3-ls411
ARG NEXTCLOUD_RELEASE=32.0.3
LABEL build_version=Linuxserver.io version:- 32.0.3-ls411 Build-date:- 2026-01-13T11:55:52+00:00
LABEL maintainer=aptalca
ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so
RUN |3 BUILD_DATE=2026-01-13T11:55:52+00:00 VERSION=32.0.3-ls411 NEXTCLOUD_RELEASE=32.0.3 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache ffmpeg gnu-libiconv imagemagick imagemagick-heic imagemagick-pdf imagemagick-svg libxml2 php84-apcu php84-bcmath php84-bz2 php84-dom php84-exif php84-ftp php84-gd php84-gmp php84-imap php84-intl php84-ldap php84-opcache php84-pcntl php84-pdo_mysql php84-pdo_pgsql php84-pdo_sqlite php84-pecl-imagick php84-pecl-memcached php84-pecl-smbclient php84-pgsql php84-posix php84-redis php84-sodium php84-sqlite3 php84-sysvsem php84-xmlreader rsync samba-client util-linux sudo && echo "**** configure php-fpm to pass env vars ****" && sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php84/php-fpm.d/www.conf && if ! grep -qxF 'clear_env = no' /etc/php84/php-fpm.d/www.conf; then echo 'clear_env = no' >> /etc/php84/php-fpm.d/www.conf; fi && echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php84/php-fpm.conf && echo "**** configure php for nextcloud ****" && { echo 'apc.enable_cli=1'; } >> /etc/php84/conf.d/apcu.ini && { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=128'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=128M'; } >> "/etc/php84/conf.d/00_opcache.ini" && { echo 'memory_limit=-1'; echo 'upload_max_filesize=100G'; echo 'post_max_size=100G'; echo 'max_input_time=3600'; echo 'max_execution_time=3600'; echo 'output_buffering=0'; echo 'always_populate_raw_post_data=-1'; } >> "/etc/php84/conf.d/nextcloud.ini" && echo "**** install nextcloud ****" && mkdir -p /app/www/src/ && if [ -z ${NEXTCLOUD_RELEASE+x} ]; then NEXTCLOUD_RELEASE=$(curl -sX GET https://api.github.com/repos/nextcloud/server/releases | jq -r '.[] | select(.prerelease != true) | .tag_name' | sed 's|^v||g' | sort -rV | head -1); fi && curl -o /tmp/nextcloud.tar.bz2 -L https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_RELEASE}.tar.bz2 && tar xf /tmp/nextcloud.tar.bz2 -C /app/www/src --strip-components=1 && rm -rf /app/www/src/updater && mkdir -p /app/www/src/data && chmod +x /app/www/src/occ && printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit
COPY root/ / # buildkit
EXPOSE [443/tcp 80/tcp]
VOLUME [/config]

Labels

Key Value
build_version Linuxserver.io version:- 32.0.3-ls411 Build-date:- 2026-01-13T11:55:52+00:00
maintainer aptalca
org.opencontainers.image.authors linuxserver.io
org.opencontainers.image.created 2026-01-13T11:55:52+00:00
org.opencontainers.image.description [Nextcloud](https://nextcloud.com/) gives you access to all your files wherever you are. Where are your photos and documents? With Nextcloud you pick a server of your choice, at home, in a data center or at a provider. And that is where your files will be. Nextcloud runs on that server, protecting your data and giving you access from your desktop or mobile devices. Through Nextcloud you also access, sync and share your existing data on that FTP drive at the office, a Dropbox or a NAS you have at home.
org.opencontainers.image.documentation https://docs.linuxserver.io/images/docker-nextcloud
org.opencontainers.image.licenses GPL-3.0-only
org.opencontainers.image.ref.name 2a86ae1b511a190075cc63242c7dfc4a489839ab
org.opencontainers.image.revision 2a86ae1b511a190075cc63242c7dfc4a489839ab
org.opencontainers.image.source https://github.com/linuxserver/docker-nextcloud
org.opencontainers.image.title Nextcloud
org.opencontainers.image.url https://github.com/linuxserver/docker-nextcloud/packages
org.opencontainers.image.vendor linuxserver.io
org.opencontainers.image.version 32.0.3-ls411
Details
Container
2026-03-25 15:11:54 +01:00
0
OCI / Docker
linux/amd64
linuxserver.io
GPL-3.0-only
395 MiB
Versions (1) View all
32.0.3 2026-03-25