roundcube/Dockerfile
Sebastian Hugentobler db324c1477 update php7 repos
2016-10-06 12:55:37 +02:00

39 lines
984 B
Docker

FROM thallian/php7-fpm:latest
RUN apk add --no-cache openssl tar nginx postgresql-client aspell rsyslog
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community/ --allow-untrusted \
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 \
php7-ldap \
php7-pspell
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted \
php7-apcu
RUN ln -s /usr/bin/php7 /usr/bin/php
RUN mkdir /var/lib/roundcube
RUN wget -qO- https://github.com/roundcube/roundcubemail/releases/download/1.2.1/roundcubemail-1.2.1-complete.tar.gz | tar xz -C /var/lib/roundcube --strip 1
RUN chown -R nginx:nginx /var/lib/roundcube
RUN mkdir /run/nginx
ADD /rootfs /
ENV FPMUSER nginx
ENV FPMGROUP nginx