dovecot/Containerfile
Sebastian Hugentobler 573d71fd8c
All checks were successful
Build Multiarch Container Image / call-reusable-workflow (push) Successful in 1m4s
update alpine version
2024-06-27 09:14:06 +02:00

26 lines
511 B
Docker

FROM docker.io/thallian/confd-env:3.20-3.1.6.2
RUN apk --no-cache add \
ssmtp \
dovecot \
dovecot-pgsql \
dovecot-lmtpd \
dovecot-pigeonhole-plugin
RUN addgroup -g 2222 access
RUN addgroup dovecot access
RUN addgroup -g 1111 vmail
RUN adduser -u 1111 -h /var/lib/vmail -D -G vmail vmail
RUN mkdir -p /etc/dovecot/conf.d
RUN mkdir /var/lib/vmail/sieve-after/
RUN chown -R vmail:vmail /var/lib/vmail/sieve-after/
EXPOSE 143 4190 6334 7777
VOLUME /var/lib/vmail/mail/ /etc/ssl/mail
ADD /rootfs /