mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-19 04:12:54 +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:
@@ -32,11 +32,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# add install common php dependencies
|
||||
# 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" "Debian_10"; \
|
||||
fi; \
|
||||
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \
|
||||
# install
|
||||
set -x && \
|
||||
|
||||
Reference in New Issue
Block a user