1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-14 10:52:49 +02:00
mailcow-dockerized/data/Dockerfiles/sogo/Dockerfile
2016-12-14 15:53:00 +01:00

23 lines
576 B
Docker

FROM debian:jessie
MAINTAINER Andre Peters <andre.peters@servercow.de>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get -y --force-yes install apt-transport-https \
&& apt-key adv --keyserver keys.gnupg.net --recv-key 0x810273C4 \
&& echo "deb http://packages.inverse.ca/SOGo/nightly/3/debian/ jessie jessie" > /etc/apt/sources.list.d/sogo.list \
&& apt-get update \
&& apt-get -y --force-yes install sogo sogo-activesync
USER sogo
COPY ./docker-entrypoint.sh /
USER sogo
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["/usr/sbin/sogod"]
EXPOSE 20000