spamassassin/Dockerfile

15 lines
416 B
Docker
Raw Normal View History

2020-02-05 23:11:51 +00:00
FROM alpine:3.11
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