From 547b1a07e53860c39bbc5f864fe3fae7c047e3e9 Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Mon, 11 Jun 2018 04:50:15 +0200 Subject: [PATCH] Update : 13.0.3 (sorry for the delay) --- Dockerfile.11.0 | 71 ------------------------------------------------- Dockerfile.12.0 | 71 ------------------------------------------------- Dockerfile.13.0 | 2 +- 3 files changed, 1 insertion(+), 143 deletions(-) delete mode 100644 Dockerfile.11.0 delete mode 100644 Dockerfile.12.0 diff --git a/Dockerfile.11.0 b/Dockerfile.11.0 deleted file mode 100644 index 7b7013f..0000000 --- a/Dockerfile.11.0 +++ /dev/null @@ -1,71 +0,0 @@ -FROM wonderfall/nginx-php:7.1 - -ARG NEXTCLOUD_VERSION=11.0.8 -ARG GPG_nextcloud="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A" - -ENV UID=991 GID=991 \ - UPLOAD_MAX_SIZE=10G \ - APC_SHM_SIZE=128M \ - OPCACHE_MEM_SIZE=128 \ - MEMORY_LIMIT=512M \ - CRON_PERIOD=15m \ - CRON_MEMORY_LIMIT=1g \ - TZ=Etc/UTC \ - DB_TYPE=sqlite3 \ - DOMAIN=localhost - -RUN apk -U upgrade \ - && apk add -t build-dependencies \ - gnupg \ - tar \ - build-base \ - autoconf \ - automake \ - pcre-dev \ - libtool \ - samba-dev \ - && apk add \ - libressl \ - ca-certificates \ - libsmbclient \ - tzdata \ - && pecl install \ - smbclient \ - apcu \ - redis \ - && echo "extension=smbclient.so" > /php/conf.d/smbclient.ini \ - && echo "extension=redis.so" > /php/conf.d/redis.ini \ - && mkdir /nextcloud \ - && cd /tmp \ - && NEXTCLOUD_TARBALL="nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \ - && 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) \ - && if [ "${CHECKSUM_STATE}" != "OK" ]; then echo "Warning! Checksum does not match!" && exit 1; fi \ - && gpg --import nextcloud.asc \ - && FINGERPRINT="$(LANG=C gpg --verify ${NEXTCLOUD_TARBALL}.asc ${NEXTCLOUD_TARBALL} 2>&1 \ - | sed -n "s#Primary key fingerprint: \(.*\)#\1#p")" \ - && if [ -z "${FINGERPRINT}" ]; then echo "Warning! Invalid GPG signature!" && exit 1; fi \ - && if [ "${FINGERPRINT}" != "${GPG_nextcloud}" ]; then echo "Warning! Wrong GPG fingerprint!" && exit 1; fi \ - && echo "All seems good, now unpacking ${NEXTCLOUD_TARBALL}..." \ - && tar xjf ${NEXTCLOUD_TARBALL} --strip 1 -C /nextcloud \ - && update-ca-certificates \ - && apk del build-dependencies \ - && rm -rf /var/cache/apk/* /tmp/* /root/.gnupg - -COPY rootfs / - -RUN chmod +x /usr/local/bin/* /etc/s6.d/*/* /etc/s6.d/.s6-svscan/* - -VOLUME /data /config /apps2 /nextcloud/themes - -EXPOSE 8888 - -LABEL description="A server software for creating file hosting services" \ - nextcloud="Nextcloud v${NEXTCLOUD_VERSION}" \ - maintainer="Wonderfall " - -CMD ["run.sh"] diff --git a/Dockerfile.12.0 b/Dockerfile.12.0 deleted file mode 100644 index 2c70cc3..0000000 --- a/Dockerfile.12.0 +++ /dev/null @@ -1,71 +0,0 @@ -FROM wonderfall/nginx-php:7.1 - -ARG NEXTCLOUD_VERSION=12.0.6 -ARG GPG_nextcloud="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A" - -ENV UID=991 GID=991 \ - UPLOAD_MAX_SIZE=10G \ - APC_SHM_SIZE=128M \ - OPCACHE_MEM_SIZE=128 \ - MEMORY_LIMIT=512M \ - CRON_PERIOD=15m \ - CRON_MEMORY_LIMIT=1g \ - TZ=Etc/UTC \ - DB_TYPE=sqlite3 \ - DOMAIN=localhost - -RUN apk -U upgrade \ - && apk add -t build-dependencies \ - gnupg \ - tar \ - build-base \ - autoconf \ - automake \ - pcre-dev \ - libtool \ - samba-dev \ - && apk add \ - libressl \ - ca-certificates \ - libsmbclient \ - tzdata \ - && pecl install \ - smbclient \ - apcu \ - redis \ - && echo "extension=smbclient.so" > /php/conf.d/smbclient.ini \ - && echo "extension=redis.so" > /php/conf.d/redis.ini \ - && mkdir /nextcloud \ - && cd /tmp \ - && NEXTCLOUD_TARBALL="nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \ - && 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) \ - && if [ "${CHECKSUM_STATE}" != "OK" ]; then echo "Warning! Checksum does not match!" && exit 1; fi \ - && gpg --import nextcloud.asc \ - && FINGERPRINT="$(LANG=C gpg --verify ${NEXTCLOUD_TARBALL}.asc ${NEXTCLOUD_TARBALL} 2>&1 \ - | sed -n "s#Primary key fingerprint: \(.*\)#\1#p")" \ - && if [ -z "${FINGERPRINT}" ]; then echo "Warning! Invalid GPG signature!" && exit 1; fi \ - && if [ "${FINGERPRINT}" != "${GPG_nextcloud}" ]; then echo "Warning! Wrong GPG fingerprint!" && exit 1; fi \ - && echo "All seems good, now unpacking ${NEXTCLOUD_TARBALL}..." \ - && tar xjf ${NEXTCLOUD_TARBALL} --strip 1 -C /nextcloud \ - && update-ca-certificates \ - && apk del build-dependencies \ - && rm -rf /var/cache/apk/* /tmp/* /root/.gnupg - -COPY rootfs / - -RUN chmod +x /usr/local/bin/* /etc/s6.d/*/* /etc/s6.d/.s6-svscan/* - -VOLUME /data /config /apps2 /nextcloud/themes - -EXPOSE 8888 - -LABEL description="A server software for creating file hosting services" \ - nextcloud="Nextcloud v${NEXTCLOUD_VERSION}" \ - maintainer="Wonderfall " - -CMD ["run.sh"] diff --git a/Dockerfile.13.0 b/Dockerfile.13.0 index 4f452fd..fed1942 100644 --- a/Dockerfile.13.0 +++ b/Dockerfile.13.0 @@ -1,6 +1,6 @@ FROM wonderfall/nginx-php:7.2 -ARG NEXTCLOUD_VERSION=13.0.1 +ARG NEXTCLOUD_VERSION=13.0.3 ARG GPG_nextcloud="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A" ENV UID=991 GID=991 \