mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
Install optional grapi dependencies (#347)
* install optional dependencies for grapi * add hadolint exception
This commit is contained in:
parent
5ed1d05fe7
commit
a0c53e15a9
@ -39,6 +39,7 @@ LABEL maintainer=az@zok.xyz \
|
|||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
# install Kopano Core and refresh ca-certificates
|
# install Kopano Core and refresh ca-certificates
|
||||||
|
# hadolint ignore=DL3015
|
||||||
RUN \
|
RUN \
|
||||||
# apt key has already been installed in base
|
# apt key has already been installed in base
|
||||||
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \
|
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) && \
|
coreversion=$(dpkg-query --showformat='${Version}' --show kopano-server) && \
|
||||||
if dpkg --compare-versions "$coreversion" "gt" "8.7.0"; then \
|
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; \
|
kopano-grapi kopano-kapid; \
|
||||||
fi && \
|
fi && \
|
||||||
if dpkg --compare-versions "$coreversion" "gt" "8.7.84"; then \
|
if dpkg --compare-versions "$coreversion" "gt" "8.7.84"; then \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user