master
Florent Daigniere 3 years ago committed by GitHub
parent dc7613b34a
commit c5c2ee9f1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,16 +65,10 @@ COPY defaults/default.ini /defaults/default.ini
# Install Snappymail from source # Install Snappymail from source
ENV SNAPPYMAIL_URL https://github.com/the-djmaze/snappymail/releases/download/v2.13.4/snappymail-2.13.4.zip ENV SNAPPYMAIL_URL https://github.com/the-djmaze/snappymail/releases/download/v2.13.4/snappymail-2.13.4.zip
RUN apk add --no-cache \ RUN cd /var/www/webmail \
curl unzip \ && busybox wget ${SNAPPYMAIL_URL} -O - |busybox unzip -
&& cd /var/www/webmail \ && chmod -R u+w,a+rX /var/www/webmail \
&& curl -L -O ${SNAPPYMAIL_URL} \ && chown -R nginx:nginx /var/www/webmail
&& unzip -q *.zip \
&& rm -f *.zip \
&& find . -type d -exec chmod 755 {} \; \
&& find . -type f -exec chmod 644 {} \; \
&& chown -R nginx:nginx /var/www/webmail \
&& apk del unzip
# SnappyMail login # SnappyMail login
COPY login/include.php /var/www/webmail/include.php COPY login/include.php /var/www/webmail/include.php

Loading…
Cancel
Save