postfix/Dockerfile

15 lines
430 B
Docker
Raw Normal View History

2019-08-03 19:50:20 +00:00
FROM alpine:3.10
2016-06-19 21:55:47 +00:00
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
2018-12-16 21:39:36 +00:00
RUN apk update && \
2016-06-19 21:55:47 +00:00
apk upgrade && \
2018-12-17 12:33:44 +00:00
apk add postfix runit socklog tzdata ca-certificates && \
rm -rf /etc/service
2016-06-19 21:55:47 +00:00
2018-12-16 21:39:36 +00:00
# tzdata - for passing TZ environment variable.
2018-12-17 12:33:44 +00:00
# socklog - collect all logs which come to /dev/log.
2016-06-19 21:55:47 +00:00
2018-12-17 12:33:44 +00:00
COPY service /etc/service
2016-06-19 21:55:47 +00:00
ENTRYPOINT runsvdir -P /etc/service
2018-12-17 12:33:44 +00:00
#ENTRYPOINT chpst -Unobody socklog unix /dev/log & postfix start-fg