update twofactor_totp to 4.1.2

This commit is contained in:
Sebastian Hugentobler 2020-03-12 10:06:55 +01:00
parent 7e1bd455c5
commit e1311db43b

View File

@ -1,4 +1,4 @@
FROM alpine:3.10 AS builder
FROM alpine:3.11 AS builder
ENV NC_VERSION=17.0.0
ENV NC_SHA256_SUM=6081421b33ecdb3130b2bfb2293a3f4045aeb0b471ee570e675de3d931a142a6
@ -7,8 +7,8 @@ RUN echo "$NC_SHA256_SUM nextcloud-$NC_VERSION.tar.bz2" | sha256sum -c - || exi
RUN mkdir -p /var/lib/nextcloud
RUN tar xjf nextcloud-$NC_VERSION.tar.bz2 -C /var/lib/nextcloud --strip 1
ENV TFA_VERSION=v4.0.0
ENV TFA_SHA256_SUM=9194bf1d9c7bf80deccfcb522c67b70d962aefd2cb2011aceadbc91c3cd54a9a
ENV TFA_VERSION=v4.1.2
ENV TFA_SHA256_SUM=b66831ec4fc8cbb10e594b25ec12e90b99e0d41d3d1c1c29544bd9a81e73c470
RUN wget https://github.com/nextcloud/twofactor_totp/releases/download/$TFA_VERSION/twofactor_totp.tar.gz
RUN echo "$TFA_SHA256_SUM twofactor_totp.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/twofactor_totp