libicu-dev \
libjpeg62-turbo-dev \
libldap2-dev \
+ libmagickwand-dev \
libpng-dev \
libpq-dev \
libsqlite3-dev \
pdo_sqlite \
zip \
; \
+ pecl install imagick; \
+ docker-php-ext-enable imagick; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
RUN php /tmp/composer-installer.php --install-dir=/usr/local/bin/; \
rm /tmp/composer-installer.php
-# enable mod_rewrite
RUN a2enmod rewrite
# expose these volumes
RUN set -ex; \
\
apk add --no-cache --virtual .build-deps \
+ $PHPIZE_DEPS \
icu-dev \
+ imagemagick-dev \
libjpeg-turbo-dev \
libpng-dev \
libzip-dev \
+ libtool \
openldap-dev \
postgresql-dev \
sqlite-dev \
pdo_sqlite \
zip \
; \
+ pecl install imagick; \
+ docker-php-ext-enable imagick; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
- apk add --virtual .roundcubemail-phpext-rundeps $runDeps; \
+ apk add --virtual .roundcubemail-phpext-rundeps imagemagick $runDeps; \
apk del .build-deps
# add composer.phar
RUN php /tmp/composer-installer.php --install-dir=/usr/local/bin/; \
rm /tmp/composer-installer.php
+
# expose these volumes
VOLUME /var/roundcube/config
VOLUME /var/roundcube/db
libicu-dev \
libjpeg62-turbo-dev \
libldap2-dev \
+ libmagickwand-dev \
libpng-dev \
libpq-dev \
libsqlite3-dev \
pdo_sqlite \
zip \
; \
+ pecl install imagick; \
+ docker-php-ext-enable imagick; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
RUN php /tmp/composer-installer.php --install-dir=/usr/local/bin/; \
rm /tmp/composer-installer.php
+
# expose these volumes
VOLUME /var/roundcube/config
VOLUME /var/roundcube/db
RUN set -ex; \
\
apk add --no-cache --virtual .build-deps \
+ $PHPIZE_DEPS \
icu-dev \
+ imagemagick-dev \
libjpeg-turbo-dev \
libpng-dev \
libzip-dev \
+ libtool \
openldap-dev \
postgresql-dev \
sqlite-dev \
pdo_sqlite \
zip \
; \
+ pecl install imagick; \
+ docker-php-ext-enable imagick; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
- apk add --virtual .roundcubemail-phpext-rundeps $runDeps; \
+ apk add --virtual .roundcubemail-phpext-rundeps imagemagick $runDeps; \
apk del .build-deps
# add composer.phar
libicu-dev \
libjpeg62-turbo-dev \
libldap2-dev \
+ libmagickwand-dev \
libpng-dev \
libpq-dev \
libsqlite3-dev \
pdo_sqlite \
zip \
; \
+ pecl install imagick; \
+ docker-php-ext-enable imagick; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \