build apps

This commit is contained in:
Sebastian Hugentobler 2021-08-22 20:20:25 +02:00
parent d092e18829
commit 461a6b473f
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
FROM alpine:3.14 AS builder
RUN apk --no-cache add \
composer \
npm
ENV NC_VERSION=22.1.0
ENV NC_SHA256_SUM=4820808f799146853604e1fa27d7f292449018a44dc73bf928a97b02028318ba
RUN wget https://download.nextcloud.com/server/releases/nextcloud-$NC_VERSION.tar.bz2
@ -13,6 +17,7 @@ RUN wget https://github.com/nextcloud/twofactor_totp/archive/refs/tags/$TFA_VERS
RUN echo "$TFA_SHA256_SUM $TFA_VERSION.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/twofactor_totp
RUN tar xzf $TFA_VERSION.tar.gz -C /var/lib/nextcloud/apps/twofactor_totp --strip 1
RUN cd /var/lib/nextcloud/apps/twofactor_totp && composer install --no-dev -o && npm ci && npm run build
ENV U2F_VERSION=v6.2.0
ENV U2F_SHA256_SUM=a52b5513696134b7d4a8d21d24c23c4c49d90dd0a5d8ea68ddca52bc927c22f1

View File

@ -36,7 +36,6 @@ s6-setuidgid nginx ./occ app:enable contacts
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 sociallogin
s6-setuidgid nginx ./occ app:enable integration_mastodon
s6-setuidgid nginx ./occ app:enable integration_github