Added def for nc 20

This commit is contained in:
2020-10-06 15:27:34 -05:00
parent c25e2dcc4f
commit 413a57a781
9 changed files with 97 additions and 2 deletions
+21
View File
@@ -0,0 +1,21 @@
FROM nextcloud:20-fpm-alpine
RUN set -ex; \
apk add --no-cache --virtual .build-deps \
autoconf \
automake \
file \
g++ \
gcc \
make \
php7-dev \
re2c \
samba-dev \
zlib-dev; \
apk add --no-cache libsmbclient; \
pecl install smbclient; \
docker-php-ext-enable smbclient; \
apk add --no-cache imagemagick; \
apk del .build-deps
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
docker pull nextcloud:20-fpm-alpine
docker build $1\
-t bkraul/nextcloud:20-fpm-alpine \
.
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
docker push bkraul/nextcloud:20-fpm-alpine
+8
View File
@@ -0,0 +1,8 @@
<?php
$CONFIG = array (
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'redis',
'port' => 6379,
),
);