Dockerized postfix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 429B

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