build apps
This commit is contained in:
parent
d092e18829
commit
461a6b473f
@ -1,5 +1,9 @@
|
|||||||
FROM alpine:3.14 AS builder
|
FROM alpine:3.14 AS builder
|
||||||
|
|
||||||
|
RUN apk --no-cache add \
|
||||||
|
composer \
|
||||||
|
npm
|
||||||
|
|
||||||
ENV NC_VERSION=22.1.0
|
ENV NC_VERSION=22.1.0
|
||||||
ENV NC_SHA256_SUM=4820808f799146853604e1fa27d7f292449018a44dc73bf928a97b02028318ba
|
ENV NC_SHA256_SUM=4820808f799146853604e1fa27d7f292449018a44dc73bf928a97b02028318ba
|
||||||
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
|
||||||
@ -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 echo "$TFA_SHA256_SUM $TFA_VERSION.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 $TFA_VERSION.tar.gz -C /var/lib/nextcloud/apps/twofactor_totp --strip 1
|
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_VERSION=v6.2.0
|
||||||
ENV U2F_SHA256_SUM=a52b5513696134b7d4a8d21d24c23c4c49d90dd0a5d8ea68ddca52bc927c22f1
|
ENV U2F_SHA256_SUM=a52b5513696134b7d4a8d21d24c23c4c49d90dd0a5d8ea68ddca52bc927c22f1
|
||||||
|
@ -36,7 +36,6 @@ s6-setuidgid nginx ./occ app:enable contacts
|
|||||||
s6-setuidgid nginx ./occ app:enable news
|
s6-setuidgid nginx ./occ app:enable news
|
||||||
s6-setuidgid nginx ./occ app:enable tasks
|
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 mail
|
|
||||||
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_github
|
||||||
|
Loading…
Reference in New Issue
Block a user