2018-12-16 21:39:36 +00:00
|
|
|
FROM alpine:3.8
|
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-16 21:39:36 +00:00
|
|
|
apk add tzdata rsyslog postfix runit ca-certificates
|
2016-06-19 21:55:47 +00:00
|
|
|
|
2018-12-16 21:39:36 +00:00
|
|
|
# tzdata - for passing TZ environment variable.
|
|
|
|
# rsyslog - to log postfix service into /var/log/maillog file.
|
2016-06-19 21:55:47 +00:00
|
|
|
|
|
|
|
COPY service /etc/service/
|
|
|
|
ENTRYPOINT runsvdir -P /etc/service
|