FROM debian:buster EXPOSE 8891 RUN DEBIAN_FRONTEND=noninteractive && \ apt-get update && \ apt-get install -y --no-install-recommends \ opendkim \ opendkim-tools && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* VOLUME /etc/opendkim ENTRYPOINT ["opendkim","-x","/etc/opendkim/opendkim.conf","-u","opendkim","-f"]