spamassassin/Dockerfile

15 lines
416 B
Docker
Raw Permalink Normal View History

2022-12-06 12:07:12 +00:00
FROM alpine:3.17
2020-02-05 23:11:51 +00:00
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