roundcube/Dockerfile

51 lines
1.1 KiB
Docker
Raw Normal View History

2019-06-21 10:05:50 +00:00
FROM alpine:3.10 AS builder
ENV VERSION=1.4-rc1
ENV SHA256_SUM=24a6c8ba9dcd4105f578fba1fadef27c878693612b74d8b781f98ac89de3285c
RUN wget https://github.com/roundcube/roundcubemail/releases/download/$VERSION/roundcubemail-$VERSION-complete.tar.gz
RUN echo "$SHA256_SUM roundcubemail-$VERSION-complete.tar.gz" | sha256sum -c - || exit 1
RUN mkdir -p /var/lib/roundcube
RUN tar xzf roundcubemail-$VERSION-complete.tar.gz -C /var/lib/roundcube --strip 1
2018-11-27 07:38:45 +00:00
FROM thallian/php7-fpm:latest
2016-07-13 15:07:43 +00:00
2019-06-21 10:05:50 +00:00
COPY --from=builder /var/lib/roundcube /var/lib/roundcube
2017-06-13 11:10:35 +00:00
2017-01-10 15:33:59 +00:00
RUN apk add --no-cache \
2019-06-21 10:05:50 +00:00
openssl \
2017-01-10 15:33:59 +00:00
tar \
nginx \
postgresql-client \
aspell \
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 \
2017-10-08 09:18:46 +00:00
php7-apcu
2017-01-10 15:33:59 +00:00
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