|
|
@ -17,9 +17,9 @@ RUN apt-get update && apt-get install -y \
|
|
|
|
# Shared layer between nginx, dovecot, postfix, postgresql, rspamd, unbound, rainloop, roundcube
|
|
|
|
# Shared layer between nginx, dovecot, postfix, postgresql, rspamd, unbound, rainloop, roundcube
|
|
|
|
RUN pip3 install socrate
|
|
|
|
RUN pip3 install socrate
|
|
|
|
|
|
|
|
|
|
|
|
ENV ROUNDCUBE_URL https://github.com/roundcube/roundcubemail/releases/download/1.4.11/roundcubemail-1.4.11-complete.tar.gz
|
|
|
|
ENV ROUNDCUBE_URL https://github.com/roundcube/roundcubemail/releases/download/1.5.0/roundcubemail-1.5.0-complete.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
ENV CARDDAV_URL https://github.com/mstilkerich/rcmcarddav/releases/download/v4.1.2/carddav-v4.1.2.tar.gz
|
|
|
|
ENV CARDDAV_URL https://github.com/mstilkerich/rcmcarddav/releases/download/v4.2.2/carddav-v4.2.2.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
zlib1g-dev libzip4 libzip-dev libpq-dev \
|
|
|
|
zlib1g-dev libzip4 libzip-dev libpq-dev \
|
|
|
@ -35,9 +35,6 @@ RUN apt-get update && apt-get install -y \
|
|
|
|
&& mv carddav html/plugins/ \
|
|
|
|
&& mv carddav html/plugins/ \
|
|
|
|
&& cd html \
|
|
|
|
&& cd html \
|
|
|
|
&& rm -rf CHANGELOG INSTALL LICENSE README.md UPGRADING composer.json-dist installer composer.* \
|
|
|
|
&& rm -rf CHANGELOG INSTALL LICENSE README.md UPGRADING composer.json-dist installer composer.* \
|
|
|
|
&& sed -i 's,mod_php5.c,mod_php7.c,g' .htaccess \
|
|
|
|
|
|
|
|
&& sed -i 's,^php_value.*post_max_size,#&,g' .htaccess \
|
|
|
|
|
|
|
|
&& sed -i 's,^php_value.*upload_max_filesize,#&,g' .htaccess \
|
|
|
|
|
|
|
|
&& ln -sf index.php /var/www/html/sso.php \
|
|
|
|
&& ln -sf index.php /var/www/html/sso.php \
|
|
|
|
&& ln -sf /dev/stderr /var/www/html/logs/errors.log \
|
|
|
|
&& ln -sf /dev/stderr /var/www/html/logs/errors.log \
|
|
|
|
&& chown -R root:root . \
|
|
|
|
&& chown -R root:root . \
|
|
|
|