mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-14 18:03:02 +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:
@@ -31,15 +31,9 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
||||
# hadolint ignore=SC2129
|
||||
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"; \
|
||||
fi; \
|
||||
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \
|
||||
# install
|
||||
set -x && \
|
||||
#apt-get update && apt-get -s -o Debug::pkgProblemResolver=yes install libical2 \
|
||||
apt-get update && apt-get install -y --no-install-recommends \
|
||||
python3-kopano \
|
||||
${ADDITIONAL_KOPANO_PACKAGES} \
|
||||
|
||||
Reference in New Issue
Block a user