roundcube/Dockerfile

45 lines
851 B
Docker
Raw Normal View History

2016-11-01 15:10:54 +00:00
FROM quay.io/thallian/php7-fpm:latest
2016-07-13 15:07:43 +00:00
2017-01-10 15:33:59 +00:00
RUN apk add --no-cache \
libressl \
tar \
nginx \
postgresql-client \
aspell \
2017-02-14 13:30:38 +00:00
syslog-ng \
2017-01-10 15:33:59 +00:00
ca-certificates \
2016-07-13 15:07:43 +00:00
php7 \
php7-imap \
php7-dom \
php7-json \
php7-xml \
php7-session \
php7-pdo \
php7-pdo_pgsql \
php7-sockets \
php7-exif \
php7-iconv \
php7-openssl \
php7-mbstring \
php7-sockets \
php7-mcrypt \
php7-zip \
2016-07-14 09:00:12 +00:00
php7-ldap \
2016-12-13 10:05:52 +00:00
php7-pspell \
2016-10-06 10:55:37 +00:00
php7-apcu
2017-01-10 15:33:59 +00:00
2016-07-13 15:07:43 +00:00
RUN ln -s /usr/bin/php7 /usr/bin/php
RUN mkdir /var/lib/roundcube
2016-12-13 10:00:15 +00:00
RUN wget -qO- https://github.com/roundcube/roundcubemail/releases/download/1.2.3/roundcubemail-1.2.3-complete.tar.gz | tar xz -C /var/lib/roundcube --strip 1
2016-07-13 15:07:43 +00:00
RUN chown -R nginx:nginx /var/lib/roundcube
RUN mkdir /run/nginx
ADD /rootfs /
2016-10-28 13:44:06 +00:00
EXPOSE 80
2016-07-13 15:07:43 +00:00
ENV FPMUSER nginx
ENV FPMGROUP nginx