mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-21 13:23:09 +00:00
use onbuild to specify building of core repository only in one place
remove ca-certificates and git from kdav image git should not be needed since kdav has a builder stage ca-certificates is already installed in an earlier stage Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
@@ -77,3 +77,11 @@ COPY create-kopano-repo.sh /kopano/helper/
|
||||
COPY kcconf.py /kopano/
|
||||
|
||||
SHELL [ "/bin/bash", "-c"]
|
||||
|
||||
ONBUILD ARG DOWNLOAD_COMMUNITY_PACKAGES=1
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user