postfix/Dockerfile
2018-12-17 13:33:44 +01:00

15 lines
429 B
Docker

FROM alpine:3.8
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
RUN apk update && \
apk upgrade && \
apk add postfix runit socklog tzdata ca-certificates && \
rm -rf /etc/service
# tzdata - for passing TZ environment variable.
# socklog - collect all logs which come to /dev/log.
COPY service /etc/service
ENTRYPOINT runsvdir -P /etc/service
#ENTRYPOINT chpst -Unobody socklog unix /dev/log & postfix start-fg