FROM registry.gitlab.com/thallian/docker-php7-fpm:master ENV VERSION 1.3.6 RUN apk add --no-cache \ libressl \ tar \ nginx \ postgresql-client \ aspell \ ca-certificates \ 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 \ php7-apcu RUN mkdir /var/lib/roundcube RUN wget -qO- https://github.com/roundcube/roundcubemail/releases/download/$VERSION/roundcubemail-$VERSION-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 / EXPOSE 80 ENV FPMUSER nginx ENV FPMGROUP nginx