update nextlcoud and extensions

This commit is contained in:
Sebastian Hugentobler 2020-10-02 09:00:41 +02:00
parent adedb17015
commit 8d5a9ba097

View File

@ -1,21 +1,21 @@
FROM alpine:3.12 AS builder FROM alpine:3.12 AS builder
ENV NC_VERSION=19.0.0 ENV NC_VERSION=19.0.3
ENV NC_SHA256_SUM=d23d429657c5e3476d7e73af1eafc70e42a81cfe2ed65b20655a005724fe0aae ENV NC_SHA256_SUM=fc503985e8aa4ed795d882e35679e0e1b7670181768e7820307222d8b4658969
RUN wget https://download.nextcloud.com/server/releases/nextcloud-$NC_VERSION.tar.bz2 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 echo "$NC_SHA256_SUM nextcloud-$NC_VERSION.tar.bz2" | sha256sum -c - || exit 1
RUN mkdir -p /var/lib/nextcloud RUN mkdir -p /var/lib/nextcloud
RUN tar xjf nextcloud-$NC_VERSION.tar.bz2 -C /var/lib/nextcloud --strip 1 RUN tar xjf nextcloud-$NC_VERSION.tar.bz2 -C /var/lib/nextcloud --strip 1
ENV TFA_VERSION=v4.1.3 ENV TFA_VERSION=v5.0.0
ENV TFA_SHA256_SUM=91861cc1ca0557bf72ae976162b819cab944b14241a5417292ec30928d9bc9f6 ENV TFA_SHA256_SUM=704f4dbf52a6ee9e197bbe457a1d5fb70010e5136170f9b42d5733543cc68de3
RUN wget https://github.com/nextcloud/twofactor_totp/releases/download/$TFA_VERSION/twofactor_totp.tar.gz RUN wget https://github.com/nextcloud/twofactor_totp/releases/download/$TFA_VERSION/twofactor_totp.tar.gz
RUN echo "$TFA_SHA256_SUM twofactor_totp.tar.gz" | sha256sum -c - || exit 1 RUN echo "$TFA_SHA256_SUM twofactor_totp.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/twofactor_totp 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.tar.gz -C /var/lib/nextcloud/apps/twofactor_totp --strip 1
ENV U2F_VERSION=v5.1.0 ENV U2F_VERSION=v6.0.0
ENV U2F_SHA256_SUM=21b74cad4424720772fcd607fa61255da172a0cd78ce974b027118da17d986f2 ENV U2F_SHA256_SUM=7c0e8985c3e0ad72a1eba1c55f4f1789dadc5b4079e4825b16eae2eaecf00afe
RUN wget https://github.com/nextcloud/twofactor_u2f/releases/download/$U2F_VERSION/twofactor_u2f.tar.gz RUN wget https://github.com/nextcloud/twofactor_u2f/releases/download/$U2F_VERSION/twofactor_u2f.tar.gz
RUN echo "$U2F_SHA256_SUM twofactor_u2f.tar.gz" | sha256sum -c - || exit 1 RUN echo "$U2F_SHA256_SUM twofactor_u2f.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/twofactor_u2f RUN mkdir /var/lib/nextcloud/apps/twofactor_u2f
@ -28,43 +28,43 @@ RUN echo "$POLLS_SHA256_SUM polls.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/polls RUN mkdir /var/lib/nextcloud/apps/polls
RUN tar xzf polls.tar.gz -C /var/lib/nextcloud/apps/polls --strip 1 RUN tar xzf polls.tar.gz -C /var/lib/nextcloud/apps/polls --strip 1
ENV CONTACTS_VERSION=v3.3.0 ENV CONTACTS_VERSION=v3.4.0
ENV CONTACTS_SHA256_SUM=a012aa42bd9772732efd4df005f795057bf71176b2912f47646792a727ddeaa0 ENV CONTACTS_SHA256_SUM=73ffd5c6599d9453bca61f5a8bd99afae412d7da2bba57a4d45931ce6d02b727
RUN wget https://github.com/nextcloud/contacts/releases/download/$CONTACTS_VERSION/contacts.tar.gz RUN wget https://github.com/nextcloud/contacts/releases/download/$CONTACTS_VERSION/contacts.tar.gz
RUN echo "$CONTACTS_SHA256_SUM contacts.tar.gz" | sha256sum -c - || exit 1 RUN echo "$CONTACTS_SHA256_SUM contacts.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/contacts RUN mkdir /var/lib/nextcloud/apps/contacts
RUN tar xzf contacts.tar.gz -C /var/lib/nextcloud/apps/contacts --strip 1 RUN tar xzf contacts.tar.gz -C /var/lib/nextcloud/apps/contacts --strip 1
ENV CALENDAR_VERSION=v2.0.3 ENV CALENDAR_VERSION=v2.1.2
ENV CALENDAR_SHA256_SUM=89ae16c9d0aec79a0ee78516479a17506b624debcc4d4cf50c36dd538cd2f29e ENV CALENDAR_SHA256_SUM=aedde93dd0c59ddebb2b92bfce549c52410dffe7ce4e06cd4d1ea16c0dac42e7
RUN wget https://github.com/nextcloud/calendar/releases/download/$CALENDAR_VERSION/calendar.tar.gz RUN wget https://github.com/nextcloud/calendar/releases/download/$CALENDAR_VERSION/calendar.tar.gz
RUN echo "$CALENDAR_SHA256_SUM calendar.tar.gz" | sha256sum -c - || exit 1 RUN echo "$CALENDAR_SHA256_SUM calendar.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/calendar RUN mkdir /var/lib/nextcloud/apps/calendar
RUN tar xzf calendar.tar.gz -C /var/lib/nextcloud/apps/calendar --strip 1 RUN tar xzf calendar.tar.gz -C /var/lib/nextcloud/apps/calendar --strip 1
ENV TASKS_VERSION=v0.13.1 ENV TASKS_VERSION=v0.13.3
ENV TASKS_SHA256_SUM=043a528e360dbd3debdf4e00ef014fe1f47b0f989e3aba2fefc90ebcc1c11df3 ENV TASKS_SHA256_SUM=a5e846a5763a3843ffe6019a15d5a40166c42cc5b68bac869f05da240f8b2889
RUN wget https://github.com/nextcloud/tasks/releases/download/$TASKS_VERSION/tasks.tar.gz RUN wget https://github.com/nextcloud/tasks/releases/download/$TASKS_VERSION/tasks.tar.gz
RUN echo "$TASKS_SHA256_SUM tasks.tar.gz" | sha256sum -c - || exit 1 RUN echo "$TASKS_SHA256_SUM tasks.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/tasks RUN mkdir /var/lib/nextcloud/apps/tasks
RUN tar xzf tasks.tar.gz -C /var/lib/nextcloud/apps/tasks --strip 1 RUN tar xzf tasks.tar.gz -C /var/lib/nextcloud/apps/tasks --strip 1
ENV NOTES_VERSION=3.4.0 ENV NOTES_VERSION=v3.6.4
ENV NOTES_SHA256_SUM=70a61817932179114286764a3c5e6aa938737df571884f8c89837b2df9cdfc25 ENV NOTES_SHA256_SUM=963c867efa583a0a3af36f808d82c1efc44e1e69200310874b55fef690955c7e
RUN wget https://github.com/nextcloud/notes/releases/download/$NOTES_VERSION/notes.tar.gz RUN wget https://github.com/nextcloud/notes/releases/download/$NOTES_VERSION/notes.tar.gz
RUN echo "$NOTES_SHA256_SUM notes.tar.gz" | sha256sum -c - || exit 1 RUN echo "$NOTES_SHA256_SUM notes.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/notes RUN mkdir /var/lib/nextcloud/apps/notes
RUN tar xzf notes.tar.gz -C /var/lib/nextcloud/apps/notes --strip 1 RUN tar xzf notes.tar.gz -C /var/lib/nextcloud/apps/notes --strip 1
ENV NEWS_VERSION=14.1.11 ENV NEWS_VERSION=15.0.0
ENV NEWS_SHA256_SUM=aa479be2dc942e2b286271f7cba6fbaec6ac261fa3b1964cf84edc0aec1fea0f ENV NEWS_SHA256_SUM=a2023fc91200da409e0d574a2f3ce661143273d64c9b85b97f35ff7692b87a63
RUN wget https://github.com/nextcloud/news/releases/download/$NEWS_VERSION/news.tar.gz 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 echo "$NEWS_SHA256_SUM news.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/news RUN mkdir /var/lib/nextcloud/apps/news
RUN tar xzf news.tar.gz -C /var/lib/nextcloud/apps/news --strip 1 RUN tar xzf news.tar.gz -C /var/lib/nextcloud/apps/news --strip 1
ENV EMAIL_VERSION=v1.3.5 ENV EMAIL_VERSION=v1.4.1
ENV EMAIL_SHA256_SUM=830098607448ff94e401eb7d408133b62caf259296bab1dd743095aea52f9358 ENV EMAIL_SHA256_SUM=dbd8fd6dc85633edbfc02b7a71dd399d268e08d4102029a36b6b0dbb7a8cac72
RUN wget https://github.com/nextcloud/mail/releases/download/$EMAIL_VERSION/mail.tar.gz RUN wget https://github.com/nextcloud/mail/releases/download/$EMAIL_VERSION/mail.tar.gz
RUN echo "$EMAIL_SHA256_SUM mail.tar.gz" | sha256sum -c - || exit 1 RUN echo "$EMAIL_SHA256_SUM mail.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/mail RUN mkdir /var/lib/nextcloud/apps/mail