master
Andy 1 year ago
parent 5f7e4d6276
commit d12d009365

@ -1,11 +1,19 @@
FROM alpine:3.11
FROM alpine:3.17
# DO NOT set alpine:3.13, 3.14, as they BREAK postfix smptd !
# postfix_1 | mail.err: Jul 27 12:49:52 postfix/trivial-rewrite[84]: error: unsupported dictionary type: hash
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/12381
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/12085
# workaround: change btree and hash to lmdb
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
RUN apk update && \
apk upgrade && \
apk add postfix runit socklog tzdata ca-certificates && \
apk add postfix runit socklog tzdata ca-certificates spamassassin-client && \
rm -rf /etc/service
#RUN adduser -D -H -u 1005 -G postfix -s /sbin/nologin spamc
# tzdata - for passing TZ environment variable.
# socklog - collect all logs which come to /dev/log.

Loading…
Cancel
Save