FROM alpine:3.10 MAINTAINER Andrey Arapov RUN apk update && \ apk upgrade && \ apk add dovecot dovecot-lmtpd runit socklog ca-certificates && \ rm -rf /etc/service COPY service /etc/service/ # RUN find /etc/service -xdev -type f -name "run" -exec chmod +x '{}' \; ENTRYPOINT runsvdir -P /etc/service