aboutsummaryrefslogtreecommitdiff
path: root/tests/instrumentation/docker/courier/Dockerfile
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-07 22:27:12 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-07 22:27:12 +0100
commit152d5b7604337fe19a7aea7fc37b3d4615ca7393 (patch)
treef2e103ab694c36c5def15bf8074b34511898fada /tests/instrumentation/docker/courier/Dockerfile
parent1531600fd0a28654e588f5ce599ef86f58decea1 (diff)
downloadaerogramme-152d5b7604337fe19a7aea7fc37b3d4615ca7393.tar.gz
aerogramme-152d5b7604337fe19a7aea7fc37b3d4615ca7393.zip
add courier imap
Diffstat (limited to 'tests/instrumentation/docker/courier/Dockerfile')
-rw-r--r--tests/instrumentation/docker/courier/Dockerfile10
1 files changed, 10 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"]