use alpine 3.17 and php 8.1

This commit is contained in:
Sebastian Hugentobler 2022-11-23 13:48:12 +01:00
parent 32e71b373e
commit c01ce910cb
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -1,4 +1,4 @@
FROM docker.io/alpine:3.16 AS builder FROM docker.io/alpine:3.17 AS builder
ENV NC_VERSION=25.0.1 ENV NC_VERSION=25.0.1
ENV NC_SHA256_SUM=72d4076924caf19139c40178597af6211799e20440ce196fb43b9c4e47d77515 ENV NC_SHA256_SUM=72d4076924caf19139c40178597af6211799e20440ce196fb43b9c4e47d77515
@ -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.16 FROM docker.io/thallian/php8-fpm:3.17
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 \
php8-cli \ php81-cli \
php8-pecl-apcu \ php81-pecl-apcu \
php8-opcache \ php81-opcache \
php8-pcntl \ php81-pcntl \
php8-ctype \ php81-ctype \
php8-curl \ php81-curl \
php8-dom \ php81-dom \
php8-gd \ php81-gd \
php8-iconv \ php81-iconv \
php8-xml \ php81-xml \
php8-json \ php81-json \
php8-mbstring \ php81-mbstring \
php8-openssl \ php81-openssl \
php8-posix \ php81-posix \
php8-session \ php81-session \
php8-simplexml \ php81-simplexml \
php8-xmlreader \ php81-xmlreader \
php8-xmlwriter \ php81-xmlwriter \
php8-zip \ php81-zip \
php8-zlib \ php81-zlib \
php8-pdo_pgsql \ php81-pdo_pgsql \
php8-bz2 \ php81-bz2 \
php8-fileinfo \ php81-fileinfo \
php8-intl \ php81-intl \
php8-exif \ php81-exif \
php8-bcmath \ php81-bcmath \
php8-gmp \ php81-gmp \
php8-imap \ php81-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