aerogramme/tests/instrumentation/docker/cyrus/Dockerfile

16 lines
473 B
Text
Raw Normal View History

2024-01-07 20:53:28 +00:00
FROM debian:sid
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update && \
apt install -y cyrus-imapd cyrus-pop3d cyrus-nntpd cyrus-caldav cyrus-admin sasl2-bin && \
echo "admins: cyrus" >> /etc/imapd.conf && \
touch /var/lib/cyrus/tls_sessions.db && \
chown cyrus:mail /var/lib/cyrus/tls_sessions.db && \
2024-01-07 20:53:28 +00:00
mkdir -p /run/cyrus && \
chown -R cyrus:mail /run/cyrus
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
CMD [ "/usr/local/bin/entrypoint.sh" ]