Sebastian Hugentobler
7f169c3896
All checks were successful
Build Multiarch Container Image / call-reusable-workflow (push) Successful in 1m14s
26 lines
511 B
Docker
26 lines
511 B
Docker
FROM docker.io/thallian/confd-env:3.19-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 /
|