From 90e26ea9d17ffc7feef8ec60041f81f251dcf763 Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Mon, 14 Oct 2019 11:25:39 +0200 Subject: [PATCH] add new parameters to the onbuild step Signed-off-by: Felix Bartels --- base/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index f7e797e..116071c 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -79,9 +79,12 @@ COPY kcconf.py /kopano/ SHELL [ "/bin/bash", "-c"] ONBUILD ARG DOWNLOAD_COMMUNITY_PACKAGES=1 +ONBUILD ARG DOWNLOAD_DISTRIBUTION="Debian_10" +ONBUILD ARG DOWNLOAD_CHANNEL="community" +ONBUILD ARG DOWNLOAD_BRANCH="" ONBUILD RUN \ # community download and package as apt source repository . /kopano/helper/create-kopano-repo.sh && \ if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then \ - dl_and_package_community "core" "Debian_10"; \ - fi; + dl_and_package_community "core" "$DOWNLOAD_DISTRIBUTION" "$DOWNLOAD_CHANNEL" "$DOWNLOAD_BRANCH"; \ + fi \ No newline at end of file