diff options
author | Quentin <quentin@dufour.io> | 2024-01-08 10:39:15 +0000 |
---|---|---|
committer | Quentin <quentin@dufour.io> | 2024-01-08 10:39:15 +0000 |
commit | 42a54b2c500294c594f3efdd25db28c18f5ac238 (patch) | |
tree | e43a11753472f1917ce4aa6ddba24ae3a513bd50 /tests/instrumentation/docker/courier | |
parent | 72f9a221ed2318d8ca3452b6574c900be923d3d5 (diff) | |
parent | 152d5b7604337fe19a7aea7fc37b3d4615ca7393 (diff) | |
download | aerogramme-42a54b2c500294c594f3efdd25db28c18f5ac238.tar.gz aerogramme-42a54b2c500294c594f3efdd25db28c18f5ac238.zip |
Merge branch 'main' into feat/search
Diffstat (limited to 'tests/instrumentation/docker/courier')
-rw-r--r-- | tests/instrumentation/docker/courier/Dockerfile | 10 | ||||
-rwxr-xr-x | tests/instrumentation/docker/courier/entrypoint.sh | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/instrumentation/docker/courier/Dockerfile b/tests/instrumentation/docker/courier/Dockerfile new file mode 100644 index 0000000..08230e7 --- /dev/null +++ b/tests/instrumentation/docker/courier/Dockerfile @@ -0,0 +1,10 @@ +FROM debian:sid + +RUN apt-get update +RUN apt-get install -y courier-imap +RUN useradd -m debian -p '$1$B8Mq5Hki$fg5f4SndVNWsfq.mJiqbI0' +USER debian +RUN maildirmake /home/debian/Maildir +USER root +COPY ./entrypoint.sh /entrypoint +ENTRYPOINT ["/entrypoint"] diff --git a/tests/instrumentation/docker/courier/entrypoint.sh b/tests/instrumentation/docker/courier/entrypoint.sh new file mode 100755 index 0000000..e95973a --- /dev/null +++ b/tests/instrumentation/docker/courier/entrypoint.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + + +/usr/lib/courier/courier-authlib/authdaemond & +/usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -access=/etc/courier/imapaccess.dat -nodnslookup -noidentlookup 143 /usr/lib/courier/courier/imaplogin /usr/bin/imapd Maildir |