Split versions
This commit is contained in:
parent
f242e392da
commit
e794a963e8
|
@ -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 \
|
6
fpm-alpine/16/build
Executable file
6
fpm-alpine/16/build
Executable 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
4
fpm-alpine/16/push
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker push bkraul/nextcloud:16-fpm-alpine
|
||||||
|
|
22
fpm-alpine/17/Dockerfile
Normal file
22
fpm-alpine/17/Dockerfile
Normal 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
|
|
@ -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 \
|
||||||
.
|
.
|
|
@ -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
5
fpm-alpine/17/push-local
Executable 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
|
||||||
|
|
8
fpm-alpine/17/redis.config.php
Normal file
8
fpm-alpine/17/redis.config.php
Normal 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
2
fpm-alpine/17/tag-local
Executable 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
|
Loading…
Reference in New Issue
Block a user