diff options
Diffstat (limited to 'tests/docker')
-rw-r--r-- | tests/docker/cyrus/Dockerfile | 15 | ||||
-rwxr-xr-x | tests/docker/cyrus/entrypoint.sh | 15 | ||||
-rw-r--r-- | tests/docker/maddy/Dockerfile | 16 | ||||
-rwxr-xr-x | tests/docker/maddy/entrypoint.sh | 9 |
4 files changed, 0 insertions, 55 deletions
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 <<EOF -cm user.test -setaclmailbox user.test test kxtelrswip -exit -EOF - -wait diff --git a/tests/docker/maddy/Dockerfile b/tests/docker/maddy/Dockerfile deleted file mode 100644 index 341e398..0000000 --- a/tests/docker/maddy/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM debian:buster as builder - -WORKDIR /root -RUN apt-get update && apt-get install -y openssl && \ - openssl req -nodes -new -x509 -subj "/C=DW/ST=Sto/L=Ankh-Morpork /O=Unseen University/OU=Library/CN=Ook/emailAddress=ook@ook.ook" -keyout privkey.pem -out fullchain.pem - -FROM foxcpp/maddy:0.6.2 - -COPY --from=builder /root/privkey.pem /data/tls/privkey.pem -COPY --from=builder /root/fullchain.pem /data/tls/fullchain.pem - -ENV MADDY_DOMAIN=example.com MADDY_HOSTNAME=mx.example.com - -COPY entrypoint.sh /entrypoint.sh - -ENTRYPOINT [ "/entrypoint.sh" ] diff --git a/tests/docker/maddy/entrypoint.sh b/tests/docker/maddy/entrypoint.sh deleted file mode 100755 index f875624..0000000 --- a/tests/docker/maddy/entrypoint.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -maddy -config /data/maddy.conf run & - -sleep 2 -maddyctl creds create --password pass test@example.com -maddyctl imap-acct create test@example.com - -wait |