use alpine 3.18 as base and switch to php 8.2

This commit is contained in:
Sebastian Hugentobler 2023-05-30 10:16:10 +02:00
parent e49d5eae8a
commit 9c1bae2dfd
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -72,7 +72,7 @@ RUN mkdir /var/lib/nextcloud/apps/sociallogin
RUN tar xzf release.tar.gz -C /var/lib/nextcloud/apps/sociallogin --strip 1 RUN tar xzf release.tar.gz -C /var/lib/nextcloud/apps/sociallogin --strip 1
FROM docker.io/thallian/php8-fpm:3.17 FROM docker.io/thallian/php8-fpm:3.18
ENV FPMUSER=nginx ENV FPMUSER=nginx
ENV FPMGROUP=nginx ENV FPMGROUP=nginx
@ -81,34 +81,34 @@ ENV PHP_MEMORY_LIMIT=512M
RUN apk add --no-cache \ RUN apk add --no-cache \
nginx \ nginx \
ffmpeg \ ffmpeg \
php81-cli \ php82-cli \
php81-pecl-apcu \ php82-pecl-apcu \
php81-opcache \ php82-opcache \
php81-pcntl \ php82-pcntl \
php81-ctype \ php82-ctype \
php81-curl \ php82-curl \
php81-dom \ php82-dom \
php81-gd \ php82-gd \
php81-iconv \ php82-iconv \
php81-xml \ php82-xml \
php81-json \ php82-json \
php81-mbstring \ php82-mbstring \
php81-openssl \ php82-openssl \
php81-posix \ php82-posix \
php81-session \ php82-session \
php81-simplexml \ php82-simplexml \
php81-xmlreader \ php82-xmlreader \
php81-xmlwriter \ php82-xmlwriter \
php81-zip \ php82-zip \
php81-zlib \ php82-zlib \
php81-pdo_pgsql \ php82-pdo_pgsql \
php81-bz2 \ php82-bz2 \
php81-fileinfo \ php82-fileinfo \
php81-intl \ php82-intl \
php81-exif \ php82-exif \
php81-bcmath \ php82-bcmath \
php81-gmp \ php82-gmp \
php81-imap \ php82-imap \
dcron dcron
COPY --from=builder --chown=nginx:nginx /var/lib/nextcloud /var/lib/nextcloud COPY --from=builder --chown=nginx:nginx /var/lib/nextcloud /var/lib/nextcloud