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.

15 lines
430 B

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