use php 8.1

This commit is contained in:
Sebastian Hugentobler 2022-11-23 14:02:16 +01:00
parent fd5df047d1
commit 0e4f178208
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -1,17 +1,17 @@
FROM docker.io/alpine:3.16 AS builder FROM docker.io/alpine:3.17 AS builder
RUN apk add --no-cache \ RUN apk add --no-cache \
php8 \ php81 \
php8-phar \ php81-phar \
php8-mbstring \ php81-mbstring \
php8-openssl \ php81-openssl \
php8-ctype \ php81-ctype \
php8-gd \ php81-gd \
php8-dom \ php81-dom \
php8-xml \ php81-xml \
php8-ldap \ php81-ldap \
php8-xmlreader \ php81-xmlreader \
php8-xmlwriter php81-xmlwriter
ENV COMPOSER_VERSION=2.1.6 ENV COMPOSER_VERSION=2.1.6
ENV COMPOSER_SHA256_SUM=72524ccebcb071968eb83284507225fdba59f223719b2b3f333d76c8a9ac6b72 ENV COMPOSER_SHA256_SUM=72524ccebcb071968eb83284507225fdba59f223719b2b3f333d76c8a9ac6b72
@ -27,43 +27,42 @@ RUN echo "$SHA256_SUM roundcubemail-$VERSION-complete.tar.gz" | sha256sum -c -
RUN mkdir -p /var/lib/roundcube RUN mkdir -p /var/lib/roundcube
RUN tar xzf roundcubemail-$VERSION-complete.tar.gz -C /var/lib/roundcube --strip 1 RUN tar xzf roundcubemail-$VERSION-complete.tar.gz -C /var/lib/roundcube --strip 1
FROM docker.io/thallian/php8-fpm:3.16 FROM docker.io/thallian/php8-fpm:3.17
RUN apk add --no-cache \ RUN apk add --no-cache \
openssl \ openssl \
tar \ tar \
nginx \ nginx \
postgresql-client \ postgresql-client \
aspell \ aspell \
ca-certificates \ ca-certificates \
php8 \ php81 \
php8-imap \ php81-imap \
php8-dom \ php81-dom \
php8-json \ php81-json \
php8-xml \ php81-xml \
php8-session \ php81-session \
php8-pdo \ php81-pdo \
php8-pdo_pgsql \ php81-pdo_pgsql \
php8-sockets \ php81-sockets \
php8-exif \ php81-exif \
php8-iconv \ php81-iconv \
php8-openssl \ php81-openssl \
php8-mbstring \ php81-mbstring \
php8-sockets \ php81-sockets \
php8-pecl-mcrypt \ php81-zip \
php8-zip \ php81-pspell \
php8-pspell \ php81-pecl-apcu \
php8-pecl-apcu \ php81-gd \
php8-gd \ php81-ctype \
php8-ctype \ php81-xmlreader \
php8-xmlreader \ php81-xmlwriter \
php8-xmlwriter \ php81-tokenizer \
php8-tokenizer \ php81-curl \
php8-curl \ php81-simplexml \
php8-simplexml \ php81-xml \
php8-xml \ php81-dom \
php8-dom \ php81-intl
php8-intl
COPY --from=builder --chown=nginx:nginx /var/lib/roundcube /var/lib/roundcube COPY --from=builder --chown=nginx:nginx /var/lib/roundcube /var/lib/roundcube