official-images
official-images copied to clipboard
Dovecot 2.3.20
Add Dovecot to official images list.
PR for docs https://github.com/docker-library/docs/pull/2258
Closes https://github.com/dovecot/docker/issues/2
Checklist for Review
NOTE: This checklist is intended for the use of the Official Images maintainers both to track the status of your PR and to help inform you and others of where we're at. As such, please leave the "checking" of items to the repository maintainers. If there is a point below for which you would like to provide additional information or note completion, please do so by commenting on the PR. Thanks! (and thanks for staying patient with us :heart:)
- [ ] associated with or contacted upstream?
- [ ] available under an OSI-approved license?
- [ ] does it fit into one of the common categories? ("service", "language stack", "base distribution")
- [ ] is it reasonably popular, or does it solve a particular use case well?
- [ ] does a documentation PR exist? (should be reviewed and merged at roughly the same time so that we don't have an empty image page on the Hub for very long)
- [ ] official-images maintainer dockerization review for best practices and cache gotchas/improvements (ala the official review guidelines)?
- [ ] 2+ official-images maintainer dockerization review?
- [ ] existing official images have been considered as a base? (ie, if
foobar
needs Node.js, hasFROM node:...
instead of grabbingnode
via other means been considered?) - [ ] if
FROM scratch
, tarballs only exist in a single commit within the associated history? - [ ] passes current tests? any simple new tests that might be appropriate to add? (https://github.com/docker-library/official-images/tree/master/test)
Diff for ff797d9f42696df0d05c9929b4be130596c13996:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index bdfae4a..235c27d 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -1 +1,10 @@
-Maintainers: New Image! :D (@docker-library-bot)
+Maintainers: Aki Tuomi <[email protected]> (@cmouse), Timo Sirainen <[email protected]> (@sirainen)
+GitRepo: https://github.com/dovecot/docker.git
+
+Tags: 2.3.19.1
+GitCommit: 981a44e65e2c375a5f35d58605e2704ccd7e987e
+Directory: 2.3.19.1
+
+Tags: 2.3.20, 2.3, latest
+GitCommit: 981a44e65e2c375a5f35d58605e2704ccd7e987e
+Directory: 2.3.20
diff --git a/_bashbrew-list b/_bashbrew-list
index e69de29..e58d98e 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -0,0 +1,4 @@
+dovecot:2.3
+dovecot:2.3.19.1
+dovecot:2.3.20
+dovecot:latest
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index e69de29..49fb93b 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -0,0 +1,2 @@
+dovecot:2.3.19.1
+dovecot:latest
diff --git a/dovecot_2.3.19.1/Dockerfile b/dovecot_2.3.19.1/Dockerfile
new file mode 100644
index 0000000..8106756
--- /dev/null
+++ b/dovecot_2.3.19.1/Dockerfile
@@ -0,0 +1,46 @@
+FROM debian:11
+
+LABEL org.opencontainers.image.authors="[email protected]"
+
+ENV container=docker \
+ LC_ALL=C
+ARG DEBIAN_FRONTEND=noninteractive
+
+ADD dovecot.gpg /etc/apt/trusted.gpg.d
+ADD dovecot.list /etc/apt/sources.list.d
+
+RUN apt-get -y update && apt-get -y install \
+ tini \
+ dovecot-core \
+ dovecot-gssapi \
+ dovecot-imapd \
+ dovecot-ldap \
+ dovecot-lmtpd \
+ dovecot-lua \
+ dovecot-managesieved \
+ dovecot-mysql \
+ dovecot-pgsql \
+ dovecot-pop3d \
+ dovecot-sieve \
+ dovecot-solr \
+ dovecot-sqlite \
+ dovecot-submissiond \
+ ca-certificates \
+ ssl-cert && \
+ rm -rf /var/lib/apt/lists && \
+ groupadd -g 1000 vmail && \
+ useradd -u 1000 -g 1000 vmail -d /srv/vmail && \
+ passwd -l vmail && \
+ rm -rf /etc/dovecot && \
+ mkdir /srv/mail && \
+ chown vmail:vmail /srv/mail && \
+ make-ssl-cert generate-default-snakeoil && \
+ mkdir /etc/dovecot && \
+ ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/dovecot/cert.pem && \
+ ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/dovecot/key.pem
+
+ADD dovecot.conf /etc/dovecot/dovecot.conf
+
+VOLUME ["/etc/dovecot", "/srv/mail"]
+ENTRYPOINT ["/usr/bin/tini", "--"]
+CMD ["/usr/sbin/dovecot", "-F"]
diff --git a/dovecot_2.3.19.1/dovecot.conf b/dovecot_2.3.19.1/dovecot.conf
new file mode 100644
index 0000000..d2d9fa7
--- /dev/null
+++ b/dovecot_2.3.19.1/dovecot.conf
@@ -0,0 +1,38 @@
+## You should mount /etc/dovecot if you want to
+## manage this file
+
+mail_home=/srv/mail/%Lu
+mail_location=sdbox:~/Mail
+mail_uid=1000
+mail_gid=1000
+
+protocols = imap pop3 submission sieve lmtp
+
+first_valid_uid = 1000
+last_valid_uid = 1000
+
+passdb {
+ driver = static
+ args = password=pass
+}
+
+ssl=yes
+ssl_cert=<cert.pem
+ssl_key=<key.pem
+
+namespace {
+ inbox = yes
+ separator = /
+}
+
+service lmtp {
+ inet_listener {
+ port = 24
+ }
+}
+
+listen = *
+
+log_path=/dev/stdout
+info_log_path=/dev/stdout
+debug_log_path=/dev/stdout
diff --git a/dovecot_2.3.19.1/dovecot.gpg b/dovecot_2.3.19.1/dovecot.gpg
new file mode 100644
index 0000000..e73ab31
Binary files /dev/null and b/dovecot_2.3.19.1/dovecot.gpg differ
diff --git a/dovecot_2.3.19.1/dovecot.list b/dovecot_2.3.19.1/dovecot.list
new file mode 100644
index 0000000..c234649
--- /dev/null
+++ b/dovecot_2.3.19.1/dovecot.list
@@ -0,0 +1 @@
+deb http://repo.dovecot.org/ce-2.3.19.1/debian/bullseye bullseye main
diff --git a/dovecot_latest/Dockerfile b/dovecot_latest/Dockerfile
new file mode 100644
index 0000000..8106756
--- /dev/null
+++ b/dovecot_latest/Dockerfile
@@ -0,0 +1,46 @@
+FROM debian:11
+
+LABEL org.opencontainers.image.authors="[email protected]"
+
+ENV container=docker \
+ LC_ALL=C
+ARG DEBIAN_FRONTEND=noninteractive
+
+ADD dovecot.gpg /etc/apt/trusted.gpg.d
+ADD dovecot.list /etc/apt/sources.list.d
+
+RUN apt-get -y update && apt-get -y install \
+ tini \
+ dovecot-core \
+ dovecot-gssapi \
+ dovecot-imapd \
+ dovecot-ldap \
+ dovecot-lmtpd \
+ dovecot-lua \
+ dovecot-managesieved \
+ dovecot-mysql \
+ dovecot-pgsql \
+ dovecot-pop3d \
+ dovecot-sieve \
+ dovecot-solr \
+ dovecot-sqlite \
+ dovecot-submissiond \
+ ca-certificates \
+ ssl-cert && \
+ rm -rf /var/lib/apt/lists && \
+ groupadd -g 1000 vmail && \
+ useradd -u 1000 -g 1000 vmail -d /srv/vmail && \
+ passwd -l vmail && \
+ rm -rf /etc/dovecot && \
+ mkdir /srv/mail && \
+ chown vmail:vmail /srv/mail && \
+ make-ssl-cert generate-default-snakeoil && \
+ mkdir /etc/dovecot && \
+ ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/dovecot/cert.pem && \
+ ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/dovecot/key.pem
+
+ADD dovecot.conf /etc/dovecot/dovecot.conf
+
+VOLUME ["/etc/dovecot", "/srv/mail"]
+ENTRYPOINT ["/usr/bin/tini", "--"]
+CMD ["/usr/sbin/dovecot", "-F"]
diff --git a/dovecot_latest/dovecot.conf b/dovecot_latest/dovecot.conf
new file mode 100644
index 0000000..d2d9fa7
--- /dev/null
+++ b/dovecot_latest/dovecot.conf
@@ -0,0 +1,38 @@
+## You should mount /etc/dovecot if you want to
+## manage this file
+
+mail_home=/srv/mail/%Lu
+mail_location=sdbox:~/Mail
+mail_uid=1000
+mail_gid=1000
+
+protocols = imap pop3 submission sieve lmtp
+
+first_valid_uid = 1000
+last_valid_uid = 1000
+
+passdb {
+ driver = static
+ args = password=pass
+}
+
+ssl=yes
+ssl_cert=<cert.pem
+ssl_key=<key.pem
+
+namespace {
+ inbox = yes
+ separator = /
+}
+
+service lmtp {
+ inet_listener {
+ port = 24
+ }
+}
+
+listen = *
+
+log_path=/dev/stdout
+info_log_path=/dev/stdout
+debug_log_path=/dev/stdout
diff --git a/dovecot_latest/dovecot.gpg b/dovecot_latest/dovecot.gpg
new file mode 100644
index 0000000..e73ab31
Binary files /dev/null and b/dovecot_latest/dovecot.gpg differ
diff --git a/dovecot_latest/dovecot.list b/dovecot_latest/dovecot.list
new file mode 100644
index 0000000..7f2774a
--- /dev/null
+++ b/dovecot_latest/dovecot.list
@@ -0,0 +1 @@
+deb http://repo.dovecot.org/ce-2.3.20/debian/bullseye bullseye main
any news?
Hi! Updated this merge request with our latest release - perhaps it gets finally included?
Diff for 113671780fb1eb583e2d2e0b78bd6bfd20969d62:
diff --git a/_bashbrew-arches b/_bashbrew-arches
index 8b13789..21d5bd8 100644
--- a/_bashbrew-arches
+++ b/_bashbrew-arches
@@ -1 +1 @@
-
+amd64
diff --git a/_bashbrew-cat b/_bashbrew-cat
index bdfae4a..82d007e 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -1 +1,10 @@
-Maintainers: New Image! :D (@docker-library-bot)
+Maintainers: Aki Tuomi <[email protected]> (@cmouse), Timo Sirainen <[email protected]> (@sirainen)
+GitRepo: https://github.com/dovecot/docker.git
+
+Tags: 2.3.20
+GitCommit: 63d466c1dd6c8eff3f53f50b70f2bef7247a1338
+Directory: 2.3.20
+
+Tags: 2.3.21, 2.3, latest
+GitCommit: 63d466c1dd6c8eff3f53f50b70f2bef7247a1338
+Directory: 2.3.21
diff --git a/_bashbrew-list b/_bashbrew-list
index e69de29..9d2f927 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -0,0 +1,4 @@
+dovecot:2.3
+dovecot:2.3.20
+dovecot:2.3.21
+dovecot:latest
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index e69de29..1bf2783 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -0,0 +1,2 @@
+dovecot:2.3.20
+dovecot:latest
diff --git a/dovecot_2.3.20/Dockerfile b/dovecot_2.3.20/Dockerfile
new file mode 100644
index 0000000..fad976f
--- /dev/null
+++ b/dovecot_2.3.20/Dockerfile
@@ -0,0 +1,54 @@
+FROM debian:11
+
+LABEL org.opencontainers.image.authors="[email protected]"
+
+ENV container=docker \
+ LC_ALL=C
+ARG DEBIAN_FRONTEND=noninteractive
+
+ADD dovecot.gpg /etc/apt/trusted.gpg.d
+ADD dovecot.list /etc/apt/sources.list.d
+
+RUN apt-get -y update && apt-get -y install \
+ tini \
+ dovecot-core \
+ dovecot-gssapi \
+ dovecot-imapd \
+ dovecot-ldap \
+ dovecot-lmtpd \
+ dovecot-lua \
+ dovecot-managesieved \
+ dovecot-mysql \
+ dovecot-pgsql \
+ dovecot-pop3d \
+ dovecot-sieve \
+ dovecot-solr \
+ dovecot-sqlite \
+ dovecot-submissiond \
+ ca-certificates \
+ ssl-cert && \
+ rm -rf /var/lib/apt/lists && \
+ groupadd -g 1000 vmail && \
+ useradd -u 1000 -g 1000 vmail -d /srv/vmail && \
+ passwd -l vmail && \
+ rm -rf /etc/dovecot && \
+ mkdir /srv/mail && \
+ chown vmail:vmail /srv/mail && \
+ make-ssl-cert generate-default-snakeoil && \
+ mkdir /etc/dovecot && \
+ ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/dovecot/cert.pem && \
+ ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/dovecot/key.pem
+
+ADD dovecot.conf /etc/dovecot/dovecot.conf
+
+EXPOSE 24
+EXPOSE 110
+EXPOSE 143
+EXPOSE 587
+EXPOSE 990
+EXPOSE 993
+EXPOSE 4190
+
+VOLUME ["/etc/dovecot", "/srv/mail"]
+ENTRYPOINT ["/usr/bin/tini", "--"]
+CMD ["/usr/sbin/dovecot", "-F"]
diff --git a/dovecot_2.3.20/dovecot.conf b/dovecot_2.3.20/dovecot.conf
new file mode 100644
index 0000000..f79a672
--- /dev/null
+++ b/dovecot_2.3.20/dovecot.conf
@@ -0,0 +1,40 @@
+## You should mount /etc/dovecot if you want to
+## manage this file
+
+mail_home=/srv/mail/%Lu
+mail_location=sdbox:~/Mail
+mail_uid=1000
+mail_gid=1000
+
+protocols = imap pop3 submission sieve lmtp
+
+first_valid_uid = 1000
+last_valid_uid = 1000
+
+passdb {
+ driver = static
+ args = password=pass
+}
+
+ssl=yes
+ssl_cert=<cert.pem
+ssl_key=<key.pem
+
+namespace {
+ inbox = yes
+ separator = /
+}
+
+service lmtp {
+ inet_listener {
+ port = 24
+ }
+}
+
+listen = *
+
+log_path=/dev/stdout
+info_log_path=/dev/stdout
+debug_log_path=/dev/stdout
+
+!include_try /etc/dovecot/conf.d/*.conf
diff --git a/dovecot_2.3.20/dovecot.gpg b/dovecot_2.3.20/dovecot.gpg
new file mode 100644
index 0000000..e73ab31
Binary files /dev/null and b/dovecot_2.3.20/dovecot.gpg differ
diff --git a/dovecot_2.3.20/dovecot.list b/dovecot_2.3.20/dovecot.list
new file mode 100644
index 0000000..7f2774a
--- /dev/null
+++ b/dovecot_2.3.20/dovecot.list
@@ -0,0 +1 @@
+deb http://repo.dovecot.org/ce-2.3.20/debian/bullseye bullseye main
diff --git a/dovecot_latest/Dockerfile b/dovecot_latest/Dockerfile
new file mode 100644
index 0000000..1aa107c
--- /dev/null
+++ b/dovecot_latest/Dockerfile
@@ -0,0 +1,54 @@
+FROM debian:11-slim
+
+LABEL org.opencontainers.image.authors="[email protected]"
+
+ENV container=docker \
+ LC_ALL=C
+ARG DEBIAN_FRONTEND=noninteractive
+
+ADD dovecot.gpg /etc/apt/keyrings/dovecot.gpg
+ADD dovecot.list /etc/apt/sources.list.d
+
+RUN apt-get -y update && apt-get -y install \
+ tini \
+ dovecot-core \
+ dovecot-gssapi \
+ dovecot-imapd \
+ dovecot-ldap \
+ dovecot-lmtpd \
+ dovecot-lua \
+ dovecot-managesieved \
+ dovecot-mysql \
+ dovecot-pgsql \
+ dovecot-pop3d \
+ dovecot-sieve \
+ dovecot-solr \
+ dovecot-sqlite \
+ dovecot-submissiond \
+ ca-certificates \
+ ssl-cert && \
+ rm -rf /var/lib/apt/lists && \
+ groupadd -g 1000 vmail && \
+ useradd -u 1000 -g 1000 vmail -d /srv/vmail && \
+ passwd -l vmail && \
+ rm -rf /etc/dovecot && \
+ mkdir /srv/mail && \
+ chown vmail:vmail /srv/mail && \
+ make-ssl-cert generate-default-snakeoil && \
+ mkdir /etc/dovecot && \
+ ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/dovecot/cert.pem && \
+ ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/dovecot/key.pem
+
+ADD dovecot.conf /etc/dovecot/dovecot.conf
+
+EXPOSE 24
+EXPOSE 110
+EXPOSE 143
+EXPOSE 587
+EXPOSE 990
+EXPOSE 993
+EXPOSE 4190
+
+VOLUME ["/etc/dovecot", "/srv/mail"]
+ENTRYPOINT ["/usr/bin/tini", "--"]
+CMD ["/usr/sbin/dovecot", "-F"]
diff --git a/dovecot_latest/dovecot.conf b/dovecot_latest/dovecot.conf
new file mode 100644
index 0000000..f79a672
--- /dev/null
+++ b/dovecot_latest/dovecot.conf
@@ -0,0 +1,40 @@
+## You should mount /etc/dovecot if you want to
+## manage this file
+
+mail_home=/srv/mail/%Lu
+mail_location=sdbox:~/Mail
+mail_uid=1000
+mail_gid=1000
+
+protocols = imap pop3 submission sieve lmtp
+
+first_valid_uid = 1000
+last_valid_uid = 1000
+
+passdb {
+ driver = static
+ args = password=pass
+}
+
+ssl=yes
+ssl_cert=<cert.pem
+ssl_key=<key.pem
+
+namespace {
+ inbox = yes
+ separator = /
+}
+
+service lmtp {
+ inet_listener {
+ port = 24
+ }
+}
+
+listen = *
+
+log_path=/dev/stdout
+info_log_path=/dev/stdout
+debug_log_path=/dev/stdout
+
+!include_try /etc/dovecot/conf.d/*.conf
diff --git a/dovecot_latest/dovecot.gpg b/dovecot_latest/dovecot.gpg
new file mode 100644
index 0000000..e73ab31
Binary files /dev/null and b/dovecot_latest/dovecot.gpg differ
diff --git a/dovecot_latest/dovecot.list b/dovecot_latest/dovecot.list
new file mode 100644
index 0000000..0be8a6a
--- /dev/null
+++ b/dovecot_latest/dovecot.list
@@ -0,0 +1 @@
+deb [signed-by=/etc/apt/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.3.21/debian/bullseye bullseye main
Hello! :sparkles:
Thanks for your interest in contributing to the official images program. :thought_balloon:
As you may have noticed, we've usually got a pretty decently sized queue of new images (not to mention image updates and maintenance of images under @docker-library which are maintained by the core official images team). As such, it may be some time before we get to reviewing this image (image updates get priority both because users expect them and because reviewing new images is a more involved process than reviewing updates), so we apologize in advance! Please be patient with us -- rest assured, we've seen your PR and it's in the queue. :heart:
Thanks! :sparkling_heart: :blue_heart: :green_heart: :heart: