Fix Nextcloud Docker igbinary/redis/memcached extension issue (#2509)

This commit is contained in:
Saurabhsarate 2025-12-22 11:16:14 +00:00
parent 7e1fba34d7
commit 58a0dd53a4
2 changed files with 24 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM nextcloud:32
RUN apt-get update && apt-get install -y \
build-essential \
autoconf \
pkg-config \
libmemcached-dev \
zlib1g-dev \
&& pecl install memcached redis \
&& docker-php-ext-enable memcached redis \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

12
docker-compose.yml Normal file
View File

@ -0,0 +1,12 @@
services:
nextcloud:
image: nextcloud-fixed
container_name: nextcloud
ports:
- "8080:80"
volumes:
- nextcloud:/var/www/html
restart: always
volumes:
nextcloud: