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

Install optional grapi dependencies (#347)

* install optional dependencies for grapi
* add hadolint exception
This commit is contained in:
Felix Bartels
2020-03-06 12:47:31 +01:00
committed by GitHub
parent 5ed1d05fe7
commit a0c53e15a9
+3 -1
View File
@@ -39,6 +39,7 @@ LABEL maintainer=az@zok.xyz \
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# install Kopano Core and refresh ca-certificates
# hadolint ignore=DL3015
RUN \
# apt key has already been installed in base
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \
@@ -51,7 +52,8 @@ RUN \
&& \
coreversion=$(dpkg-query --showformat='${Version}' --show kopano-server) && \
if dpkg --compare-versions "$coreversion" "gt" "8.7.0"; then \
apt-get -o Debug::pkgProblemResolver=true install --no-install-recommends -y \
# For grapi also install recommended packages
apt-get -o Debug::pkgProblemResolver=true install -y \
kopano-grapi kopano-kapid; \
fi && \
if dpkg --compare-versions "$coreversion" "gt" "8.7.84"; then \