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

FROM alpine:3.11
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