mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-09 08:56:28 +00:00
Additional kopano packages can be specified on build time
This commit is contained in:
parent
44eb4c8f52
commit
2d2eaba1a5
@ -1,4 +1,4 @@
|
|||||||
# KopanoDocker
|
# Kopano Docker Image
|
||||||
Unofficial kopano docker images for all kopano services.
|
Unofficial kopano docker images for all kopano services.
|
||||||
Use kopano_core image for server/spooler/dagent/search/monitor/ical/gateway services.
|
Use kopano_core image for server/spooler/dagent/search/monitor/ical/gateway services.
|
||||||
Use kopano_webapp for web service.
|
Use kopano_webapp for web service.
|
||||||
|
@ -17,7 +17,7 @@ RUN apt-get update && \
|
|||||||
moreutils \
|
moreutils \
|
||||||
locales \
|
locales \
|
||||||
apt-transport-https \
|
apt-transport-https \
|
||||||
python3 && \
|
python3-minimal && \
|
||||||
rm -rf /var/cache/apt /var/lib/apt/lists
|
rm -rf /var/cache/apt /var/lib/apt/lists
|
||||||
|
|
||||||
RUN curl -s -S -L -o /usr/local/bin/confix https://raw.githubusercontent.com/budhash/confix/master/confix && \
|
RUN curl -s -S -L -o /usr/local/bin/confix https://raw.githubusercontent.com/budhash/confix/master/confix && \
|
||||||
@ -38,6 +38,7 @@ ARG KOPANO_REPOSITORY_BRANCH=master
|
|||||||
ARG KOPANO_CORE_REPOSITORY_URL="http://buildproxy/supported/core:/${KOPANO_REPOSITORY_BRANCH}/Debian_9.0"
|
ARG KOPANO_CORE_REPOSITORY_URL="http://buildproxy/supported/core:/${KOPANO_REPOSITORY_BRANCH}/Debian_9.0"
|
||||||
ARG KOPANO_REPOSITORY_FLAGS="trusted=yes"
|
ARG KOPANO_REPOSITORY_FLAGS="trusted=yes"
|
||||||
ARG NO_RELEASE_KEY_DOWNLOAD=0
|
ARG NO_RELEASE_KEY_DOWNLOAD=0
|
||||||
|
ARG ADDITIONAL_KOPANO_PACKAGES
|
||||||
|
|
||||||
# install kopano components
|
# install kopano components
|
||||||
RUN set -x && \
|
RUN set -x && \
|
||||||
@ -47,6 +48,7 @@ RUN set -x && \
|
|||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install --no-install-recommends -y \
|
apt-get install --no-install-recommends -y \
|
||||||
kopano-server-packages="${KOPANO_CORE_VERSION}" \
|
kopano-server-packages="${KOPANO_CORE_VERSION}" \
|
||||||
|
${ADDITIONAL_KOPANO_PACKAGES} \
|
||||||
php7.0-cli && \
|
php7.0-cli && \
|
||||||
rm -rf /var/cache/apt /var/lib/apt/lists && \
|
rm -rf /var/cache/apt /var/lib/apt/lists && \
|
||||||
cp /usr/share/doc/kopano/example-config/*.cfg /etc/kopano/ && \
|
cp /usr/share/doc/kopano/example-config/*.cfg /etc/kopano/ && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user