summaryrefslogtreecommitdiffstats
path: root/Dockerfile-debian.template
diff options
context:
space:
mode:
authorDaniel Rudolf <github.com@daniel-rudolf.de>2023-05-31 14:13:56 +0200
committerGitHub <noreply@github.com>2023-05-31 12:13:56 +0000
commit570ac60ed20c5197eb050c8ec55eae5d9c3e58eb (patch)
tree1d2f324f5ab2c264a22032dd2f8ddbbd387ef5bc /Dockerfile-debian.template
parentf2c8cb599e6b1fbf750aee93dd3ce60889e02487 (diff)
Add versions.json (#1995)
* Add %%DEBIAN_VERSION%% placeholder Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de> * Replace %%BASE_DOWNLOAD_URL%% placeholder by %%DOWNLOAD_URL{_ASC}%% Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de> * Add version.json 'versions.json' contains information about the latest branches and variants. It is managed by `./update.sh`, there's no need to edit this file manually, just run `./update.sh`. Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de> * Run update.sh Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de> --------- Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
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; \