Roundcube Docker image that supports plugins https://hub.docker.com/r/r3pek/nextcloud/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-roundcube/Dockerfile

23 lines
978 B

6 years ago
FROM instrumentisto/roundcube
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends --no-install-suggests \
git \
gnupg \
libxml2-dev \
&& docker-php-ext-configure soap --with-libdir=lib/x86_64-linux-gnu \
&& docker-php-ext-install soap \
&& curl -fL -o /tmp/composer-setup.php https://getcomposer.org/installer \
&& curl -fL -o /tmp/composer-setup.sig https://composer.github.io/installer.sig \
&& php -r "if (hash('SHA384', file_get_contents('/tmp/composer-setup.php')) !== trim(file_get_contents('/tmp/composer-setup.sig'))) { echo 'Invalid installer' . PHP_EOL; exit(1); }" \
&& php /tmp/composer-setup.php --install-dir=/tmp --filename=composer \
&& chmod +x /docker-entrypoint.sh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libxml2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /plugins_config
VOLUME ["plugins_config"]