2017-11-30 16:44:55 +01:00
|
|
|
FROM debian:buster
|
2017-03-09 19:14:37 +01:00
|
|
|
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 \
|
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
|
2016-04-06 12:32:01 +02:00
|
|
|
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
|
2015-02-18 03:21:40 +01:00
|
|
|
|
2016-04-06 12:32:01 +02:00
|
|
|
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
2015-02-18 03:21:40 +01:00
|
|
|
|
|
|
|
EXPOSE 25 80
|
|
|
|
|
|
|
|
ENTRYPOINT [ "supervisord" ]
|