FROM alpine:3 ENTRYPOINT ["/docker-entrypoint.sh"] CMD ["/usr/sbin/opendkim", "-A", "-f", "-x", "/etc/opendkim/opendkim.conf"] COPY entrypoint.sh /docker-entrypoint.sh COPY opendkim.conf /etc/opendkim/opendkim.conf RUN apk --no-cache add opendkim