| # debian.sh --arch 'amd64' out/ 'bullseye' '@1734912000' |
| MAINTAINER Alexander Freynik <docker@beyondedge.de> |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get update -q # buildkit |
| RUN /bin/sh -c apt-get upgrade -qy # buildkit |
| RUN /bin/sh -c apt-get install curl cryptsetup lsof locales lsb-release sysstat supervisor -qy # buildkit |
| RUN /bin/sh -c curl -L https://cdn.kerio.com/dwn/connect/connect-10.0.6-8550/kerio-connect-10.0.6-8550-p2-linux-amd64.deb > /tmp/kerio-connect-linux-64bit.deb # buildkit |
| RUN /bin/sh -c dpkg -i /tmp/kerio-connect-linux-64bit.deb || true # buildkit |
| RUN /bin/sh -c mkdir -p /var/log/supervisord # buildkit |
| RUN /bin/sh -c locale-gen en_US.utf8 # buildkit |
| RUN /bin/sh -c locale-gen de_DE.utf8 # buildkit |
| ADD /etc/supervisor/conf.d/supervisord.conf /etc/supervisor/conf.d/supervisord.conf # buildkit |
| ADD /etc/init.d/kerio-connect /etc/init.d/kerio-connect # buildkit |
| RUN /bin/sh -c chmod +x /etc/init.d/kerio-connect # buildkit |
| EXPOSE map[110/tcp:{} 119/tcp:{} 143/tcp:{} 25/tcp:{} 389/tcp:{} 4040/tcp:{} 465/tcp:{} 5222/tcp:{} 5223/tcp:{} 563/tcp:{} 587/tcp:{} 636/tcp:{} 8800/tcp:{} 8843/tcp:{} 993/tcp:{} 995/tcp:{}] |
| ENTRYPOINT ["/usr/bin/supervisord"] |
| CMD ["-c" "/etc/supervisor/conf.d/supervisord.conf"] |