dockerfiles/mailman/Dockerfile

27 lines
566 B
Docker
Raw Normal View History

FROM debian:stretch
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
2015-02-17 22:39:28 +01:00
2015-02-18 03:21:40 +01:00
# run
# docker run -d -p 1234:80 -p 25:25 jess/mailman
#
# curl http://localhost:1234/cgi-bin/mailman/admin
# for admin screen
2015-02-17 22:39:28 +01:00
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
lighttpd \
mailman \
postfix \
supervisor \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
2015-02-17 22:39:28 +01:00
2015-02-18 03:21:40 +01:00
# Lighttpd configuration
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
2015-02-18 03:21:40 +01:00
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
2015-02-18 03:21:40 +01:00
EXPOSE 25 80
ENTRYPOINT [ "supervisord" ]