diff --git a/nextcloud/11.0/Dockerfile b/nextcloud/11.0/Dockerfile index f4e7fee..e6ad80a 100644 --- a/nextcloud/11.0/Dockerfile +++ b/nextcloud/11.0/Dockerfile @@ -49,6 +49,7 @@ RUN BUILD_DEPS=" \ && 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_DEPS} \ && rm -rf /var/cache/apk/* /tmp/* /root/.gnupg diff --git a/nextcloud/daily/Dockerfile b/nextcloud/daily/Dockerfile index 3c3cdb4..af18ddd 100644 --- a/nextcloud/daily/Dockerfile +++ b/nextcloud/daily/Dockerfile @@ -38,6 +38,7 @@ RUN BUILD_DEPS=" \ && CHECKSUM_STATE=$(echo -n $(sha512sum -c latest.tar.bz2.sha512) | tail -c 2) \ && if [ "${CHECKSUM_STATE}" != "OK" ]; then echo "Warning! Checksum does not match!" && exit 1; fi \ && tar xjf latest.tar.bz2 --strip 1 -C /nextcloud \ + && update-ca-certificates \ && apk del ${BUILD_DEPS} php7-pear php7-dev \ && rm -rf /var/cache/apk/* /tmp/*