Nextcloud 21 + PHP 8.0

This commit is contained in:
Wonderfall 2021-03-25 17:31:08 +01:00
parent b6468f3f53
commit ad30988881
3 changed files with 5 additions and 8 deletions

View File

@ -1,6 +1,6 @@
FROM wonderfall/nginx-php:7.4 FROM wonderfall/nginx-php:8.0
ARG NEXTCLOUD_VERSION=19.0.9 ARG NEXTCLOUD_VERSION=21.0.0
ARG GPG_nextcloud="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A" ARG GPG_nextcloud="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A"
ENV UID=991 GID=991 \ ENV UID=991 GID=991 \
@ -24,22 +24,18 @@ RUN apk -U upgrade \
pcre-dev \ pcre-dev \
libtool \ libtool \
samba-dev \ samba-dev \
imagemagick-dev \
&& apk add \ && apk add \
libressl \ libressl \
ca-certificates \ ca-certificates \
libsmbclient \ libsmbclient \
tzdata \ tzdata \
imagemagick \
ffmpeg \ ffmpeg \
&& pecl install \ && pecl install \
smbclient \ smbclient \
apcu \ apcu \
redis \ redis \
imagick \
&& echo "extension=smbclient.so" > /php/conf.d/smbclient.ini \ && echo "extension=smbclient.so" > /php/conf.d/smbclient.ini \
&& echo "extension=redis.so" > /php/conf.d/redis.ini \ && echo "extension=redis.so" > /php/conf.d/redis.ini \
&& echo "extension=imagick.so" > /php/conf.d/imagick.ini \
&& mkdir /nextcloud \ && mkdir /nextcloud \
&& cd /tmp \ && cd /tmp \
&& NEXTCLOUD_TARBALL="nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \ && NEXTCLOUD_TARBALL="nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \

View File

@ -24,8 +24,8 @@ As many images from the time it was first made, this image follows the principle
### Tags ### Tags
- **latest** : latest stable version. - **latest** : latest stable version.
- **20.0** : latest 20.0.x version (stable, recommended) - **21.0** : latest 21.0.x version (stable, recommended)
- **19.0** : latest 19.0.x version (old stable) - **20.0** : latest 20.0.x version (old stable)
Since this project should suit my needs, I'll only maintain the latest stable version available. Since this project should suit my needs, I'll only maintain the latest stable version available.

View File

@ -2,3 +2,4 @@ extension=apcu.so
apc.enabled=1 apc.enabled=1
apc.shm_size=<APC_SHM_SIZE> apc.shm_size=<APC_SHM_SIZE>
apc.ttl=7200 apc.ttl=7200
apc.enable_cli=1