From c01ce910cb17e63627603e0a4118b49efc1fa486 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 23 Nov 2022 13:48:12 +0100 Subject: [PATCH] use alpine 3.17 and php 8.1 --- Dockerfile | 66 +++++++++++++++++++++++++++--------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/Dockerfile b/Dockerfile index 147d8f4..88499e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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_SHA256_SUM=72d4076924caf19139c40178597af6211799e20440ce196fb43b9c4e47d77515 @@ -72,43 +72,43 @@ RUN mkdir /var/lib/nextcloud/apps/sociallogin 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 FPMGROUP=nginx ENV PHP_MEMORY_LIMIT=512M -RUN apk add --no-cache \ - nginx \ - ffmpeg \ - php8-cli \ - php8-pecl-apcu \ - php8-opcache \ - php8-pcntl \ - php8-ctype \ - php8-curl \ - php8-dom \ - php8-gd \ - php8-iconv \ - php8-xml \ - php8-json \ - php8-mbstring \ - php8-openssl \ - php8-posix \ - php8-session \ - php8-simplexml \ - php8-xmlreader \ - php8-xmlwriter \ - php8-zip \ - php8-zlib \ - php8-pdo_pgsql \ - php8-bz2 \ - php8-fileinfo \ - php8-intl \ - php8-exif \ - php8-bcmath \ - php8-gmp \ - php8-imap \ +RUN apk add --no-cache \ + nginx \ + ffmpeg \ + php81-cli \ + php81-pecl-apcu \ + php81-opcache \ + php81-pcntl \ + php81-ctype \ + php81-curl \ + php81-dom \ + php81-gd \ + php81-iconv \ + php81-xml \ + php81-json \ + php81-mbstring \ + php81-openssl \ + php81-posix \ + php81-session \ + php81-simplexml \ + php81-xmlreader \ + php81-xmlwriter \ + php81-zip \ + php81-zlib \ + php81-pdo_pgsql \ + php81-bz2 \ + php81-fileinfo \ + php81-intl \ + php81-exif \ + php81-bcmath \ + php81-gmp \ + php81-imap \ dcron COPY --from=builder --chown=nginx:nginx /var/lib/nextcloud /var/lib/nextcloud