Initial add

master
bkraul 2018-09-28 12:36:30 -05:00
commit f632562f57
4 changed files with 44 additions and 0 deletions

25
fpm-alpine/Dockerfile Normal file
View File

@ -0,0 +1,25 @@
FROM nextcloud:fpm-alpine
RUN set -ex; \
apk add --no-cache --virtual .build-deps \
autoconf \
automake \
file \
g++ \
gcc \
make \
php7-dev \
re2c \
samba-dev \
imagemagick-dev \
zlib-dev; \
apk add --no-cache libsmbclient; \
pecl install smbclient; \
docker-php-ext-enable smbclient; \
apk add --no-cache imagemagick; \
pecl install imagick ; \
docker-php-ext-enable imagick; \
apk add --no-cache sudo; \
apk del .build-deps
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

6
fpm-alpine/build Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
docker build \
-t bkraul/nextcloud:latest \
-t bkraul/nextcloud:fpm-alpine \
.

5
fpm-alpine/push Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
docker push bkraul/nextcloud:latest
docker push bkraul/nextcloud:fpm-alpine

View File

@ -0,0 +1,8 @@
<?php
$CONFIG = array (
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'redis',
'port' => 6379,
),
);