spamassassin/Dockerfile
2022-12-06 12:07:12 +00:00

15 lines
416 B
Docker

FROM alpine:3.17
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
RUN apk update && \
apk upgrade && \
apk add spamassassin runit socklog && \
rm -rf /etc/service
RUN addgroup -S spamd && \
adduser -h /var/lib/spamassassin -s /sbin/nologin -S -G spamd spamd
COPY service /etc/service/
# RUN find /etc/service -xdev -type f -name "run" -exec chmod +x '{}' \;
ENTRYPOINT runsvdir -P /etc/service