summaryrefslogtreecommitdiffstats
path: root/Dockerfile-debian.template
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile-debian.template')
-rw-r--r--Dockerfile-debian.template8
1 files changed, 3 insertions, 5 deletions
diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template
index d3fb81ee..4a9d975f 100644
--- a/Dockerfile-debian.template
+++ b/Dockerfile-debian.template
@@ -1,4 +1,4 @@
-FROM php:%%PHP_VERSION%%-%%VARIANT%%-bullseye
+FROM php:%%PHP_VERSION%%-%%VARIANT%%-%%DEBIAN_VERSION%%
# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
@@ -127,10 +127,8 @@ RUN set -ex; \
apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \
\
- curl -fsSL -o nextcloud.tar.bz2 \
- "%%BASE_DOWNLOAD_URL%%/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
- curl -fsSL -o nextcloud.tar.bz2.asc \
- "%%BASE_DOWNLOAD_URL%%/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2.asc"; \
+ curl -fsSL -o nextcloud.tar.bz2 "%%DOWNLOAD_URL%%"; \
+ curl -fsSL -o nextcloud.tar.bz2.asc "%%DOWNLOAD_URL_ASC%%"; \
export GNUPGHOME="$(mktemp -d)"; \
# gpg key from https://nextcloud.com/nextcloud.asc
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \