-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update nextcloud image #4116
Merged
Merged
Update nextcloud image #4116
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diff:diff --git a/_bashbrew-arches b/_bashbrew-arches
index a7dfb10..fb48893 100644
--- a/_bashbrew-arches
+++ b/_bashbrew-arches
@@ -12,6 +12,7 @@ nextcloud:11-fpm @ arm64v8
nextcloud:11-fpm @ i386
nextcloud:11-fpm @ ppc64le
nextcloud:11-fpm @ s390x
+nextcloud:11-fpm-alpine @ amd64
nextcloud:12 @ amd64
nextcloud:12 @ arm32v5
nextcloud:12 @ arm32v7
@@ -26,6 +27,7 @@ nextcloud:12-fpm @ arm64v8
nextcloud:12-fpm @ i386
nextcloud:12-fpm @ ppc64le
nextcloud:12-fpm @ s390x
+nextcloud:12-fpm-alpine @ amd64
nextcloud:fpm @ amd64
nextcloud:fpm @ arm32v5
nextcloud:fpm @ arm32v7
@@ -33,6 +35,7 @@ nextcloud:fpm @ arm64v8
nextcloud:fpm @ i386
nextcloud:fpm @ ppc64le
nextcloud:fpm @ s390x
+nextcloud:fpm-alpine @ amd64
nextcloud:latest @ amd64
nextcloud:latest @ arm32v5
nextcloud:latest @ arm32v7
diff --git a/_bashbrew-list b/_bashbrew-list
index 3dea2d8..1f07e32 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -1,30 +1,40 @@
nextcloud:11
nextcloud:11-apache
nextcloud:11-fpm
+nextcloud:11-fpm-alpine
nextcloud:11.0
nextcloud:11.0-apache
nextcloud:11.0-fpm
+nextcloud:11.0-fpm-alpine
nextcloud:11.0.7
nextcloud:11.0.7-apache
nextcloud:11.0.7-fpm
+nextcloud:11.0.7-fpm-alpine
nextcloud:12
nextcloud:12-apache
nextcloud:12-fpm
+nextcloud:12-fpm-alpine
nextcloud:12.0
nextcloud:12.0-apache
nextcloud:12.0-fpm
+nextcloud:12.0-fpm-alpine
nextcloud:12.0.5
nextcloud:12.0.5-apache
nextcloud:12.0.5-fpm
+nextcloud:12.0.5-fpm-alpine
nextcloud:13
nextcloud:13-apache
nextcloud:13-fpm
+nextcloud:13-fpm-alpine
nextcloud:13.0
nextcloud:13.0-apache
nextcloud:13.0-fpm
+nextcloud:13.0-fpm-alpine
nextcloud:13.0.0
nextcloud:13.0.0-apache
nextcloud:13.0.0-fpm
+nextcloud:13.0.0-fpm-alpine
nextcloud:apache
nextcloud:fpm
+nextcloud:fpm-alpine
nextcloud:latest
diff --git a/nextcloud_11-fpm/Dockerfile b/nextcloud_11-fpm-alpine/Dockerfile
similarity index 56%
copy from nextcloud_11-fpm/Dockerfile
copy to nextcloud_11-fpm-alpine/Dockerfile
index f0a5a6f..160420d 100644
--- a/nextcloud_11-fpm/Dockerfile
+++ b/nextcloud_11-fpm-alpine/Dockerfile
@@ -1,59 +1,76 @@
-FROM php:7.1-fpm
+FROM php:7.1-fpm-alpine
+# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
- apt-get update; \
-# install the packages we need
- apt-get install -y --no-install-recommends \
+ \
+ apk add --no-cache \
+ bash \
+ coreutils \
rsync \
- bzip2 \
- busybox-static \
; \
- mkdir -p /var/spool/cron/crontabs; \
- echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
+ \
+ rm /var/spool/cron/crontabs/root; \
+ echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
+
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
+RUN set -ex; \
\
- savedAptMark="$(apt-mark showmanual)"; \
- \
- apt-get install -y --no-install-recommends \
- libcurl4-openssl-dev \
- libfreetype6-dev \
- libicu-dev \
- libjpeg-dev \
- libldap2-dev \
+ apk add --no-cache --virtual .build-deps \
+ alpine-sdk \
+ autoconf \
+ freetype-dev \
+ icu-dev \
+ libjpeg-turbo-dev \
libmcrypt-dev \
+ libpng-dev \
libmemcached-dev \
- libpng12-dev \
- libpq-dev \
libxml2-dev \
+ openldap-dev \
+ pcre-dev \
+ postgresql-dev \
; \
\
- debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
- docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
- docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip pcntl; \
- pecl install APCu-5.1.10; \
- pecl install memcached-3.0.4; \
- pecl install redis-3.1.6; \
- docker-php-ext-enable apcu redis memcached; \
- \
-# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
- apt-mark auto '.*' > /dev/null; \
- apt-mark manual $savedAptMark; \
- ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
- | awk '/=>/ { print $3 }' \
- | sort -u \
- | xargs -r dpkg-query -S \
- | cut -d: -f1 \
- | sort -u \
- | xargs -rt apt-mark manual; \
- \
- apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
- rm -rf /var/lib/apt/lists/*; \
+ docker-php-ext-configure ldap; \
+ docker-php-ext-install \
+ exif \
+ gd \
+ intl \
+ ldap \
+ mbstring \
+ mcrypt \
+ mysqli \
+ opcache \
+ pcntl \
+ pdo_mysql \
+ pdo_pgsql \
+ pgsql \
+ zip \
+ ; \
+ pecl install \
+ APCu-5.1.11 \
+ memcached-3.0.4 \
+ redis-3.1.6 \
+ ; \
+ docker-php-ext-enable \
+ apcu \
+ memcached \
+ redis \
+ ; \
\
+ runDeps="$( \
+ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
+ | tr ',' '\n' \
+ | sort -u \
+ | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
+ )"; \
+ apk add --virtual .nextcloud-phpext-rundeps $runDeps; \
+ apk del .build-deps
+
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
- { \
+RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
@@ -63,8 +80,8 @@ RUN set -ex; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
- chown -R www-data:root /var/www/html; \
- chmod -R g=u /var/www/html
+ chown -R www-data:root /var/www; \
+ chmod -R g=u /var/www
VOLUME /var/www/html
@@ -72,6 +89,11 @@ VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 11.0.7
RUN set -ex; \
+ apk add --no-cache --virtual .fetch-deps \
+ bzip2 \
+ gnupg \
+ ; \
+ \
curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc \
@@ -86,7 +108,8 @@ RUN set -ex; \
rm -rf /usr/src/nextcloud/updater; \
mkdir -p /usr/src/nextcloud/data; \
mkdir -p /usr/src/nextcloud/custom_apps; \
- chmod +x /usr/src/nextcloud/occ
+ chmod +x /usr/src/nextcloud/occ; \
+ apk del .fetch-deps
COPY *.sh /
COPY config/* /usr/src/nextcloud/config/
diff --git a/nextcloud_11-fpm/config/apcu.config.php b/nextcloud_11-fpm-alpine/config/apcu.config.php
similarity index 100%
copy from nextcloud_11-fpm/config/apcu.config.php
copy to nextcloud_11-fpm-alpine/config/apcu.config.php
diff --git a/nextcloud_11-fpm/config/apps.config.php b/nextcloud_11-fpm-alpine/config/apps.config.php
similarity index 100%
copy from nextcloud_11-fpm/config/apps.config.php
copy to nextcloud_11-fpm-alpine/config/apps.config.php
diff --git a/nextcloud_11-fpm/config/autoconfig.php b/nextcloud_11-fpm-alpine/config/autoconfig.php
similarity index 100%
copy from nextcloud_11-fpm/config/autoconfig.php
copy to nextcloud_11-fpm-alpine/config/autoconfig.php
diff --git a/nextcloud_11-fpm/cron.sh b/nextcloud_11-fpm-alpine/cron.sh
similarity index 100%
copy from nextcloud_11-fpm/cron.sh
copy to nextcloud_11-fpm-alpine/cron.sh
diff --git a/nextcloud_11-fpm/entrypoint.sh b/nextcloud_11-fpm-alpine/entrypoint.sh
similarity index 100%
copy from nextcloud_11-fpm/entrypoint.sh
copy to nextcloud_11-fpm-alpine/entrypoint.sh
diff --git a/nextcloud_11-fpm/Dockerfile b/nextcloud_11-fpm/Dockerfile
index f0a5a6f..8f7ebc1 100644
--- a/nextcloud_11-fpm/Dockerfile
+++ b/nextcloud_11-fpm/Dockerfile
@@ -1,20 +1,26 @@
FROM php:7.1-fpm
+# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
+ \
apt-get update; \
-# install the packages we need
apt-get install -y --no-install-recommends \
rsync \
bzip2 \
busybox-static \
; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
mkdir -p /var/spool/cron/crontabs; \
- echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
+ echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
+
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
+RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
+ apt-get update; \
apt-get install -y --no-install-recommends \
libcurl4-openssl-dev \
libfreetype6-dev \
@@ -31,11 +37,31 @@ RUN set -ex; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
- docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip pcntl; \
- pecl install APCu-5.1.10; \
- pecl install memcached-3.0.4; \
- pecl install redis-3.1.6; \
- docker-php-ext-enable apcu redis memcached; \
+ docker-php-ext-install \
+ exif \
+ gd \
+ intl \
+ ldap \
+ mbstring \
+ mcrypt \
+ mysqli \
+ opcache \
+ pcntl \
+ pdo_mysql \
+ pdo_pgsql \
+ pgsql \
+ zip \
+ ; \
+ pecl install \
+ APCu-5.1.11 \
+ memcached-3.0.4 \
+ redis-3.1.6 \
+ ; \
+ docker-php-ext-enable \
+ apcu \
+ memcached \
+ redis \
+ ; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
@@ -49,11 +75,11 @@ RUN set -ex; \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
- rm -rf /var/lib/apt/lists/*; \
- \
+ rm -rf /var/lib/apt/lists/*
+
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
- { \
+RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
@@ -63,8 +89,8 @@ RUN set -ex; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
- chown -R www-data:root /var/www/html; \
- chmod -R g=u /var/www/html
+ chown -R www-data:root /var/www; \
+ chmod -R g=u /var/www
VOLUME /var/www/html
diff --git a/nextcloud_11/Dockerfile b/nextcloud_11/Dockerfile
index f39b9f6..bc4944b 100644
--- a/nextcloud_11/Dockerfile
+++ b/nextcloud_11/Dockerfile
@@ -1,20 +1,26 @@
FROM php:7.1-apache
+# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
+ \
apt-get update; \
-# install the packages we need
apt-get install -y --no-install-recommends \
rsync \
bzip2 \
busybox-static \
; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
mkdir -p /var/spool/cron/crontabs; \
- echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
+ echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
+
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
+RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
+ apt-get update; \
apt-get install -y --no-install-recommends \
libcurl4-openssl-dev \
libfreetype6-dev \
@@ -31,11 +37,31 @@ RUN set -ex; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
- docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip pcntl; \
- pecl install APCu-5.1.10; \
- pecl install memcached-3.0.4; \
- pecl install redis-3.1.6; \
- docker-php-ext-enable apcu redis memcached; \
+ docker-php-ext-install \
+ exif \
+ gd \
+ intl \
+ ldap \
+ mbstring \
+ mcrypt \
+ mysqli \
+ opcache \
+ pcntl \
+ pdo_mysql \
+ pdo_pgsql \
+ pgsql \
+ zip \
+ ; \
+ pecl install \
+ APCu-5.1.11 \
+ memcached-3.0.4 \
+ redis-3.1.6 \
+ ; \
+ docker-php-ext-enable \
+ apcu \
+ memcached \
+ redis \
+ ; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
@@ -49,11 +75,11 @@ RUN set -ex; \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
- rm -rf /var/lib/apt/lists/*; \
- \
+ rm -rf /var/lib/apt/lists/*
+
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
- { \
+RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
@@ -63,8 +89,8 @@ RUN set -ex; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
- chown -R www-data:root /var/www/html; \
- chmod -R g=u /var/www/html
+ chown -R www-data:root /var/www; \
+ chmod -R g=u /var/www
VOLUME /var/www/html
diff --git a/nextcloud_12-fpm/Dockerfile b/nextcloud_12-fpm-alpine/Dockerfile
similarity index 56%
copy from nextcloud_12-fpm/Dockerfile
copy to nextcloud_12-fpm-alpine/Dockerfile
index 225cf01..e8daeb5 100644
--- a/nextcloud_12-fpm/Dockerfile
+++ b/nextcloud_12-fpm-alpine/Dockerfile
@@ -1,59 +1,76 @@
-FROM php:7.1-fpm
+FROM php:7.1-fpm-alpine
+# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
- apt-get update; \
-# install the packages we need
- apt-get install -y --no-install-recommends \
+ \
+ apk add --no-cache \
+ bash \
+ coreutils \
rsync \
- bzip2 \
- busybox-static \
; \
- mkdir -p /var/spool/cron/crontabs; \
- echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
+ \
+ rm /var/spool/cron/crontabs/root; \
+ echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
+
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
+RUN set -ex; \
\
- savedAptMark="$(apt-mark showmanual)"; \
- \
- apt-get install -y --no-install-recommends \
- libcurl4-openssl-dev \
- libfreetype6-dev \
- libicu-dev \
- libjpeg-dev \
- libldap2-dev \
+ apk add --no-cache --virtual .build-deps \
+ alpine-sdk \
+ autoconf \
+ freetype-dev \
+ icu-dev \
+ libjpeg-turbo-dev \
libmcrypt-dev \
+ libpng-dev \
libmemcached-dev \
- libpng12-dev \
- libpq-dev \
libxml2-dev \
+ openldap-dev \
+ pcre-dev \
+ postgresql-dev \
; \
\
- debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
- docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
- docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip pcntl; \
- pecl install APCu-5.1.10; \
- pecl install memcached-3.0.4; \
- pecl install redis-3.1.6; \
- docker-php-ext-enable apcu redis memcached; \
- \
-# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
- apt-mark auto '.*' > /dev/null; \
- apt-mark manual $savedAptMark; \
- ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
- | awk '/=>/ { print $3 }' \
- | sort -u \
- | xargs -r dpkg-query -S \
- | cut -d: -f1 \
- | sort -u \
- | xargs -rt apt-mark manual; \
- \
- apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
- rm -rf /var/lib/apt/lists/*; \
+ docker-php-ext-configure ldap; \
+ docker-php-ext-install \
+ exif \
+ gd \
+ intl \
+ ldap \
+ mbstring \
+ mcrypt \
+ mysqli \
+ opcache \
+ pcntl \
+ pdo_mysql \
+ pdo_pgsql \
+ pgsql \
+ zip \
+ ; \
+ pecl install \
+ APCu-5.1.11 \
+ memcached-3.0.4 \
+ redis-3.1.6 \
+ ; \
+ docker-php-ext-enable \
+ apcu \
+ memcached \
+ redis \
+ ; \
\
+ runDeps="$( \
+ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
+ | tr ',' '\n' \
+ | sort -u \
+ | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
+ )"; \
+ apk add --virtual .nextcloud-phpext-rundeps $runDeps; \
+ apk del .build-deps
+
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
- { \
+RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
@@ -63,8 +80,8 @@ RUN set -ex; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
- chown -R www-data:root /var/www/html; \
- chmod -R g=u /var/www/html
+ chown -R www-data:root /var/www; \
+ chmod -R g=u /var/www
VOLUME /var/www/html
@@ -72,6 +89,11 @@ VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 12.0.5
RUN set -ex; \
+ apk add --no-cache --virtual .fetch-deps \
+ bzip2 \
+ gnupg \
+ ; \
+ \
curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc \
@@ -86,7 +108,8 @@ RUN set -ex; \
rm -rf /usr/src/nextcloud/updater; \
mkdir -p /usr/src/nextcloud/data; \
mkdir -p /usr/src/nextcloud/custom_apps; \
- chmod +x /usr/src/nextcloud/occ
+ chmod +x /usr/src/nextcloud/occ; \
+ apk del .fetch-deps
COPY *.sh /
COPY config/* /usr/src/nextcloud/config/
diff --git a/nextcloud_11-fpm/config/apcu.config.php b/nextcloud_12-fpm-alpine/config/apcu.config.php
similarity index 100%
copy from nextcloud_11-fpm/config/apcu.config.php
copy to nextcloud_12-fpm-alpine/config/apcu.config.php
diff --git a/nextcloud_11-fpm/config/apps.config.php b/nextcloud_12-fpm-alpine/config/apps.config.php
similarity index 100%
copy from nextcloud_11-fpm/config/apps.config.php
copy to nextcloud_12-fpm-alpine/config/apps.config.php
diff --git a/nextcloud_11-fpm/config/autoconfig.php b/nextcloud_12-fpm-alpine/config/autoconfig.php
similarity index 100%
copy from nextcloud_11-fpm/config/autoconfig.php
copy to nextcloud_12-fpm-alpine/config/autoconfig.php
diff --git a/nextcloud_11-fpm/cron.sh b/nextcloud_12-fpm-alpine/cron.sh
similarity index 100%
copy from nextcloud_11-fpm/cron.sh
copy to nextcloud_12-fpm-alpine/cron.sh
diff --git a/nextcloud_11-fpm/entrypoint.sh b/nextcloud_12-fpm-alpine/entrypoint.sh
similarity index 100%
copy from nextcloud_11-fpm/entrypoint.sh
copy to nextcloud_12-fpm-alpine/entrypoint.sh
diff --git a/nextcloud_12-fpm/Dockerfile b/nextcloud_12-fpm/Dockerfile
index 225cf01..e507e9c 100644
--- a/nextcloud_12-fpm/Dockerfile
+++ b/nextcloud_12-fpm/Dockerfile
@@ -1,20 +1,26 @@
FROM php:7.1-fpm
+# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
+ \
apt-get update; \
-# install the packages we need
apt-get install -y --no-install-recommends \
rsync \
bzip2 \
busybox-static \
; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
mkdir -p /var/spool/cron/crontabs; \
- echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
+ echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
+
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
+RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
+ apt-get update; \
apt-get install -y --no-install-recommends \
libcurl4-openssl-dev \
libfreetype6-dev \
@@ -31,11 +37,31 @@ RUN set -ex; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
- docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip pcntl; \
- pecl install APCu-5.1.10; \
- pecl install memcached-3.0.4; \
- pecl install redis-3.1.6; \
- docker-php-ext-enable apcu redis memcached; \
+ docker-php-ext-install \
+ exif \
+ gd \
+ intl \
+ ldap \
+ mbstring \
+ mcrypt \
+ mysqli \
+ opcache \
+ pcntl \
+ pdo_mysql \
+ pdo_pgsql \
+ pgsql \
+ zip \
+ ; \
+ pecl install \
+ APCu-5.1.11 \
+ memcached-3.0.4 \
+ redis-3.1.6 \
+ ; \
+ docker-php-ext-enable \
+ apcu \
+ memcached \
+ redis \
+ ; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
@@ -49,11 +75,11 @@ RUN set -ex; \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
- rm -rf /var/lib/apt/lists/*; \
- \
+ rm -rf /var/lib/apt/lists/*
+
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
- { \
+RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
@@ -63,8 +89,8 @@ RUN set -ex; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
- chown -R www-data:root /var/www/html; \
- chmod -R g=u /var/www/html
+ chown -R www-data:root /var/www; \
+ chmod -R g=u /var/www
VOLUME /var/www/html
diff --git a/nextcloud_12/Dockerfile b/nextcloud_12/Dockerfile
index acb990f..1f6413a 100644
--- a/nextcloud_12/Dockerfile
+++ b/nextcloud_12/Dockerfile
@@ -1,20 +1,26 @@
FROM php:7.1-apache
+# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
+ \
apt-get update; \
-# install the packages we need
apt-get install -y --no-install-recommends \
rsync \
bzip2 \
busybox-static \
; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
mkdir -p /var/spool/cron/crontabs; \
- echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
+ echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
+
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
+RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
+ apt-get update; \
apt-get install -y --no-install-recommends \
libcurl4-openssl-dev \
libfreetype6-dev \
@@ -31,11 +37,31 @@ RUN set -ex; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
- docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip pcntl; \
- pecl install APCu-5.1.10; \
- pecl install memcached-3.0.4; \
- pecl install redis-3.1.6; \
- docker-php-ext-enable apcu redis memcached; \
+ docker-php-ext-install \
+ exif \
+ gd \
+ intl \
+ ldap \
+ mbstring \
+ mcrypt \
+ mysqli \
+ opcache \
+ pcntl \
+ pdo_mysql \
+ pdo_pgsql \
+ pgsql \
+ zip \
+ ; \
+ pecl install \
+ APCu-5.1.11 \
+ memcached-3.0.4 \
+ redis-3.1.6 \
+ ; \
+ docker-php-ext-enable \
+ apcu \
+ memcached \
+ redis \
+ ; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
@@ -49,11 +75,11 @@ RUN set -ex; \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
- rm -rf /var/lib/apt/lists/*; \
- \
+ rm -rf /var/lib/apt/lists/*
+
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
- { \
+RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
@@ -63,8 +89,8 @@ RUN set -ex; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
- chown -R www-data:root /var/www/html; \
- chmod -R g=u /var/www/html
+ chown -R www-data:root /var/www; \
+ chmod -R g=u /var/www
VOLUME /var/www/html
diff --git a/nextcloud_fpm/Dockerfile b/nextcloud_fpm-alpine/Dockerfile
similarity index 56%
copy from nextcloud_fpm/Dockerfile
copy to nextcloud_fpm-alpine/Dockerfile
index ece66af..eb87ea0 100644
--- a/nextcloud_fpm/Dockerfile
+++ b/nextcloud_fpm-alpine/Dockerfile
@@ -1,59 +1,76 @@
-FROM php:7.1-fpm
+FROM php:7.1-fpm-alpine
+# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
- apt-get update; \
-# install the packages we need
- apt-get install -y --no-install-recommends \
+ \
+ apk add --no-cache \
+ bash \
+ coreutils \
rsync \
- bzip2 \
- busybox-static \
; \
- mkdir -p /var/spool/cron/crontabs; \
- echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
+ \
+ rm /var/spool/cron/crontabs/root; \
+ echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
+
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
+RUN set -ex; \
\
- savedAptMark="$(apt-mark showmanual)"; \
- \
- apt-get install -y --no-install-recommends \
- libcurl4-openssl-dev \
- libfreetype6-dev \
- libicu-dev \
- libjpeg-dev \
- libldap2-dev \
+ apk add --no-cache --virtual .build-deps \
+ alpine-sdk \
+ autoconf \
+ freetype-dev \
+ icu-dev \
+ libjpeg-turbo-dev \
libmcrypt-dev \
+ libpng-dev \
libmemcached-dev \
- libpng12-dev \
- libpq-dev \
libxml2-dev \
+ openldap-dev \
+ pcre-dev \
+ postgresql-dev \
; \
\
- debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
- docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
- docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip pcntl; \
- pecl install APCu-5.1.10; \
- pecl install memcached-3.0.4; \
- pecl install redis-3.1.6; \
- docker-php-ext-enable apcu redis memcached; \
- \
-# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
- apt-mark auto '.*' > /dev/null; \
- apt-mark manual $savedAptMark; \
- ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
- | awk '/=>/ { print $3 }' \
- | sort -u \
- | xargs -r dpkg-query -S \
- | cut -d: -f1 \
- | sort -u \
- | xargs -rt apt-mark manual; \
- \
- apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
- rm -rf /var/lib/apt/lists/*; \
+ docker-php-ext-configure ldap; \
+ docker-php-ext-install \
+ exif \
+ gd \
+ intl \
+ ldap \
+ mbstring \
+ mcrypt \
+ mysqli \
+ opcache \
+ pcntl \
+ pdo_mysql \
+ pdo_pgsql \
+ pgsql \
+ zip \
+ ; \
+ pecl install \
+ APCu-5.1.11 \
+ memcached-3.0.4 \
+ redis-3.1.6 \
+ ; \
+ docker-php-ext-enable \
+ apcu \
+ memcached \
+ redis \
+ ; \
\
+ runDeps="$( \
+ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
+ | tr ',' '\n' \
+ | sort -u \
+ | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
+ )"; \
+ apk add --virtual .nextcloud-phpext-rundeps $runDeps; \
+ apk del .build-deps
+
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
- { \
+RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
@@ -63,8 +80,8 @@ RUN set -ex; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
- chown -R www-data:root /var/www/html; \
- chmod -R g=u /var/www/html
+ chown -R www-data:root /var/www; \
+ chmod -R g=u /var/www
VOLUME /var/www/html
@@ -72,6 +89,11 @@ VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 13.0.0
RUN set -ex; \
+ apk add --no-cache --virtual .fetch-deps \
+ bzip2 \
+ gnupg \
+ ; \
+ \
curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc \
@@ -86,7 +108,8 @@ RUN set -ex; \
rm -rf /usr/src/nextcloud/updater; \
mkdir -p /usr/src/nextcloud/data; \
mkdir -p /usr/src/nextcloud/custom_apps; \
- chmod +x /usr/src/nextcloud/occ
+ chmod +x /usr/src/nextcloud/occ; \
+ apk del .fetch-deps
COPY *.sh /
COPY config/* /usr/src/nextcloud/config/
diff --git a/nextcloud_11-fpm/config/apcu.config.php b/nextcloud_fpm-alpine/config/apcu.config.php
similarity index 100%
copy from nextcloud_11-fpm/config/apcu.config.php
copy to nextcloud_fpm-alpine/config/apcu.config.php
diff --git a/nextcloud_11-fpm/config/apps.config.php b/nextcloud_fpm-alpine/config/apps.config.php
similarity index 100%
copy from nextcloud_11-fpm/config/apps.config.php
copy to nextcloud_fpm-alpine/config/apps.config.php
diff --git a/nextcloud_11-fpm/config/autoconfig.php b/nextcloud_fpm-alpine/config/autoconfig.php
similarity index 100%
copy from nextcloud_11-fpm/config/autoconfig.php
copy to nextcloud_fpm-alpine/config/autoconfig.php
diff --git a/nextcloud_11-fpm/cron.sh b/nextcloud_fpm-alpine/cron.sh
similarity index 100%
copy from nextcloud_11-fpm/cron.sh
copy to nextcloud_fpm-alpine/cron.sh
diff --git a/nextcloud_11-fpm/entrypoint.sh b/nextcloud_fpm-alpine/entrypoint.sh
similarity index 100%
copy from nextcloud_11-fpm/entrypoint.sh
copy to nextcloud_fpm-alpine/entrypoint.sh
diff --git a/nextcloud_fpm/Dockerfile b/nextcloud_fpm/Dockerfile
index ece66af..8f623cd 100644
--- a/nextcloud_fpm/Dockerfile
+++ b/nextcloud_fpm/Dockerfile
@@ -1,20 +1,26 @@
FROM php:7.1-fpm
+# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
+ \
apt-get update; \
-# install the packages we need
apt-get install -y --no-install-recommends \
rsync \
bzip2 \
busybox-static \
; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
mkdir -p /var/spool/cron/crontabs; \
- echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
+ echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
+
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
+RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
+ apt-get update; \
apt-get install -y --no-install-recommends \
libcurl4-openssl-dev \
libfreetype6-dev \
@@ -31,11 +37,31 @@ RUN set -ex; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
- docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip pcntl; \
- pecl install APCu-5.1.10; \
- pecl install memcached-3.0.4; \
- pecl install redis-3.1.6; \
- docker-php-ext-enable apcu redis memcached; \
+ docker-php-ext-install \
+ exif \
+ gd \
+ intl \
+ ldap \
+ mbstring \
+ mcrypt \
+ mysqli \
+ opcache \
+ pcntl \
+ pdo_mysql \
+ pdo_pgsql \
+ pgsql \
+ zip \
+ ; \
+ pecl install \
+ APCu-5.1.11 \
+ memcached-3.0.4 \
+ redis-3.1.6 \
+ ; \
+ docker-php-ext-enable \
+ apcu \
+ memcached \
+ redis \
+ ; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
@@ -49,11 +75,11 @@ RUN set -ex; \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
- rm -rf /var/lib/apt/lists/*; \
- \
+ rm -rf /var/lib/apt/lists/*
+
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
- { \
+RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
@@ -63,8 +89,8 @@ RUN set -ex; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
- chown -R www-data:root /var/www/html; \
- chmod -R g=u /var/www/html
+ chown -R www-data:root /var/www; \
+ chmod -R g=u /var/www
VOLUME /var/www/html
diff --git a/nextcloud_latest/Dockerfile b/nextcloud_latest/Dockerfile
index 3008d22..c8454c7 100644
--- a/nextcloud_latest/Dockerfile
+++ b/nextcloud_latest/Dockerfile
@@ -1,20 +1,26 @@
FROM php:7.1-apache
+# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
+ \
apt-get update; \
-# install the packages we need
apt-get install -y --no-install-recommends \
rsync \
bzip2 \
busybox-static \
; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
mkdir -p /var/spool/cron/crontabs; \
- echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data; \
+ echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
+
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
+RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
+ apt-get update; \
apt-get install -y --no-install-recommends \
libcurl4-openssl-dev \
libfreetype6-dev \
@@ -31,11 +37,31 @@ RUN set -ex; \
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
- docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip pcntl; \
- pecl install APCu-5.1.10; \
- pecl install memcached-3.0.4; \
- pecl install redis-3.1.6; \
- docker-php-ext-enable apcu redis memcached; \
+ docker-php-ext-install \
+ exif \
+ gd \
+ intl \
+ ldap \
+ mbstring \
+ mcrypt \
+ mysqli \
+ opcache \
+ pcntl \
+ pdo_mysql \
+ pdo_pgsql \
+ pgsql \
+ zip \
+ ; \
+ pecl install \
+ APCu-5.1.11 \
+ memcached-3.0.4 \
+ redis-3.1.6 \
+ ; \
+ docker-php-ext-enable \
+ apcu \
+ memcached \
+ redis \
+ ; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
@@ -49,11 +75,11 @@ RUN set -ex; \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
- rm -rf /var/lib/apt/lists/*; \
- \
+ rm -rf /var/lib/apt/lists/*
+
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
- { \
+RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
@@ -63,8 +89,8 @@ RUN set -ex; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
- chown -R www-data:root /var/www/html; \
- chmod -R g=u /var/www/html
+ chown -R www-data:root /var/www; \
+ chmod -R g=u /var/www
VOLUME /var/www/html
|
Just a note that Build test of #4116; 4f2bf51; $ bashbrew build nextcloud:11.0.7-apache
Building bashbrew/cache:925950cf9958205dd366fb74efa4d420ba7f546e451b041dca25ac0fd3c4c9b1 (nextcloud:11.0.7-apache)
Tagging nextcloud:11.0.7-apache
Tagging nextcloud:11.0-apache
Tagging nextcloud:11-apache
Tagging nextcloud:11.0.7
Tagging nextcloud:11.0
Tagging nextcloud:11
$ test/run.sh nextcloud:11.0.7-apache
testing nextcloud:11.0.7-apache
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build nextcloud:11.0.7-fpm
Building bashbrew/cache:2d094f678ef1e56e268d1a2fd97024704c6696e5d6837b4ad0aaead0309b889c (nextcloud:11.0.7-fpm)
Tagging nextcloud:11.0.7-fpm
Tagging nextcloud:11.0-fpm
Tagging nextcloud:11-fpm
$ test/run.sh nextcloud:11.0.7-fpm
testing nextcloud:11.0.7-fpm
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build nextcloud:11.0.7-fpm-alpine
Building bashbrew/cache:619c5e0081578134bb7fce56a574c67418a12fbe38322caa6e60a2f8b5e190d2 (nextcloud:11.0.7-fpm-alpine)
Tagging nextcloud:11.0.7-fpm-alpine
Tagging nextcloud:11.0-fpm-alpine
Tagging nextcloud:11-fpm-alpine
$ test/run.sh nextcloud:11.0.7-fpm-alpine
testing nextcloud:11.0.7-fpm-alpine
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build nextcloud:12.0.5-apache
Building bashbrew/cache:1e71d64a91e134ad47329bc221bc9d83fa1500384f668e285640d57716c111f9 (nextcloud:12.0.5-apache)
Tagging nextcloud:12.0.5-apache
Tagging nextcloud:12.0-apache
Tagging nextcloud:12-apache
Tagging nextcloud:12.0.5
Tagging nextcloud:12.0
Tagging nextcloud:12
$ test/run.sh nextcloud:12.0.5-apache
testing nextcloud:12.0.5-apache
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build nextcloud:12.0.5-fpm
Building bashbrew/cache:089d8a2d550fb97c11febf514de53df87385423d2c20829708eb4801a745e611 (nextcloud:12.0.5-fpm)
Tagging nextcloud:12.0.5-fpm
Tagging nextcloud:12.0-fpm
Tagging nextcloud:12-fpm
$ test/run.sh nextcloud:12.0.5-fpm
testing nextcloud:12.0.5-fpm
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build nextcloud:12.0.5-fpm-alpine
Building bashbrew/cache:2a346ea007872be0b6d977caff1219f515a9d1d8fd49eb0007821c5445883c1e (nextcloud:12.0.5-fpm-alpine)
Tagging nextcloud:12.0.5-fpm-alpine
Tagging nextcloud:12.0-fpm-alpine
Tagging nextcloud:12-fpm-alpine
$ test/run.sh nextcloud:12.0.5-fpm-alpine
testing nextcloud:12.0.5-fpm-alpine
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build nextcloud:13.0.0-apache
Building bashbrew/cache:f1fd1eda0000b24fb1b775dfb22868a416f12832215699345adccdf24127b336 (nextcloud:13.0.0-apache)
Tagging nextcloud:13.0.0-apache
Tagging nextcloud:13.0-apache
Tagging nextcloud:13-apache
Tagging nextcloud:apache
Tagging nextcloud:13.0.0
Tagging nextcloud:13.0
Tagging nextcloud:13
Tagging nextcloud:latest
$ test/run.sh nextcloud:13.0.0-apache
testing nextcloud:13.0.0-apache
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build nextcloud:13.0.0-fpm
Building bashbrew/cache:aaa0d18b64f34a65a22defe137dac33457e5ecdf476b2ffc588b726f4d93c43d (nextcloud:13.0.0-fpm)
Tagging nextcloud:13.0.0-fpm
Tagging nextcloud:13.0-fpm
Tagging nextcloud:13-fpm
Tagging nextcloud:fpm
$ test/run.sh nextcloud:13.0.0-fpm
testing nextcloud:13.0.0-fpm
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build nextcloud:13.0.0-fpm-alpine
Building bashbrew/cache:05a51537c62f4030c150bb580109dcde983422795274c7ac1856af8a021a71e6 (nextcloud:13.0.0-fpm-alpine)
Tagging nextcloud:13.0.0-fpm-alpine
Tagging nextcloud:13.0-fpm-alpine
Tagging nextcloud:13-fpm-alpine
Tagging nextcloud:fpm-alpine
$ test/run.sh nextcloud:13.0.0-fpm-alpine
testing nextcloud:13.0.0-fpm-alpine
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
nextcloud/docker#259
nextcloud/docker#273
nextcloud/docker#277