refactor(): rollback to community edition

This commit is contained in:
Hardware 2016-07-29 17:47:33 +02:00
parent e548bd3f00
commit 6b62587028
No known key found for this signature in database
GPG Key ID: EC6DF6F90263EDEA

View File

@ -25,17 +25,17 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
php7-pdo_sqlite@testing \
php7-sqlite3@testing \
&& cd /tmp \
&& wget -q http://repository.rainloop.net/v2/webmail/rainloop-latest.zip \
&& wget -q http://repository.rainloop.net/v2/webmail/rainloop-latest.zip.asc \
&& wget -q http://repository.rainloop.net/v2/webmail/rainloop-community-latest.zip \
&& wget -q http://repository.rainloop.net/v2/webmail/rainloop-community-latest.zip.asc \
&& wget -q http://repository.rainloop.net/RainLoop.asc \
&& echo "Verifying authenticity of rainloop-latest.zip using GPG..." \
&& echo "Verifying authenticity of rainloop-community-latest.zip using GPG..." \
&& gpg --import RainLoop.asc \
&& FINGERPRINT="$(LANG=C gpg --verify rainloop-latest.zip.asc rainloop-latest.zip 2>&1 \
&& FINGERPRINT="$(LANG=C gpg --verify rainloop-community-latest.zip.asc rainloop-community-latest.zip 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_rainloop}" ]; then echo "Warning! Wrong GPG fingerprint!" && exit 1; fi \
&& echo "All seems good, now unzipping rainloop-latest.zip..." \
&& mkdir /rainloop && unzip -q /tmp/rainloop-latest.zip -d /rainloop \
&& echo "All seems good, now unzipping rainloop-community-latest.zip..." \
&& mkdir /rainloop && unzip -q /tmp/rainloop-community-latest.zip -d /rainloop \
&& find /rainloop -type d -exec chmod 755 {} \; \
&& find /rainloop -type f -exec chmod 644 {} \; \
&& apk del gnupg \