diff --git a/Dockerfile b/Dockerfile index e7031f5..0ab41b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,42 +1,35 @@ FROM alpine:3.15 AS builder -ENV NC_VERSION=23.0.3 -ENV NC_SHA256_SUM=39401d400fab02a84a175ea6e995b8ed4110fbaea48c876230b4f09755a62986 +ENV NC_VERSION=24.0.2 +ENV NC_SHA256_SUM=30d6cac1265dff221836bec46a937dcafd7e7d52ee59b939841750b514e5033d RUN wget https://download.nextcloud.com/server/releases/nextcloud-$NC_VERSION.tar.bz2 RUN echo "$NC_SHA256_SUM nextcloud-$NC_VERSION.tar.bz2" | sha256sum -c - || exit 1 RUN mkdir -p /var/lib/nextcloud RUN tar xjf nextcloud-$NC_VERSION.tar.bz2 -C /var/lib/nextcloud --strip 1 -ENV TFA_VERSION=v6.2.0 -ENV TFA_SHA256_SUM=afa5ae5c0bc65c8127e92562071c8ca7df0905358be9f47c3090dc75b6b5800f -RUN wget https://github.com/nextcloud-releases/twofactor_totp/releases/download/$TFA_VERSION/twofactor_totp.tar.gz -RUN echo "$TFA_SHA256_SUM twofactor_totp.tar.gz" | sha256sum -c - || exit 1 +ENV TFA_VERSION=v6.4.0 +ENV TFA_SHA256_SUM=711b6946cd6cdf597cc46f38624648b91dc2de983691014d96b6367f9353481a +RUN wget https://github.com/nextcloud-releases/twofactor_totp/releases/download/$TFA_VERSION/twofactor_totp-$TFA_VERSION.tar.gz +RUN echo "$TFA_SHA256_SUM twofactor_totp-$TFA_VERSION.tar.gz" | sha256sum -c - || exit 1 RUN mkdir /var/lib/nextcloud/apps/twofactor_totp -RUN tar xzf twofactor_totp.tar.gz -C /var/lib/nextcloud/apps/twofactor_totp --strip 1 +RUN tar xzf twofactor_totp-$TFA_VERSION.tar.gz -C /var/lib/nextcloud/apps/twofactor_totp --strip 1 -ENV U2F_VERSION=v6.3.0 -ENV U2F_SHA256_SUM=89c5d3181eb20027fa6b6afc937ace6b52eaff624c5eaaee6b4d59676a3d2d7c -RUN wget https://github.com/nextcloud-releases/twofactor_u2f/releases/download/$U2F_VERSION/twofactor_u2f.tar.gz -RUN echo "$U2F_SHA256_SUM twofactor_u2f.tar.gz" | sha256sum -c - || exit 1 -RUN mkdir /var/lib/nextcloud/apps/twofactor_u2f -RUN tar xzf twofactor_u2f.tar.gz -C /var/lib/nextcloud/apps/twofactor_u2f --strip 1 - -ENV POLLS_VERSION=3.5.4 -ENV POLLS_SHA256_SUM=58c938bf1d3535390955a3f982bf9671aafc0806e9b1b2bd0b0b271ffee3d550 +ENV POLLS_VERSION=3.7.0 +ENV POLLS_SHA256_SUM=1551996c93b7e9b354c3c45c51c309721dab00796782276c691a7b3f8296866d RUN wget https://github.com/nextcloud/polls/releases/download/v$POLLS_VERSION/polls-$POLLS_VERSION.tar.gz RUN echo "$POLLS_SHA256_SUM polls-$POLLS_VERSION.tar.gz" | sha256sum -c - || exit 1 RUN mkdir /var/lib/nextcloud/apps/polls RUN tar xzf polls-$POLLS_VERSION.tar.gz -C /var/lib/nextcloud/apps/polls --strip 1 -ENV CONTACTS_VERSION=v4.1.0 -ENV CONTACTS_SHA256_SUM=8c69a60e9b7b8e8c81a4be06d1e2f95180e7556e9074b7add07ee48618ea6d20 +ENV CONTACTS_VERSION=v4.1.1 +ENV CONTACTS_SHA256_SUM=f9118ef301e982ba18a3575f7b39353582a3b54dc70e0d81b8ae95c59f1ef21a RUN wget https://github.com/nextcloud-releases/contacts/releases/download/$CONTACTS_VERSION/contacts-$CONTACTS_VERSION.tar.gz RUN echo "$CONTACTS_SHA256_SUM contacts-$CONTACTS_VERSION.tar.gz" | sha256sum -c - || exit 1 RUN mkdir /var/lib/nextcloud/apps/contacts RUN tar xzf contacts-$CONTACTS_VERSION.tar.gz -C /var/lib/nextcloud/apps/contacts --strip 1 -ENV CALENDAR_VERSION=v3.2.2 -ENV CALENDAR_SHA256_SUM=8d524445614f2a3d7280575ef924b249d69129233aed1c761bd4902410dbb391 +ENV CALENDAR_VERSION=v3.4.1 +ENV CALENDAR_SHA256_SUM=6e4afc6f74d71ce296ca9bc3c643e4a2eb12e85dfc979186ef2eae17e096713a RUN wget https://github.com/nextcloud-releases/calendar/releases/download/$CALENDAR_VERSION/calendar-$CALENDAR_VERSION.tar.gz RUN echo "$CALENDAR_SHA256_SUM calendar-$CALENDAR_VERSION.tar.gz" | sha256sum -c - || exit 1 RUN mkdir /var/lib/nextcloud/apps/calendar @@ -56,8 +49,8 @@ RUN echo "$NOTES_SHA256_SUM notes.tar.gz" | sha256sum -c - || exit 1 RUN mkdir /var/lib/nextcloud/apps/notes RUN tar xzf notes.tar.gz -C /var/lib/nextcloud/apps/notes --strip 1 -ENV NEWS_VERSION=18.0.1-beta2 -ENV NEWS_SHA256_SUM=8977a54c08e23a37f7a7e6617b3d6a64235feaa59047eae7514ff731048414a2 +ENV NEWS_VERSION=18.1.0 +ENV NEWS_SHA256_SUM=8e6ae871d2664696aed3357c52d2f2beb957fe4eceeb3959f06f73af2f226c4c RUN wget https://github.com/nextcloud/news/releases/download/$NEWS_VERSION/news.tar.gz RUN echo "$NEWS_SHA256_SUM news.tar.gz" | sha256sum -c - || exit 1 RUN mkdir /var/lib/nextcloud/apps/news @@ -84,8 +77,8 @@ RUN echo "$GITLAB_INTEGRATION_SHA256_SUM integration_gitlab-$GITLAB_INTEGRATION RUN mkdir /var/lib/nextcloud/apps/integration_gitlab RUN tar xzf integration_gitlab-$GITLAB_INTEGRATION_VERSION.tar.gz -C /var/lib/nextcloud/apps/integration_gitlab --strip 1 -ENV SOCIAL_LOGIN_VERSION=v4.14.0 -ENV SOCIAL_LOGIN_SHA256_SUM=b60a168444f8988fa6ea9eeaf75ddf3ac3cd7bbf792df9b703a28f39935c6337 +ENV SOCIAL_LOGIN_VERSION=v4.15.3 +ENV SOCIAL_LOGIN_SHA256_SUM=9d2956f7e85a84a8c05d7f9dd9e194895398f5c3029d85861c89d9acbabc4e5f RUN wget https://github.com/zorn-v/nextcloud-social-login/releases/download/$SOCIAL_LOGIN_VERSION/release.tar.gz RUN echo "$SOCIAL_LOGIN_SHA256_SUM release.tar.gz" | sha256sum -c - || exit 1 RUN mkdir /var/lib/nextcloud/apps/sociallogin diff --git a/rootfs/bin/nextcloud-config b/rootfs/bin/nextcloud-config index 6471fa7..4d3ccfe 100755 --- a/rootfs/bin/nextcloud-config +++ b/rootfs/bin/nextcloud-config @@ -29,7 +29,6 @@ s6-setuidgid nginx ./occ app:enable theming s6-setuidgid nginx ./occ app:enable photos s6-setuidgid nginx ./occ app:enable twofactor_totp s6-setuidgid nginx ./occ app:enable twofactor_backupcodes -s6-setuidgid nginx ./occ app:enable twofactor_u2f s6-setuidgid nginx ./occ app:enable polls s6-setuidgid nginx ./occ app:enable calendar s6-setuidgid nginx ./occ app:enable contacts