|
|
@ -41,9 +41,6 @@ RUN set -euxo pipefail \
|
|
|
|
; cd roundcube \
|
|
|
|
; cd roundcube \
|
|
|
|
; rm -rf CHANGELOG.md SECURITY.md INSTALL LICENSE README.md UPGRADING composer.json-dist installer composer.* \
|
|
|
|
; rm -rf CHANGELOG.md SECURITY.md INSTALL LICENSE README.md UPGRADING composer.json-dist installer composer.* \
|
|
|
|
; ln -sf index.php /var/www/roundcube/public_html/sso.php \
|
|
|
|
; ln -sf index.php /var/www/roundcube/public_html/sso.php \
|
|
|
|
; chown -R root:root /var/www/roundcube/ \
|
|
|
|
|
|
|
|
; chown -R mailu:mailu /var/www/roundcube/temp /var/www/roundcube/logs \
|
|
|
|
|
|
|
|
; chmod -R a+rX /var/www/roundcube \
|
|
|
|
|
|
|
|
; rm -rf plugins/{autologon,example_addressbook,http_authentication,krb_authentication,new_user_identity,password,redundant_attachments,squirrelmail_usercopy,userinfo,virtuser_file,virtuser_query}
|
|
|
|
; rm -rf plugins/{autologon,example_addressbook,http_authentication,krb_authentication,new_user_identity,password,redundant_attachments,squirrelmail_usercopy,userinfo,virtuser_file,virtuser_query}
|
|
|
|
|
|
|
|
|
|
|
|
COPY roundcube/config/config.inc.php /conf/
|
|
|
|
COPY roundcube/config/config.inc.php /conf/
|
|
|
@ -60,9 +57,7 @@ RUN set -euxo pipefail \
|
|
|
|
; curl -sLo /dev/shm/snappymail.tgz ${SNAPPYMAIL_URL} \
|
|
|
|
; curl -sLo /dev/shm/snappymail.tgz ${SNAPPYMAIL_URL} \
|
|
|
|
; curl -sLo /dev/shm/snappymail.tgz.asc ${SNAPPYMAIL_URL}.asc \
|
|
|
|
; curl -sLo /dev/shm/snappymail.tgz.asc ${SNAPPYMAIL_URL}.asc \
|
|
|
|
; gpg --status-fd 1 --verify /dev/shm/snappymail.tgz.asc \
|
|
|
|
; gpg --status-fd 1 --verify /dev/shm/snappymail.tgz.asc \
|
|
|
|
; tar xzf /dev/shm/snappymail.tgz \
|
|
|
|
; tar xzf /dev/shm/snappymail.tgz
|
|
|
|
; chmod -R a+rX /var/www/snappymail \
|
|
|
|
|
|
|
|
; chown -R root:root /var/www/snappymail
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# SnappyMail login
|
|
|
|
# SnappyMail login
|
|
|
|
COPY snappymail/login/include.php /var/www/snappymail/
|
|
|
|
COPY snappymail/login/include.php /var/www/snappymail/
|
|
|
@ -72,6 +67,15 @@ COPY snappymail/login/sso.php /var/www/snappymail/
|
|
|
|
COPY snappymail/defaults/application.ini /defaults/
|
|
|
|
COPY snappymail/defaults/application.ini /defaults/
|
|
|
|
COPY snappymail/defaults/default.json /defaults/
|
|
|
|
COPY snappymail/defaults/default.json /defaults/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# set perms
|
|
|
|
|
|
|
|
RUN set -euxo pipefail \
|
|
|
|
|
|
|
|
; chmod -R a+rX /var/www/snappymail \
|
|
|
|
|
|
|
|
; chown -R root:root /var/www/snappymail \
|
|
|
|
|
|
|
|
; chown -R mailu:mailu /var/www/snappymail/data \
|
|
|
|
|
|
|
|
; chown -R root:root /var/www/roundcube/ \
|
|
|
|
|
|
|
|
; chown -R mailu:mailu /var/www/roundcube/temp /var/www/roundcube/logs \
|
|
|
|
|
|
|
|
; chmod -R a+rX /var/www/roundcube
|
|
|
|
|
|
|
|
|
|
|
|
# common
|
|
|
|
# common
|
|
|
|
COPY start.py /
|
|
|
|
COPY start.py /
|
|
|
|
COPY php.ini /defaults/
|
|
|
|
COPY php.ini /defaults/
|
|
|
|