Update to Nextcloud 21 and remove 18 (end-of-life)

This commit is contained in:
2021-02-22 13:12:24 +01:00
parent e84793be28
commit ad93bae8e2
3 changed files with 9 additions and 89 deletions

View File

@@ -1,6 +1,6 @@
FROM hoellen/nginx-php:7.4
ARG NEXTCLOUD_VERSION=21.0.0RC2
ARG NEXTCLOUD_VERSION=21.0.0
ARG GPG_nextcloud="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A"
ENV UID=991 GID=991 \
@@ -49,9 +49,9 @@ RUN apk -U upgrade \
&& mkdir /nextcloud \
&& cd /tmp \
&& NEXTCLOUD_TARBALL="nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& wget -q https://download.nextcloud.com/server/prereleases/${NEXTCLOUD_TARBALL} \
&& wget -q https://download.nextcloud.com/server/prereleases/${NEXTCLOUD_TARBALL}.sha512 \
&& wget -q https://download.nextcloud.com/server/prereleases/${NEXTCLOUD_TARBALL}.asc \
&& wget -q https://download.nextcloud.com/server/releases/${NEXTCLOUD_TARBALL} \
&& wget -q https://download.nextcloud.com/server/releases/${NEXTCLOUD_TARBALL}.sha512 \
&& wget -q https://download.nextcloud.com/server/releases/${NEXTCLOUD_TARBALL}.asc \
&& wget -q https://nextcloud.com/nextcloud.asc \
&& echo "Verifying both integrity and authenticity of ${NEXTCLOUD_TARBALL}..." \
&& CHECKSUM_STATE=$(echo -n $(sha512sum -c ${NEXTCLOUD_TARBALL}.sha512) | tail -c 2) \