diff options
author | tilosp-bot <git-bot@tilosp.de> | 2020-04-16 19:24:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 17:24:34 +0000 |
commit | 546813d73fc501b558561934b6102caad3595edd (patch) | |
tree | fe4f5818724440ab49a2cbad815ebfb084224558 | |
parent | 9d807aa7ad922db546d389b672cc2344d32a6dd6 (diff) |
Run update.sh (#1078)19.0.0beta4-fpm-alpine19.0.0beta4-fpm19.0.0beta4-apache19.0.0beta418.0.4RC1-fpm-alpine18.0.4RC1-fpm18.0.4RC1-apache18.0.4RC118.0.4-rc-fpm-alpine18.0.4-rc-fpm18.0.4-rc-apache18.0.4-rc18.0-rc-fpm-alpine18.0-rc-fpm18.0-rc-apache18.0-rc18-rc-fpm-alpine18-rc-fpm18-rc-apache18-rc17.0.6RC1-fpm-alpine17.0.6RC1-fpm17.0.6RC1-apache17.0.6RC117.0.6-rc-fpm-alpine17.0.6-rc-fpm17.0.6-rc-apache17.0.6-rc17.0-rc-fpm-alpine17.0-rc-fpm17.0-rc-apache17.0-rc17-rc-fpm-alpine17-rc-fpm17-rc-apache17-rc16.0.10RC1-fpm-alpine16.0.10RC1-fpm16.0.10RC1-apache16.0.10RC116.0.10-rc-fpm-alpine16.0.10-rc-fpm16.0.10-rc-apache16.0.10-rc16.0-rc-fpm-alpine16.0-rc-fpm16.0-rc-apache16.0-rc16-rc-fpm-alpine16-rc-fpm16-rc-apache16-rc
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
97 files changed, 4065 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 7cbd8fe6..73188ae0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,6 +74,24 @@ jobs: - env: VERSION=19.0-beta VARIANT=fpm ARCH=i386 - env: VERSION=19.0-beta VARIANT=apache ARCH=amd64 - env: VERSION=19.0-beta VARIANT=apache ARCH=i386 + - env: VERSION=16.0-rc VARIANT=fpm-alpine ARCH=amd64 + - env: VERSION=16.0-rc VARIANT=fpm-alpine ARCH=i386 + - env: VERSION=16.0-rc VARIANT=fpm ARCH=amd64 + - env: VERSION=16.0-rc VARIANT=fpm ARCH=i386 + - env: VERSION=16.0-rc VARIANT=apache ARCH=amd64 + - env: VERSION=16.0-rc VARIANT=apache ARCH=i386 + - env: VERSION=17.0-rc VARIANT=fpm-alpine ARCH=amd64 + - env: VERSION=17.0-rc VARIANT=fpm-alpine ARCH=i386 + - env: VERSION=17.0-rc VARIANT=fpm ARCH=amd64 + - env: VERSION=17.0-rc VARIANT=fpm ARCH=i386 + - env: VERSION=17.0-rc VARIANT=apache ARCH=amd64 + - env: VERSION=17.0-rc VARIANT=apache ARCH=i386 + - env: VERSION=18.0-rc VARIANT=fpm-alpine ARCH=amd64 + - env: VERSION=18.0-rc VARIANT=fpm-alpine ARCH=i386 + - env: VERSION=18.0-rc VARIANT=fpm ARCH=amd64 + - env: VERSION=18.0-rc VARIANT=fpm ARCH=i386 + - env: VERSION=18.0-rc VARIANT=apache ARCH=amd64 + - env: VERSION=18.0-rc VARIANT=apache ARCH=i386 - env: VERSION=16.0 VARIANT=fpm-alpine ARCH=amd64 - env: VERSION=16.0 VARIANT=fpm-alpine ARCH=i386 - env: VERSION=16.0 VARIANT=fpm ARCH=amd64 diff --git a/16.0-rc/apache/Dockerfile b/16.0-rc/apache/Dockerfile new file mode 100644 index 00000000..8ee280ec --- /dev/null +++ b/16.0-rc/apache/Dockerfile @@ -0,0 +1,151 @@ +# DO NOT EDIT: created by update.sh from Dockerfile-debian.template +FROM php:7.3-apache-buster + +# entrypoint.sh and cron.sh dependencies +RUN set -ex; \ + \ + apt-get update; \ + 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 + +# install the PHP extensions we need +# see https://docs.nextcloud.com/server/stable/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 \ + libevent-dev \ + libfreetype6-dev \ + libicu-dev \ + libjpeg-dev \ + libldap2-dev \ + libmcrypt-dev \ + libmemcached-dev \ + libpng-dev \ + libpq-dev \ + libxml2-dev \ + libmagickwand-dev \ + libzip-dev \ + libwebp-dev \ + libgmp-dev \ + ; \ + \ + debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ + if [ ! -e /usr/include/gmp.h ]; then ln -s /usr/include/$debMultiarch/gmp.h /usr/include/gmp.h; fi;\ + docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \ + docker-php-ext-configure gmp --with-gmp="/usr/include/$debMultiarch"; \ + docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ + docker-php-ext-install -j "$(nproc)" \ + exif \ + gd \ + intl \ + ldap \ + opcache \ + pcntl \ + pdo_mysql \ + pdo_pgsql \ + zip \ + gmp \ + ; \ + \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-5.1.18; \ + pecl install memcached-3.1.5; \ + pecl install redis-4.3.0; \ + pecl install imagick-3.4.4; \ + \ + docker-php-ext-enable \ + apcu \ + memcached \ + redis \ + imagick \ + ; \ + \ +# 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/* + +# 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.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=10000'; \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.save_comments=1'; \ + echo 'opcache.revalidate_freq=1'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ + \ + echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ + \ + echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \ + \ + mkdir /var/www/data; \ + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www + +VOLUME /var/www/html + +RUN a2enmod headers rewrite remoteip ;\ + {\ + echo RemoteIPHeader X-Real-IP ;\ + echo RemoteIPTrustedProxy 10.0.0.0/8 ;\ + echo RemoteIPTrustedProxy 172.16.0.0/12 ;\ + echo RemoteIPTrustedProxy 192.168.0.0/16 ;\ + } > /etc/apache2/conf-available/remoteip.conf;\ + a2enconf remoteip + +ENV NEXTCLOUD_VERSION 16.0.10RC1 + +RUN set -ex; \ + fetchDeps=" \ + gnupg \ + dirmngr \ |