postfix/Dockerfile
2019-08-03 19:50:20 +00:00

15 lines
430 B
Docker

FROM alpine:3.10
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