mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-22 05:42:54 +00:00
add new parameters to the onbuild step
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
+5
-2
@@ -79,9 +79,12 @@ COPY kcconf.py /kopano/
|
|||||||
SHELL [ "/bin/bash", "-c"]
|
SHELL [ "/bin/bash", "-c"]
|
||||||
|
|
||||||
ONBUILD ARG DOWNLOAD_COMMUNITY_PACKAGES=1
|
ONBUILD ARG DOWNLOAD_COMMUNITY_PACKAGES=1
|
||||||
|
ONBUILD ARG DOWNLOAD_DISTRIBUTION="Debian_10"
|
||||||
|
ONBUILD ARG DOWNLOAD_CHANNEL="community"
|
||||||
|
ONBUILD ARG DOWNLOAD_BRANCH=""
|
||||||
ONBUILD RUN \
|
ONBUILD RUN \
|
||||||
# community download and package as apt source repository
|
# community download and package as apt source repository
|
||||||
. /kopano/helper/create-kopano-repo.sh && \
|
. /kopano/helper/create-kopano-repo.sh && \
|
||||||
if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then \
|
if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then \
|
||||||
dl_and_package_community "core" "Debian_10"; \
|
dl_and_package_community "core" "$DOWNLOAD_DISTRIBUTION" "$DOWNLOAD_CHANNEL" "$DOWNLOAD_BRANCH"; \
|
||||||
fi;
|
fi
|
||||||
Reference in New Issue
Block a user