From ccc9b6abb66ebda0b91b4e21f8ec2fb2e87390f7 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 27 Dec 2023 18:33:06 +0100 Subject: add a --dev mode --- tests/docker/cyrus/Dockerfile | 15 --------------- tests/docker/cyrus/entrypoint.sh | 15 --------------- 2 files changed, 30 deletions(-) delete mode 100644 tests/docker/cyrus/Dockerfile delete mode 100755 tests/docker/cyrus/entrypoint.sh (limited to 'tests/docker/cyrus') diff --git a/tests/docker/cyrus/Dockerfile b/tests/docker/cyrus/Dockerfile deleted file mode 100644 index 67b4e11..0000000 --- a/tests/docker/cyrus/Dockerfile +++ /dev/null @@ -1,15 +0,0 @@ -FROM debian:buster - -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 /run/cyrus && \ - chown -R cyrus:mail /run/cyrus - -COPY entrypoint.sh /usr/local/bin/entrypoint.sh - -CMD [ "/usr/local/bin/entrypoint.sh" ] - diff --git a/tests/docker/cyrus/entrypoint.sh b/tests/docker/cyrus/entrypoint.sh deleted file mode 100755 index c410e9d..0000000 --- a/tests/docker/cyrus/entrypoint.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -cyrmaster -D -l 32 -C /etc/imapd.conf -M /etc/cyrus.conf & -sleep 2 - -echo cyrus | saslpasswd2 -p cyrus -echo pass | saslpasswd2 -p test - -cyradm -u cyrus -w cyrus 127.0.0.1 <