nextcloud 25 and php 8.1 update

This commit is contained in:
bsod 2022-10-28 08:34:39 +02:00
parent 3f74b363ea
commit 655bee6193

View file

@ -1,6 +1,6 @@
FROM php:8.0-apache FROM php:8.1-apache
ENV NEXTCLOUD_VERSION 24.0.6 ENV NEXTCLOUD_VERSION 25.0.0
RUN \ RUN \
apt-get update && \ apt-get update && \
@ -67,14 +67,8 @@ RUN \
docker-php-ext-enable apcu docker-php-ext-enable apcu
# compile imagick from master branch as there isn't any release for php8 yet. # compile imagick from master branch as there isn't any release for php8 yet.
ENV IMAGICK_SHA 448c1cd0d58ba2838b9b6dff71c9b7e70a401b90
RUN \ RUN \
curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/${IMAGICK_SHA}.tar.gz &&\ pecl install imagick && \
tar --strip-components=1 -xf /tmp/imagick.tar.gz &&\
phpize &&\
./configure &&\
make &&\
make install &&\
docker-php-ext-enable imagick docker-php-ext-enable imagick
# Activate user-defined .htaccess # Activate user-defined .htaccess