nextcloud (staging)
Published 2024-08-07 16:44:11 -04:00 by colin
Installation
docker pull git.nixc.us/nixius/nextcloud:staging
sha256:7ee5a13ebbff53d501b718186c27e3fd805555f400982198054eb1bd2f189bbc
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=2024-07-27T13:29:37+00:00 |
ARG VERSION=d6fdb4e3-ls8 |
ARG MODS_VERSION=v3 |
ARG PKG_INST_VERSION=v1 |
ARG LSIOWN_VERSION=v1 |
LABEL build_version=Linuxserver.io version:- d6fdb4e3-ls8 Build-date:- 2024-07-27T13:29:37+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 |
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 |5 BUILD_DATE=2024-07-27T13:29:37+00:00 VERSION=d6fdb4e3-ls8 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_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=2024-08-01T21:27:21+00:00 |
ARG VERSION=1.26.1-r0_8.3.10-r0-ls14 |
LABEL build_version=Linuxserver.io version:- 1.26.1-r0_8.3.10-r0-ls14 Build-date:- 2024-08-01T21:27:21+00:00 |
LABEL maintainer=nemchik |
RUN |2 BUILD_DATE=2024-08-01T21:27:21+00:00 VERSION=1.26.1-r0_8.3.10-r0-ls14 /bin/sh -c echo "**** install build packages ****" && apk add --no-cache apache2-utils git logrotate nano nginx openssl php83 php83-ctype php83-curl php83-fileinfo php83-fpm php83-iconv php83-json php83-mbstring php83-openssl php83-phar php83-session php83-simplexml php83-xml php83-xmlwriter php83-zip php83-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)" != "php83" ]; then rm -rf /usr/bin/php && ln -s /usr/bin/php83 /usr/bin/php; fi && echo "**** configure php ****" && sed -i "s#;error_log = log/php83/error.log.*#error_log = /config/log/php/error.log#g" /etc/php83/php-fpm.conf && sed -i "s#user = nobody.*#user = abc#g" /etc/php83/php-fpm.d/www.conf && sed -i "s#group = nobody.*#group = abc#g" /etc/php83/php-fpm.d/www.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 map[443/tcp:{} 80/tcp:{}] |
ENV LSIO_FIRST_PARTY=true |
ARG BUILD_DATE=2024-08-06T11:50:55+00:00 |
ARG VERSION=29.0.4-ls333 |
ARG NEXTCLOUD_RELEASE=29.0.4 |
LABEL build_version=Linuxserver.io version:- 29.0.4-ls333 Build-date:- 2024-08-06T11:50:55+00:00 |
LABEL maintainer=aptalca |
ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so |
RUN |3 BUILD_DATE=2024-08-06T11:50:55+00:00 VERSION=29.0.4-ls333 NEXTCLOUD_RELEASE=29.0.4 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache ffmpeg gnu-libiconv imagemagick imagemagick-heic imagemagick-pdf imagemagick-svg libxml2 php83-apcu php83-bcmath php83-bz2 php83-dom php83-exif php83-ftp php83-gd php83-gmp php83-imap php83-intl php83-ldap php83-opcache php83-pcntl php83-pdo_mysql php83-pdo_pgsql php83-pdo_sqlite php83-pecl-imagick php83-pecl-mcrypt php83-pecl-memcached php83-pecl-smbclient php83-pgsql php83-posix php83-redis php83-sodium php83-sqlite3 php83-sysvsem php83-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/php83/php-fpm.d/www.conf && grep -qxF 'clear_env = no' /etc/php83/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php83/php-fpm.d/www.conf && echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php83/php-fpm.conf && echo "**** configure php for nextcloud ****" && { echo 'apc.enable_cli=1'; } >> /etc/php83/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/php83/conf.d/00_opcache.ini" && { echo 'memory_limit=512M'; echo 'upload_max_filesize=512M'; echo 'post_max_size=512M'; echo 'max_input_time=300'; echo 'max_execution_time=300'; echo 'output_buffering=0'; echo 'always_populate_raw_post_data=-1'; } >> "/etc/php83/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 map[443/tcp:{} 80/tcp:{}] |
VOLUME [/config] |
Labels
Key | Value |
---|---|
build_version | Linuxserver.io version:- 29.0.4-ls333 Build-date:- 2024-08-06T11:50:55+00:00 |
com.docker.compose.project | nextcloud |
com.docker.compose.service | nextcloud |
com.docker.compose.version | 2.28.1 |
maintainer | aptalca |
org.opencontainers.image.authors | linuxserver.io |
org.opencontainers.image.created | 2024-08-06T11:50:55+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 | f7c3c1c4b9899bd9c3d1f25b06a219186c9c327b |
org.opencontainers.image.revision | f7c3c1c4b9899bd9c3d1f25b06a219186c9c327b |
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 | 29.0.4-ls333 |
Details
2024-08-07 16:44:11 -04:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
linuxserver.io
GPL-3.0-only
322 MiB
production
2024-08-07
staging
2024-08-07