aboutsummaryrefslogtreecommitdiff
path: root/tests/instrumentation/docker/cyrus/Dockerfile
blob: 54c18a1cfb768002851c4d6e373715638e3a970c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 && \
    mkdir -p /run/cyrus && \
    chown -R cyrus:mail /run/cyrus

COPY entrypoint.sh /usr/local/bin/entrypoint.sh

CMD [ "/usr/local/bin/entrypoint.sh" ]