fix the version for nextcloud and mariadb

This commit is contained in:
Andreas Zweili 2021-11-15 16:17:07 +01:00
parent 3275c3c821
commit ad7b14e05b
2 changed files with 24 additions and 24 deletions

View File

@ -1,4 +1,4 @@
version: '2'
version: "2"
services:
traefik:
@ -12,7 +12,7 @@ services:
restart: unless-stopped
db:
image: mariadb
image: mariadb:10.5-focal
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: unless-stopped
volumes:
@ -59,7 +59,7 @@ services:
restart: unless-stopped
cron:
image: nextcloud:apache
image: nextcloud:22.1-apache
restart: unless-stopped
volumes:
- ./data:/var/www/html

View File

@ -1,4 +1,4 @@
FROM nextcloud:apache
FROM nextcloud:22.1-apache
RUN set -ex; \
\
@ -9,7 +9,7 @@ RUN set -ex; \
procps \
smbclient \
supervisor \
# libreoffice \
# libreoffice \
; \
rm -rf /var/lib/apt/lists/*
@ -33,7 +33,7 @@ RUN set -ex; \
pecl install smbclient; \
docker-php-ext-enable smbclient; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
@ -50,7 +50,7 @@ RUN set -ex; \
RUN mkdir -p \
/var/log/supervisord \
/var/run/supervisord \
;
;
COPY supervisord.conf /