Initial add
This commit is contained in:
commit
f632562f57
25
fpm-alpine/Dockerfile
Normal file
25
fpm-alpine/Dockerfile
Normal 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
6
fpm-alpine/build
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
docker build \
|
||||
-t bkraul/nextcloud:latest \
|
||||
-t bkraul/nextcloud:fpm-alpine \
|
||||
.
|
5
fpm-alpine/push
Executable file
5
fpm-alpine/push
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
docker push bkraul/nextcloud:latest
|
||||
docker push bkraul/nextcloud:fpm-alpine
|
||||
|
8
fpm-alpine/redis.config.php
Normal file
8
fpm-alpine/redis.config.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => 'redis',
|
||||
'port' => 6379,
|
||||
),
|
||||
);
|
Loading…
Reference in New Issue
Block a user