postfix/Dockerfile

19 lines
519 B
Docker
Raw Normal View History

2016-06-19 21:55:47 +00:00
FROM alpine:3.4
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
RUN echo '@testing http://nl.alpinelinux.org/alpine/edge/testing' |tee -a /etc/apk/repositories && \
apk update && \
apk upgrade && \
apk add tzdata rsyslog postfix runit@testing
# tzdata - so that TZ environment variable gets processed
# rsyslog - to log postfix service into /var/log/maillog file
# Not in use currently:
# - ca-certificates
# - coreutils
# - bind-tools
COPY service /etc/service/
ENTRYPOINT runsvdir -P /etc/service