From 5042fab6798c7e2c6c2f9caf95647a6594e4bbd0 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 3 Oct 2020 13:39:13 +0200 Subject: [PATCH] update apps --- Dockerfile | 36 +++++++++++++++++++++++++---- rootfs/etc/cont-init.d/00-nextcloud | 4 ++++ 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87d7882..eec2d54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,8 +50,8 @@ RUN echo "$TASKS_SHA256_SUM tasks.tar.gz" | sha256sum -c - || exit 1 RUN mkdir /var/lib/nextcloud/apps/tasks RUN tar xzf tasks.tar.gz -C /var/lib/nextcloud/apps/tasks --strip 1 -ENV NOTES_VERSION=v3.6.4 -ENV NOTES_SHA256_SUM=963c867efa583a0a3af36f808d82c1efc44e1e69200310874b55fef690955c7e +ENV NOTES_VERSION=v4.0.0 +ENV NOTES_SHA256_SUM=43006cde66d48e1a408b451f698b8aa73c0b1acad72ff86dc2a8ec2e6a9351d6 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 mkdir /var/lib/nextcloud/apps/notes @@ -64,13 +64,41 @@ RUN echo "$NEWS_SHA256_SUM news.tar.gz" | sha256sum -c - || exit 1 RUN mkdir /var/lib/nextcloud/apps/news RUN tar xzf news.tar.gz -C /var/lib/nextcloud/apps/news --strip 1 -ENV EMAIL_VERSION=v1.4.1 -ENV EMAIL_SHA256_SUM=dbd8fd6dc85633edbfc02b7a71dd399d268e08d4102029a36b6b0dbb7a8cac72 +ENV EMAIL_VERSION=v1.5.0 +ENV EMAIL_SHA256_SUM=3e9a214c3a4f742d731f64b3ab18676e5238ce32a417ebb56693efa6569eb1ba 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 mkdir /var/lib/nextcloud/apps/mail RUN tar xzf mail.tar.gz -C /var/lib/nextcloud/apps/mail --strip 1 +ENV ELEMENT_VERSION=v0.6.11 +ENV ELEMENT_SHA256_SUM=f35869ac2e4674d3016ce4dfece57797386010f25c54d01058b1176a9d511612 +RUN wget https://github.com/gary-kim/riotchat/releases/download/$ELEMENT_VERSION/riotchat.tar.gz +RUN echo "$ELEMENT_SHA256_SUM riotchat.tar.gz" | sha256sum -c - || exit 1 +RUN mkdir /var/lib/nextcloud/apps/riotchat +RUN tar xzf riotchat.tar.gz -C /var/lib/nextcloud/apps/riotchat --strip 1 + +ENV MASTODON_INTEGRATION_VERSION=0.0.4 +ENV MASTODON_INTEGRATION_SHA256_SUM=5d728af5376b6f751486b350b5bbdab17b6dcaf17e04ccc20f1ce1af8417d517 +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 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 + +ENV GITHUB_INTEGRATION_VERSION=0.0.5 +ENV GITHUB_INTEGRATION_SHA256_SUM=0b28788ce396c9d3e5d3ef02345167eede89e2480aec619c8f3402cf8cb966ac +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=0.0.4 +ENV GITLAB_INTEGRATION_SHA256_SUM=68abf6b9ab2ab8f3ba2c6fc2033356d71b684f571edc4d1c9bb15462ea98d334 +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 + FROM thallian/php7-fpm:latest COPY --from=builder /var/lib/nextcloud /var/lib/nextcloud diff --git a/rootfs/etc/cont-init.d/00-nextcloud b/rootfs/etc/cont-init.d/00-nextcloud index 1034016..2dfbd74 100644 --- a/rootfs/etc/cont-init.d/00-nextcloud +++ b/rootfs/etc/cont-init.d/00-nextcloud @@ -38,6 +38,10 @@ s6-setuidgid nginx ./occ app:enable news s6-setuidgid nginx ./occ app:enable tasks s6-setuidgid nginx ./occ app:enable notes s6-setuidgid nginx ./occ app:enable mail +s6-setuidgid nginx ./occ app:enable riotchat +s6-setuidgid nginx ./occ app:enable integration_mastodon +s6-setuidgid nginx ./occ app:enable integration_gitlab +s6-setuidgid nginx ./occ app:enable integration_gitlab s6-setuidgid nginx ./occ app:disable activity s6-setuidgid nginx ./occ app:disable comments s6-setuidgid nginx ./occ app:disable files_trashbin