build apps
This commit is contained in:
parent
d092e18829
commit
461a6b473f
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue