diff --git a/Dockerfile b/Dockerfile index 3533a40..6d821ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 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.