Add a default 1000 user
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful

This commit is contained in:
nemunaire 2024-04-01 18:03:16 +02:00
parent ae2e9e6099
commit 8108efcf2b

View File

@ -1,6 +1,7 @@
FROM alpine:3
RUN apk add --no-cache tini ca-certificates dovecot dovecot-ldap dovecot-lmtpd dovecot-pigeonhole-plugin dovecot-pop3d python3 ssmtp
RUN apk add --no-cache tini ca-certificates dovecot dovecot-ldap dovecot-lmtpd dovecot-pigeonhole-plugin dovecot-pop3d python3 ssmtp && \
addgroup -g 1000 mailuser0 && adduser -D -u 1000 -G mailuser0 mailuser0
ADD dovecot.conf /etc/dovecot/dovecot.conf
ADD ssmtp.conf /etc/ssmtp/ssmtp.conf