Skip to content

Commit

Permalink
Try #1739:
Browse files Browse the repository at this point in the history
  • Loading branch information
bors[bot] committed Jan 18, 2021
2 parents 6518ef1 + ca33849 commit d105f19
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions webmails/roundcube/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ RUN apt-get update && apt-get install -y \
# Shared layer between nginx, dovecot, postfix, postgresql, rspamd, unbound, rainloop, roundcube
RUN pip3 install socrate

ENV ROUNDCUBE_URL https://github.com/roundcube/roundcubemail/releases/download/1.4.6/roundcubemail-1.4.6-complete.tar.gz
ENV ROUNDCUBE_URL https://github.com/roundcube/roundcubemail/releases/download/1.4.10/roundcubemail-1.4.10-complete.tar.gz

ENV CARDDAV_URL https://github.com/blind-coder/rcmcarddav/releases/download/v3.0.3/carddav-3.0.3.tar.bz2
ENV CARDDAV_URL https://github.com/blind-coder/rcmcarddav/releases/download/v4.0.4/carddav-v4.0.4.tgz

ENV PHAR_URL https://getcomposer.org/download/2.0.7/composer.phar

RUN apt-get update && apt-get install -y \
zlib1g-dev libzip4 libzip-dev libpq-dev \
Expand All @@ -31,9 +33,9 @@ RUN apt-get update && apt-get install -y \
&& curl -L -O ${ROUNDCUBE_URL} \
&& curl -L -O ${CARDDAV_URL} \
&& tar -xf *.tar.gz \
&& tar -xf *.tar.bz2 \
&& tar -xf *.tgz\
&& rm -f *.tar.gz \
&& rm -f *.tar.bz2 \
&& rm -f *.tgz \
&& mv roundcubemail-* html \
&& mv carddav html/plugins/ \
&& cd html \
Expand All @@ -42,6 +44,11 @@ RUN apt-get update && apt-get install -y \
&& sed -i 's,^php_value.*post_max_size,#&,g' .htaccess \
&& sed -i 's,^php_value.*upload_max_filesize,#&,g' .htaccess \
&& chown -R www-data: logs temp \
&& cd plugins/carddav \
&& curl -L -O ${PHAR_URL} \
&& php composer.phar install --no-dev \
&& php composer.phar update --no-dev \
&& rm -rf composer.phar \
&& rm -rf /var/lib/apt/lists

COPY php.ini /php.ini
Expand Down

0 comments on commit d105f19

Please sign in to comment.