added okg unpack

This commit is contained in:
Andreas Balogh
2022-01-22 20:28:25 +00:00
parent 521b52e668
commit 95902543c6
6 changed files with 17 additions and 11 deletions

View File

@@ -2,17 +2,21 @@
FROM tozd/runit:ubuntu-focal
# declaration section
ARG MAIL_DOMAIN=zntrl.de
EXPOSE 80 2003
EXPOSE 80 443
EXPOSE 2003
EXPOSE 993
EXPOSE 8443
# build section
RUN apt update -y
RUN DEBIAN_FRONTEND=noninteractive TZ=Europe/Berlin apt-get install -y tzdata
# kopano
WORKDIR /root
COPY ./etc /etc
COPY dist/core-11.0.2.50.507cbae-Ubuntu_20.04-amd64.tar.gz .
COPY dist/webapp-6.0.0.57.1049268-Ubuntu_20.04-all.tar.gz .
COPY deploy-kopano.sh .
RUN ./deploy-kopano.sh
# https://documentation.kopano.io/kopanocore_administrator_manual/configure_kc_components.html#configure-kopano-dagent-for-delivery-via-unix-socket
# create run scripts in etc/service
COPY ./etc etc
# CMD ["/usr/sbin/kopano-server", "-F", "-c", "/etc/kopano/server.cfg"]
# CMD ["/usr/sbin/kopano-server", "-F", "-c", "/etc/kopano/server.cfg"]
ENTRYPOINT [""]