2015-02-17 22:39:28 +01:00
|
|
|
FROM debian:jessie
|
|
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
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 \
|
2015-06-05 19:24:11 +02:00
|
|
|
lighttpd \
|
|
|
|
mailman \
|
|
|
|
postfix \
|
|
|
|
supervisor \
|
2015-06-07 02:48:44 +02:00
|
|
|
--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
|
|
|
|
ADD lighttpd.conf /etc/lighttpd/lighttpd.conf
|
|
|
|
|
|
|
|
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|
|
|
|
|
|
|
EXPOSE 25 80
|
|
|
|
|
|
|
|
ENTRYPOINT [ "supervisord" ]
|