push to 25.0.1

This commit is contained in:
Sebastian Hugentobler 2022-11-14 11:57:07 +01:00
parent 677bdd7855
commit f331467ab5
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 21 additions and 36 deletions

View File

@ -1,84 +1,71 @@
FROM docker.io/alpine:3.16 AS builder FROM docker.io/alpine:3.16 AS builder
ENV NC_VERSION=24.0.4 ENV NC_VERSION=25.0.1
ENV NC_SHA256_SUM=d107426f8e1c193db882a04c844f9bc7e7eeb7c21e46c46197e5154d6d6ac28e ENV NC_SHA256_SUM=72d4076924caf19139c40178597af6211799e20440ce196fb43b9c4e47d77515
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=v6.4.0 ENV TFA_VERSION=v6.4.1
ENV TFA_SHA256_SUM=711b6946cd6cdf597cc46f38624648b91dc2de983691014d96b6367f9353481a ENV TFA_SHA256_SUM=59ad8feada69ef92310ac4c6e01e4343cfa24f347bca32818b864305cbfe00e2
RUN wget https://github.com/nextcloud-releases/twofactor_totp/releases/download/$TFA_VERSION/twofactor_totp-$TFA_VERSION.tar.gz 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 echo "$TFA_SHA256_SUM twofactor_totp-$TFA_VERSION.tar.gz" | sha256sum -c - || exit 1
RUN rm -r /var/lib/nextcloud/apps/twofactor_totp
RUN mkdir /var/lib/nextcloud/apps/twofactor_totp RUN mkdir /var/lib/nextcloud/apps/twofactor_totp
RUN tar xzf twofactor_totp-$TFA_VERSION.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 POLLS_VERSION=3.7.0 ENV POLLS_VERSION=4.0.0
ENV POLLS_SHA256_SUM=1551996c93b7e9b354c3c45c51c309721dab00796782276c691a7b3f8296866d ENV POLLS_SHA256_SUM=0459e3643bed174d4537909501124eac993cc385f92f2a72a1c1f1c7df0782bb
RUN wget https://github.com/nextcloud/polls/releases/download/v$POLLS_VERSION/polls-$POLLS_VERSION.tar.gz 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 echo "$POLLS_SHA256_SUM polls-$POLLS_VERSION.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/polls RUN mkdir /var/lib/nextcloud/apps/polls
RUN tar xzf polls-$POLLS_VERSION.tar.gz -C /var/lib/nextcloud/apps/polls --strip 1 RUN tar xzf polls-$POLLS_VERSION.tar.gz -C /var/lib/nextcloud/apps/polls --strip 1
ENV CONTACTS_VERSION=v4.2.0 ENV CONTACTS_VERSION=v5.0.1
ENV CONTACTS_SHA256_SUM=3a8ec414a957c4000514f419ceba4ec7ee9da416fbf2bff23f1a43b3a0a0c34e ENV CONTACTS_SHA256_SUM=bdd4b0ee81760ffdabe71974c14c8e7d05e9d256e058279d22e567f472a4170b
RUN wget https://github.com/nextcloud-releases/contacts/releases/download/$CONTACTS_VERSION/contacts-$CONTACTS_VERSION.tar.gz 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 echo "$CONTACTS_SHA256_SUM contacts-$CONTACTS_VERSION.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/contacts RUN mkdir /var/lib/nextcloud/apps/contacts
RUN tar xzf contacts-$CONTACTS_VERSION.tar.gz -C /var/lib/nextcloud/apps/contacts --strip 1 RUN tar xzf contacts-$CONTACTS_VERSION.tar.gz -C /var/lib/nextcloud/apps/contacts --strip 1
ENV CALENDAR_VERSION=v3.4.2 ENV CALENDAR_VERSION=v4.1.0
ENV CALENDAR_SHA256_SUM=25c9cc5086e00fa50a33958f529daba4380ddd25ce8daaa562a577028544d07a ENV CALENDAR_SHA256_SUM=2b98ea0e0ba4ca5211122e5fe2b4b63853f7deed32b66988e64b56f2e9160a39
RUN wget https://github.com/nextcloud-releases/calendar/releases/download/$CALENDAR_VERSION/calendar-$CALENDAR_VERSION.tar.gz 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 echo "$CALENDAR_SHA256_SUM calendar-$CALENDAR_VERSION.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/calendar RUN mkdir /var/lib/nextcloud/apps/calendar
RUN tar xzf calendar-$CALENDAR_VERSION.tar.gz -C /var/lib/nextcloud/apps/calendar --strip 1 RUN tar xzf calendar-$CALENDAR_VERSION.tar.gz -C /var/lib/nextcloud/apps/calendar --strip 1
ENV TASKS_VERSION=v0.14.4 ENV TASKS_VERSION=v0.14.5
ENV TASKS_SHA256_SUM=9175d4cf33838bfa918b636ab49ca24b51a62d3c74905030b47d69d2b09d9d13 ENV TASKS_SHA256_SUM=fdfa3168ac80eaef3e2de5009eee02a369acc8d35dfd8283d1f25423bdf3c532
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=v4.5.0 ENV NOTES_VERSION=v4.6.0
ENV NOTES_SHA256_SUM=e97c2b3155f48a8aaa5a0e2685ac72d3b33744b1e64360ec33106d44cf793a57 ENV NOTES_SHA256_SUM=463126bbeb96f54c6a4876b680c6cff0951ddc65f3bb45d23f23044db80bae7b
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=18.1.1 ENV NEWS_VERSION=19.0.0
ENV NEWS_SHA256_SUM=a03a0aaea1df2320e5fe7c41c32f730cd24bed5a1edb32d37b21b4474fbbde19 ENV NEWS_SHA256_SUM=9551781fdbfb6d2c3cd77ee57eae0fb1583c7b54e9720bc955053f51541f4a86
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 MASTODON_INTEGRATION_VERSION=1.0.2 ENV MASTODON_INTEGRATION_VERSION=1.0.3
ENV MASTODON_INTEGRATION_SHA256_SUM=819226a25f293da72416c25a3595ef7e93c37f16cdff5cc4b21399de52073c4f ENV MASTODON_INTEGRATION_SHA256_SUM=ff3a498dfd230950565c3091b9610afc80dccd17b4f219aa35a2109b22d091b4
RUN wget https://github.com/nextcloud/integration_mastodon/releases/download/v$MASTODON_INTEGRATION_VERSION/integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz RUN wget https://github.com/nextcloud/integration_mastodon/releases/download/v$MASTODON_INTEGRATION_VERSION/integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz
RUN echo "$MASTODON_INTEGRATION_SHA256_SUM integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz" | sha256sum -c - || exit 1 RUN echo "$MASTODON_INTEGRATION_SHA256_SUM integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/integration_mastodon RUN mkdir /var/lib/nextcloud/apps/integration_mastodon
RUN tar xzf integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz -C /var/lib/nextcloud/apps/integration_mastodon --strip 1 RUN tar xzf integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz -C /var/lib/nextcloud/apps/integration_mastodon --strip 1
ENV GITHUB_INTEGRATION_VERSION=1.0.2 ENV SOCIAL_LOGIN_VERSION=v5.1.2
ENV GITHUB_INTEGRATION_SHA256_SUM=1ae96fad28e86a35b4780eff3d1b915b12cc45be4140b9ae10cf914456d386e1 ENV SOCIAL_LOGIN_SHA256_SUM=6cf880cb384b6debb32551bc49688c99998a798a5a4461a227f25021892461bc
RUN wget https://github.com/nextcloud/integration_github/releases/download/v$GITHUB_INTEGRATION_VERSION/integration_github-$GITHUB_INTEGRATION_VERSION.tar.gz
RUN echo "$GITHUB_INTEGRATION_SHA256_SUM integration_github-$GITHUB_INTEGRATION_VERSION.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/integration_github
RUN tar xzf integration_github-$GITHUB_INTEGRATION_VERSION.tar.gz -C /var/lib/nextcloud/apps/integration_github --strip 1
ENV GITLAB_INTEGRATION_VERSION=1.0.3
ENV GITLAB_INTEGRATION_SHA256_SUM=292a01666abf3b311cacaca27c04550d1ffd884430cab2616ea6e66afd133aa9
RUN wget https://github.com/nextcloud/integration_gitlab/releases/download/v$GITLAB_INTEGRATION_VERSION/integration_gitlab-$GITLAB_INTEGRATION_VERSION.tar.gz
RUN echo "$GITLAB_INTEGRATION_SHA256_SUM integration_gitlab-$GITLAB_INTEGRATION_VERSION.tar.gz" | sha256sum -c - || exit 1
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.16.2
ENV SOCIAL_LOGIN_SHA256_SUM=3f4c1ef0e6ebf60ea943073ae910b602591b43f54ef6f8fcbfb539e2d84d6dbd
RUN wget https://github.com/zorn-v/nextcloud-social-login/releases/download/$SOCIAL_LOGIN_VERSION/release.tar.gz 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 echo "$SOCIAL_LOGIN_SHA256_SUM release.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/sociallogin RUN mkdir /var/lib/nextcloud/apps/sociallogin

View File

@ -37,8 +37,6 @@ s6-setuidgid nginx ./occ app:enable tasks
s6-setuidgid nginx ./occ app:enable notes s6-setuidgid nginx ./occ app:enable notes
s6-setuidgid nginx ./occ app:enable sociallogin s6-setuidgid nginx ./occ app:enable sociallogin
s6-setuidgid nginx ./occ app:enable integration_mastodon s6-setuidgid nginx ./occ app:enable integration_mastodon
s6-setuidgid nginx ./occ app:enable integration_github
s6-setuidgid nginx ./occ app:enable integration_gitlab
s6-setuidgid nginx ./occ app:disable activity s6-setuidgid nginx ./occ app:disable activity
s6-setuidgid nginx ./occ app:disable comments s6-setuidgid nginx ./occ app:disable comments
s6-setuidgid nginx ./occ app:disable files_trashbin s6-setuidgid nginx ./occ app:disable files_trashbin