1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

Fix build for official and supported releases (#15)

* Fix build for official and supported releases
* Fix config generation: skip missing config files
* kopano-search ignores KOPANO_CONFIG_PATH env var
* Use kopano core 8.7 by default
* Include APT release key in this repo
* Copy APT release key into image
This commit is contained in:
h44z
2020-06-08 12:17:57 +02:00
committed by GitHub
parent 1120a8e08b
commit 4effa19d91
14 changed files with 68 additions and 20 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# install Kopano Core and refresh ca-certificates
# hadolint currently does not understand the extended buildkit syntax https://github.com/hadolint/hadolint/issues/347
# hadolint ignore=SC2215,DL3015
RUN --mount=type=secret,id=repocred,dst=/etc/apt/apt_auth.conf \
RUN --mount=type=secret,id=repocred,target=/etc/apt/auth.conf.d/kopano.conf \
# apt key for this repo has already been installed in base
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \
# install
+1 -1
View File
@@ -241,7 +241,7 @@ search)
if dpkg --compare-versions "$searchversion" "gt" "8.7.82.165"; then
exec "$EXE" --config /tmp/kopano/search.cfg
else
exec /usr/bin/python3 "$EXE" -F
exec /usr/bin/python3 "$EXE" --config /tmp/kopano/search.cfg -F
fi
;;
spooler)