mirror of
https://github.com/nextcloud/docker.git
synced 2025-02-09 04:38:27 +01:00
Run update.sh (#1132)
* Run update.sh Signed-off-by: tilosp-bot <git-bot@tilosp.de> * Run update.sh Signed-off-by: tilosp-bot <git-bot@tilosp.de> * Run update.sh Signed-off-by: tilosp-bot <git-bot@tilosp.de> * Add bmath for 19.0 (fix ##1122 and #1137) Signed-off-by: J0WI <J0WI@users.noreply.github.com> Co-authored-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
ba1500b05e
commit
a229b17bca
45 changed files with 40 additions and 26 deletions
14
.travis.yml
14
.travis.yml
|
@ -68,13 +68,7 @@ jobs:
|
||||||
- travis_retry ./generate-stackbrew-library.sh
|
- travis_retry ./generate-stackbrew-library.sh
|
||||||
|
|
||||||
- stage: test images
|
- stage: test images
|
||||||
env: VERSION=19.0-rc VARIANT=fpm-alpine ARCH=amd64
|
env: VERSION=16.0 VARIANT=fpm-alpine ARCH=amd64
|
||||||
- env: VERSION=19.0-rc VARIANT=fpm-alpine ARCH=i386
|
|
||||||
- env: VERSION=19.0-rc VARIANT=fpm ARCH=amd64
|
|
||||||
- env: VERSION=19.0-rc VARIANT=fpm ARCH=i386
|
|
||||||
- env: VERSION=19.0-rc VARIANT=apache ARCH=amd64
|
|
||||||
- env: VERSION=19.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-alpine ARCH=i386
|
||||||
- env: VERSION=16.0 VARIANT=fpm ARCH=amd64
|
- env: VERSION=16.0 VARIANT=fpm ARCH=amd64
|
||||||
- env: VERSION=16.0 VARIANT=fpm ARCH=i386
|
- env: VERSION=16.0 VARIANT=fpm ARCH=i386
|
||||||
|
@ -92,3 +86,9 @@ jobs:
|
||||||
- env: VERSION=18.0 VARIANT=fpm ARCH=i386
|
- env: VERSION=18.0 VARIANT=fpm ARCH=i386
|
||||||
- env: VERSION=18.0 VARIANT=apache ARCH=amd64
|
- env: VERSION=18.0 VARIANT=apache ARCH=amd64
|
||||||
- env: VERSION=18.0 VARIANT=apache ARCH=i386
|
- env: VERSION=18.0 VARIANT=apache ARCH=i386
|
||||||
|
- env: VERSION=19.0 VARIANT=fpm-alpine ARCH=amd64
|
||||||
|
- env: VERSION=19.0 VARIANT=fpm-alpine ARCH=i386
|
||||||
|
- env: VERSION=19.0 VARIANT=fpm ARCH=amd64
|
||||||
|
- env: VERSION=19.0 VARIANT=fpm ARCH=i386
|
||||||
|
- env: VERSION=19.0 VARIANT=apache ARCH=amd64
|
||||||
|
- env: VERSION=19.0 VARIANT=apache ARCH=i386
|
||||||
|
|
|
@ -115,7 +115,7 @@ RUN a2enmod headers rewrite remoteip ;\
|
||||||
} > /etc/apache2/conf-available/remoteip.conf;\
|
} > /etc/apache2/conf-available/remoteip.conf;\
|
||||||
a2enconf remoteip
|
a2enconf remoteip
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 16.0.10
|
ENV NEXTCLOUD_VERSION 16.0.11
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
fetchDeps=" \
|
fetchDeps=" \
|
||||||
|
|
|
@ -94,7 +94,7 @@ RUN { \
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 16.0.10
|
ENV NEXTCLOUD_VERSION 16.0.11
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk add --no-cache --virtual .fetch-deps \
|
apk add --no-cache --virtual .fetch-deps \
|
||||||
|
|
|
@ -107,7 +107,7 @@ RUN { \
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 16.0.10
|
ENV NEXTCLOUD_VERSION 16.0.11
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
fetchDeps=" \
|
fetchDeps=" \
|
||||||
|
|
|
@ -115,7 +115,7 @@ RUN a2enmod headers rewrite remoteip ;\
|
||||||
} > /etc/apache2/conf-available/remoteip.conf;\
|
} > /etc/apache2/conf-available/remoteip.conf;\
|
||||||
a2enconf remoteip
|
a2enconf remoteip
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 17.0.6
|
ENV NEXTCLOUD_VERSION 17.0.7
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
fetchDeps=" \
|
fetchDeps=" \
|
||||||
|
|
|
@ -94,7 +94,7 @@ RUN { \
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 17.0.6
|
ENV NEXTCLOUD_VERSION 17.0.7
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk add --no-cache --virtual .fetch-deps \
|
apk add --no-cache --virtual .fetch-deps \
|
||||||
|
|
|
@ -107,7 +107,7 @@ RUN { \
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 17.0.6
|
ENV NEXTCLOUD_VERSION 17.0.7
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
fetchDeps=" \
|
fetchDeps=" \
|
||||||
|
|
|
@ -115,7 +115,7 @@ RUN a2enmod headers rewrite remoteip ;\
|
||||||
} > /etc/apache2/conf-available/remoteip.conf;\
|
} > /etc/apache2/conf-available/remoteip.conf;\
|
||||||
a2enconf remoteip
|
a2enconf remoteip
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 18.0.4
|
ENV NEXTCLOUD_VERSION 18.0.5
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
fetchDeps=" \
|
fetchDeps=" \
|
||||||
|
|
|
@ -94,7 +94,7 @@ RUN { \
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 18.0.4
|
ENV NEXTCLOUD_VERSION 18.0.5
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk add --no-cache --virtual .fetch-deps \
|
apk add --no-cache --virtual .fetch-deps \
|
||||||
|
|
|
@ -107,7 +107,7 @@ RUN { \
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 18.0.4
|
ENV NEXTCLOUD_VERSION 18.0.5
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
fetchDeps=" \
|
fetchDeps=" \
|
||||||
|
|
|
@ -44,6 +44,7 @@ RUN set -ex; \
|
||||||
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
||||||
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
|
bcmath \
|
||||||
exif \
|
exif \
|
||||||
gd \
|
gd \
|
||||||
intl \
|
intl \
|
||||||
|
@ -113,7 +114,7 @@ RUN a2enmod headers rewrite remoteip ;\
|
||||||
} > /etc/apache2/conf-available/remoteip.conf;\
|
} > /etc/apache2/conf-available/remoteip.conf;\
|
||||||
a2enconf remoteip
|
a2enconf remoteip
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 19.0.0RC3
|
ENV NEXTCLOUD_VERSION 19.0.0
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
fetchDeps=" \
|
fetchDeps=" \
|
||||||
|
@ -124,9 +125,9 @@ RUN set -ex; \
|
||||||
apt-get install -y --no-install-recommends $fetchDeps; \
|
apt-get install -y --no-install-recommends $fetchDeps; \
|
||||||
\
|
\
|
||||||
curl -fsSL -o nextcloud.tar.bz2 \
|
curl -fsSL -o nextcloud.tar.bz2 \
|
||||||
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
|
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
|
||||||
curl -fsSL -o nextcloud.tar.bz2.asc \
|
curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||||
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2.asc"; \
|
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2.asc"; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
# gpg key from https://nextcloud.com/nextcloud.asc
|
# gpg key from https://nextcloud.com/nextcloud.asc
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
|
@ -38,6 +38,7 @@ RUN set -ex; \
|
||||||
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
||||||
docker-php-ext-configure ldap; \
|
docker-php-ext-configure ldap; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
|
bcmath \
|
||||||
exif \
|
exif \
|
||||||
gd \
|
gd \
|
||||||
intl \
|
intl \
|
||||||
|
@ -94,7 +95,7 @@ RUN { \
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 19.0.0RC3
|
ENV NEXTCLOUD_VERSION 19.0.0
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk add --no-cache --virtual .fetch-deps \
|
apk add --no-cache --virtual .fetch-deps \
|
||||||
|
@ -103,9 +104,9 @@ RUN set -ex; \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
curl -fsSL -o nextcloud.tar.bz2 \
|
curl -fsSL -o nextcloud.tar.bz2 \
|
||||||
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
|
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
|
||||||
curl -fsSL -o nextcloud.tar.bz2.asc \
|
curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||||
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2.asc"; \
|
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2.asc"; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
# gpg key from https://nextcloud.com/nextcloud.asc
|
# gpg key from https://nextcloud.com/nextcloud.asc
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
|
@ -44,6 +44,7 @@ RUN set -ex; \
|
||||||
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
||||||
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
|
bcmath \
|
||||||
exif \
|
exif \
|
||||||
gd \
|
gd \
|
||||||
intl \
|
intl \
|
||||||
|
@ -105,7 +106,7 @@ RUN { \
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 19.0.0RC3
|
ENV NEXTCLOUD_VERSION 19.0.0
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
fetchDeps=" \
|
fetchDeps=" \
|
||||||
|
@ -116,9 +117,9 @@ RUN set -ex; \
|
||||||
apt-get install -y --no-install-recommends $fetchDeps; \
|
apt-get install -y --no-install-recommends $fetchDeps; \
|
||||||
\
|
\
|
||||||
curl -fsSL -o nextcloud.tar.bz2 \
|
curl -fsSL -o nextcloud.tar.bz2 \
|
||||||
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
|
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
|
||||||
curl -fsSL -o nextcloud.tar.bz2.asc \
|
curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||||
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2.asc"; \
|
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2.asc"; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
# gpg key from https://nextcloud.com/nextcloud.asc
|
# gpg key from https://nextcloud.com/nextcloud.asc
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
|
@ -37,6 +37,7 @@ RUN set -ex; \
|
||||||
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
||||||
docker-php-ext-configure ldap; \
|
docker-php-ext-configure ldap; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
|
bcmath \
|
||||||
exif \
|
exif \
|
||||||
gd \
|
gd \
|
||||||
intl \
|
intl \
|
||||||
|
|
|
@ -45,6 +45,7 @@ RUN set -ex; \
|
||||||
docker-php-ext-configure gmp --with-gmp="/usr/include/$debMultiarch"; \
|
docker-php-ext-configure gmp --with-gmp="/usr/include/$debMultiarch"; \
|
||||||
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
|
bcmath \
|
||||||
exif \
|
exif \
|
||||||
gd \
|
gd \
|
||||||
intl \
|
intl \
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
18.0.4
|
19.0.0
|
||||||
|
|
|
@ -147,6 +147,15 @@ function create_variant() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case "$version" in
|
||||||
|
16.*|17.*|18.* )
|
||||||
|
sed -ri -e '
|
||||||
|
\@bcmath@d;
|
||||||
|
' "$dir/Dockerfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
esac
|
||||||
|
|
||||||
# Copy the shell scripts
|
# Copy the shell scripts
|
||||||
for name in entrypoint cron; do
|
for name in entrypoint cron; do
|
||||||
cp "docker-$name.sh" "$dir/$name.sh"
|
cp "docker-$name.sh" "$dir/$name.sh"
|
||||||
|
|
Loading…
Reference in a new issue