Split versions

This commit is contained in:
bkraul 2019-10-10 16:56:20 -05:00
parent f242e392da
commit e794a963e8
12 changed files with 52 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM nextcloud:fpm-alpine FROM nextcloud:16-fpm-alpine
RUN set -ex; \ RUN set -ex; \
apk add --no-cache --virtual .build-deps \ apk add --no-cache --virtual .build-deps \
@ -19,4 +19,4 @@ RUN set -ex; \
apk add --no-cache sudo; \ apk add --no-cache sudo; \
apk del .build-deps apk del .build-deps
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

6
fpm-alpine/16/build Executable file
View File

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

4
fpm-alpine/16/push Executable file
View File

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

22
fpm-alpine/17/Dockerfile Normal file
View File

@ -0,0 +1,22 @@
FROM nextcloud:17-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 add --no-cache sudo; \
apk del .build-deps
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View File

@ -1,7 +1,8 @@
#!/bin/sh #!/bin/sh
docker pull nextcloud:fpm-alpine docker pull nextcloud:17-fpm-alpine
docker build $1\ docker build $1\
-t bkraul/nextcloud:latest \ -t bkraul/nextcloud:latest \
-t bkraul/nextcloud:fpm-alpine \ -t bkraul/nextcloud:fpm-alpine \
-t bkraul/nextcloud:17-fpm-alpine \
. .

View File

@ -2,4 +2,5 @@
docker push bkraul/nextcloud:latest docker push bkraul/nextcloud:latest
docker push bkraul/nextcloud:fpm-alpine docker push bkraul/nextcloud:fpm-alpine
docker push bkraul/nextcloud:17-fpm-alpine

5
fpm-alpine/17/push-local Executable file
View File

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

View File

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

2
fpm-alpine/17/tag-local Executable file
View File

@ -0,0 +1,2 @@
docker tag bkraul/nextcloud:latest docker-registry.belmankraul.com/bkraul/nextcloud:latest
docker tag bkraul/nextcloud:fpm-alpine docker-registry.belmankraul.com/bkraul/nextcloud:fpm-alpine