diff --git a/Dockerfile b/Dockerfile index 973d268..978a149 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,33 +1,33 @@ -FROM docker.io/alpine:3.17 AS builder +FROM docker.io/alpine:3.18 AS builder RUN apk add --no-cache \ - php81 \ - php81-phar \ - php81-mbstring \ - php81-openssl \ - php81-ctype \ - php81-gd \ - php81-dom \ - php81-xml \ - php81-ldap \ - php81-xmlreader \ - php81-xmlwriter + php82 \ + php82-phar \ + php82-mbstring \ + php82-openssl \ + php82-ctype \ + php82-gd \ + php82-dom \ + php82-xml \ + php82-ldap \ + php82-xmlreader \ + php82-xmlwriter -ENV COMPOSER_VERSION=2.1.6 -ENV COMPOSER_SHA256_SUM=72524ccebcb071968eb83284507225fdba59f223719b2b3f333d76c8a9ac6b72 +ENV COMPOSER_VERSION=2.6.3 +ENV COMPOSER_SHA256_SUM=e58a390cac0df45ccf5a3d95ae94fa239eded8b7907fa2c8f752f020304fc9b1 RUN wget https://getcomposer.org/download/$COMPOSER_VERSION/composer.phar RUN echo "$COMPOSER_SHA256_SUM composer.phar" | sha256sum -c - || exit 1 RUN mv composer.phar /usr/bin/composer RUN chmod +x /usr/bin/composer -ENV VERSION=1.6.1 -ENV SHA256_SUM=46c2f6ba34bcb7e57e47cb034bf338e5fc7dcceddda9212a2ef3bd3146d97bed +ENV VERSION=1.6.3 +ENV SHA256_SUM=5e60ccd50f62fb00c43d335ec08a9bdafbf2bdd02552256cc4009908b39ad98f 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.17 +FROM docker.io/thallian/php8-fpm:3.18-8.2 RUN apk add --no-cache \ openssl \ @@ -36,33 +36,33 @@ RUN apk add --no-cache \ postgresql-client \ aspell \ ca-certificates \ - php81 \ - php81-imap \ - php81-dom \ - php81-json \ - php81-xml \ - php81-session \ - php81-pdo \ - php81-pdo_pgsql \ - php81-sockets \ - php81-exif \ - php81-iconv \ - php81-openssl \ - php81-mbstring \ - php81-sockets \ - php81-zip \ - php81-pspell \ - php81-pecl-apcu \ - php81-gd \ - php81-ctype \ - php81-xmlreader \ - php81-xmlwriter \ - php81-tokenizer \ - php81-curl \ - php81-simplexml \ - php81-xml \ - php81-dom \ - php81-intl + php82 \ + php82-imap \ + php82-dom \ + php82-json \ + php82-xml \ + php82-session \ + php82-pdo \ + php82-pdo_pgsql \ + php82-sockets \ + php82-exif \ + php82-iconv \ + php82-openssl \ + php82-mbstring \ + php82-sockets \ + php82-zip \ + php82-pspell \ + php82-pecl-apcu \ + php82-gd \ + php82-ctype \ + php82-xmlreader \ + php82-xmlwriter \ + php82-tokenizer \ + php82-curl \ + php82-simplexml \ + php82-xml \ + php82-dom \ + php82-intl COPY --from=builder --chown=nginx:nginx /var/lib/roundcube /var/lib/roundcube