15 lines
429 B
Docker
15 lines
429 B
Docker
FROM alpine:3.9
|
|
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
|