1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/nullmailer/Dockerfile.debian

24 lines
484 B
Docker
Raw Normal View History

2016-01-31 08:33:49 +02:00
#
# Dockerfile for nullmailer
#
FROM debian:jessie
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2016-01-31 08:33:49 +02:00
ENV DEBIAN_FRONTEND=noninteractive
RUN set -xe \
&& apt-get update \
&& apt-get install -y nullmailer \
&& rm -rf /var/cache/apt/list.d/*
RUN set -xe \
&& mkfifo /var/spool/nullmailer/trigger \
&& chown mail:root /var/spool/nullmailer/trigger \
&& chmod 0622 /var/spool/nullmailer/trigger
VOLUME /etc/nullmailer
WORKDIR /var/spool/nullmailer/queue
CMD ["nullmailer"]