mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-23 15:48:05 +02:00
Compare commits
5 commits
118d42480b
...
a4191b22f1
Author | SHA1 | Date | |
---|---|---|---|
|
a4191b22f1 | ||
|
2d45183b8d | ||
|
99ddd09783 | ||
|
cf1df9f1cc | ||
|
55aa61ac98 |
8 changed files with 70 additions and 24 deletions
|
@ -140,7 +140,7 @@ RUN { \
|
||||||
} > /etc/apache2/conf-available/apache-limits.conf; \
|
} > /etc/apache2/conf-available/apache-limits.conf; \
|
||||||
a2enconf apache-limits
|
a2enconf apache-limits
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 29.0.8
|
ENV NEXTCLOUD_VERSION 29.0.10
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
fetchDeps=" \
|
fetchDeps=" \
|
||||||
|
@ -150,8 +150,8 @@ RUN set -ex; \
|
||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends $fetchDeps; \
|
apt-get install -y --no-install-recommends $fetchDeps; \
|
||||||
\
|
\
|
||||||
curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-29.0.8.tar.bz2"; \
|
curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-29.0.10.tar.bz2"; \
|
||||||
curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-29.0.8.tar.bz2.asc"; \
|
curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-29.0.10.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 keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
||||||
|
|
|
@ -120,7 +120,7 @@ RUN { \
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 29.0.8
|
ENV NEXTCLOUD_VERSION 29.0.10
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk add --no-cache --virtual .fetch-deps \
|
apk add --no-cache --virtual .fetch-deps \
|
||||||
|
@ -128,8 +128,8 @@ RUN set -ex; \
|
||||||
gnupg \
|
gnupg \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-29.0.8.tar.bz2"; \
|
curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-29.0.10.tar.bz2"; \
|
||||||
curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-29.0.8.tar.bz2.asc"; \
|
curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-29.0.10.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 keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
||||||
|
|
|
@ -125,7 +125,7 @@ RUN { \
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 29.0.8
|
ENV NEXTCLOUD_VERSION 29.0.10
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
fetchDeps=" \
|
fetchDeps=" \
|
||||||
|
@ -135,8 +135,8 @@ RUN set -ex; \
|
||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends $fetchDeps; \
|
apt-get install -y --no-install-recommends $fetchDeps; \
|
||||||
\
|
\
|
||||||
curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-29.0.8.tar.bz2"; \
|
curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-29.0.10.tar.bz2"; \
|
||||||
curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-29.0.8.tar.bz2.asc"; \
|
curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-29.0.10.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 keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
||||||
|
|
12
README.md
12
README.md
|
@ -1,17 +1,5 @@
|
||||||
# What is Nextcloud?
|
# What is Nextcloud?
|
||||||
|
|
||||||
[](https://github.com/nextcloud/docker/actions?query=workflow%3AImages)
|
|
||||||
[](https://github.com/nextcloud/docker/actions?query=workflow%3Aupdate.sh)
|
|
||||||
[](https://doi-janky.infosiftr.net/job/multiarch/job/amd64/job/nextcloud)
|
|
||||||
[](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/nextcloud)
|
|
||||||
[](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/nextcloud)
|
|
||||||
[](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/nextcloud)
|
|
||||||
[](https://doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/nextcloud)
|
|
||||||
[](https://doi-janky.infosiftr.net/job/multiarch/job/i386/job/nextcloud)
|
|
||||||
[](https://doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/nextcloud)
|
|
||||||
[](https://doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/nextcloud)
|
|
||||||
[](https://doi-janky.infosiftr.net/job/multiarch/job/s390x/job/nextcloud)
|
|
||||||
|
|
||||||
A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
|
A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
|
||||||
|
|
||||||

|

|
||||||
|
|
|
@ -70,6 +70,24 @@ latest=$( cat latest.txt )
|
||||||
versions=( */ )
|
versions=( */ )
|
||||||
versions=( "${versions[@]%/}" )
|
versions=( "${versions[@]%/}" )
|
||||||
for version in "${versions[@]}"; do
|
for version in "${versions[@]}"; do
|
||||||
|
|
||||||
|
if [ "$version" = "notify_push" ]; then
|
||||||
|
commit="$(dockerfileCommit "$version")"
|
||||||
|
fullversion="$( awk '$1 == "ENV" && $2 == "NOTIFY_PUSH_VERSION" { print $3; exit }' "$version/Dockerfile" )"
|
||||||
|
versionAliases=( "$fullversion" "${fullversion%.*}" "${fullversion%.*.*}" )
|
||||||
|
variantAliases=( "${versionAliases[@]/%/-$version}" $version )
|
||||||
|
|
||||||
|
cat <<-EOE
|
||||||
|
|
||||||
|
Tags: $(join ', ' "${variantAliases[@]}")
|
||||||
|
Architectures: amd64, arm32v7, arm64v8
|
||||||
|
GitCommit: $commit
|
||||||
|
Directory: $version
|
||||||
|
EOE
|
||||||
|
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
variants=( $version/*/ )
|
variants=( $version/*/ )
|
||||||
variants=( $(for variant in "${variants[@]%/}"; do
|
variants=( $(for variant in "${variants[@]%/}"; do
|
||||||
echo "$(basename "$variant")"
|
echo "$(basename "$variant")"
|
||||||
|
|
27
notify_push/Dockerfile
Normal file
27
notify_push/Dockerfile
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
FROM alpine:3.13
|
||||||
|
|
||||||
|
RUN apk add --no-cache ca-certificates
|
||||||
|
|
||||||
|
# https://github.com/nextcloud/notify_push/releases
|
||||||
|
ENV NOTIFY_PUSH_VERSION 0.1.6
|
||||||
|
|
||||||
|
RUN set -ex; \
|
||||||
|
\
|
||||||
|
apkArch="$(apk --print-arch)"; \
|
||||||
|
npTriplet="unknown-linux-musl"; \
|
||||||
|
case "$apkArch" in \
|
||||||
|
aarch64|x86_64) npArch="$apkArch" ;; \
|
||||||
|
armv7) npArch="$apkArch"; $npTriplet="${npTriplet}-eabihf" ;; \
|
||||||
|
*) echo >&2 "error: unsupported arch: $apkArch"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
|
\
|
||||||
|
wget -O /usr/local/bin/notify_push "https://github.com/nextcloud/notify_push/releases/download/v${NOTIFY_PUSH_VERSION}/notify_push-$npArch-$npTriplet"; \
|
||||||
|
\
|
||||||
|
chmod +x /usr/local/bin/notify_push; \
|
||||||
|
notify_push --version
|
||||||
|
|
||||||
|
USER nobody
|
||||||
|
|
||||||
|
EXPOSE 7867
|
||||||
|
|
||||||
|
CMD ["notify_push"]
|
13
update.sh
13
update.sh
|
@ -71,6 +71,16 @@ imagick_version="$(
|
||||||
| tail -1
|
| tail -1
|
||||||
)"
|
)"
|
||||||
|
|
||||||
|
notify_push_version="$(
|
||||||
|
git ls-remote --tags https://github.com/nextcloud/notify_push.git \
|
||||||
|
| cut -d/ -f3 \
|
||||||
|
| grep -vE -- '-rc|-b' \
|
||||||
|
| tr -d '^{}' \
|
||||||
|
| sed -E 's/^v//' \
|
||||||
|
| sort -V \
|
||||||
|
| tail -1
|
||||||
|
)"
|
||||||
|
|
||||||
declare -A pecl_versions=(
|
declare -A pecl_versions=(
|
||||||
[APCu]="$apcu_version"
|
[APCu]="$apcu_version"
|
||||||
[memcached]="$memcached_version"
|
[memcached]="$memcached_version"
|
||||||
|
@ -179,3 +189,6 @@ for version in "${versions[@]}"; do
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "updating notify_push $notify_push_version"
|
||||||
|
sed -re 's/^ENV NOTIFY_PUSH_VERSION .*$/ENV NOTIFY_PUSH_VERSION '"$notify_push_version"'/;' -i "notify_push/Dockerfile"
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
},
|
},
|
||||||
"29": {
|
"29": {
|
||||||
"branch": "29",
|
"branch": "29",
|
||||||
"version": "29.0.8",
|
"version": "29.0.10",
|
||||||
"url": "https://download.nextcloud.com/server/releases/nextcloud-29.0.8.tar.bz2",
|
"url": "https://download.nextcloud.com/server/releases/nextcloud-29.0.10.tar.bz2",
|
||||||
"ascUrl": "https://download.nextcloud.com/server/releases/nextcloud-29.0.8.tar.bz2.asc",
|
"ascUrl": "https://download.nextcloud.com/server/releases/nextcloud-29.0.10.tar.bz2.asc",
|
||||||
"variants": {
|
"variants": {
|
||||||
"apache": {
|
"apache": {
|
||||||
"variant": "apache",
|
"variant": "apache",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue