15 lines
416 B
Docker
15 lines
416 B
Docker
|
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
|