2024-01-01 15:55:39 +00:00
|
|
|
FROM docker.io/alpine:3.19 AS builder
|
|
|
|
|
|
|
|
RUN apk add --no-cache \
|
|
|
|
php83 \
|
|
|
|
php83-phar \
|
|
|
|
php83-mbstring \
|
|
|
|
php83-openssl \
|
|
|
|
php83-ctype \
|
|
|
|
php83-gd \
|
|
|
|
php83-dom \
|
|
|
|
php83-xml \
|
|
|
|
php83-ldap \
|
|
|
|
php83-xmlreader \
|
|
|
|
php83-xmlwriter
|
|
|
|
|
|
|
|
ENV COMPOSER_VERSION=2.6.6
|
|
|
|
ENV COMPOSER_SHA256_SUM=72600201c73c7c4b218f1c0511b36d8537963e36aafa244757f52309f885b314
|
2024-04-26 12:08:00 +00:00
|
|
|
RUN wget https://getcomposer.org/download/$COMPOSER_VERSION/composer.phar -O /bin/composer
|
|
|
|
RUN echo "$COMPOSER_SHA256_SUM /bin/composer" | sha256sum -c - || exit 1
|
|
|
|
RUN chmod +x /bin/composer
|
2024-01-01 15:55:39 +00:00
|
|
|
|
2024-03-28 13:57:43 +00:00
|
|
|
ENV VERSION=1.6.6
|
|
|
|
ENV SHA256_SUM=c1b93a3edbe297457396b0a031d8b13c8a5dc30c9370704dfb9b2c1225017d52
|
2024-01-01 15:55:39 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
FROM docker.io/thallian/php8-fpm:3.19-8.3
|
|
|
|
|
|
|
|
RUN apk add --no-cache \
|
|
|
|
openssl \
|
|
|
|
tar \
|
|
|
|
nginx \
|
|
|
|
postgresql-client \
|
|
|
|
aspell \
|
|
|
|
ca-certificates \
|
|
|
|
php83 \
|
|
|
|
php83-imap \
|
|
|
|
php83-dom \
|
|
|
|
php83-json \
|
|
|
|
php83-xml \
|
|
|
|
php83-session \
|
|
|
|
php83-pdo \
|
|
|
|
php83-pdo_pgsql \
|
|
|
|
php83-sockets \
|
|
|
|
php83-exif \
|
|
|
|
php83-iconv \
|
|
|
|
php83-openssl \
|
|
|
|
php83-mbstring \
|
|
|
|
php83-sockets \
|
|
|
|
php83-zip \
|
|
|
|
php83-pspell \
|
|
|
|
php83-pecl-apcu \
|
|
|
|
php83-gd \
|
|
|
|
php83-ctype \
|
|
|
|
php83-xmlreader \
|
|
|
|
php83-xmlwriter \
|
|
|
|
php83-tokenizer \
|
|
|
|
php83-curl \
|
|
|
|
php83-simplexml \
|
|
|
|
php83-xml \
|
|
|
|
php83-dom \
|
|
|
|
php83-intl
|
|
|
|
|
|
|
|
COPY --from=builder --chown=nginx:nginx /var/lib/roundcube /var/lib/roundcube
|
|
|
|
|
|
|
|
ADD /rootfs /
|
|
|
|
|
|
|
|
EXPOSE 8080
|
|
|
|
|
|
|
|
ENV FPMUSER nginx
|
|
|
|
ENV FPMGROUP nginx
|