From d12d0093655b1bbdfe163aa0b129a89593bf0547 Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Tue, 6 Dec 2022 12:05:34 +0000 Subject: [PATCH] updates --- Dockerfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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.