dockerfiles/mailman/Dockerfile
Jessica Frazelle 17bbb62b99 convert all spaces to tabs, lets see what breaks
Signed-off-by: Jessica Frazelle <princess@docker.com>
2015-06-05 10:24:11 -07:00

26 lines
523 B
Docker

FROM debian:jessie
MAINTAINER Jessica Frazelle <jess@docker.com>
# run
# docker run -d -p 1234:80 -p 25:25 jess/mailman
#
# curl http://localhost:1234/cgi-bin/mailman/admin
# for admin screen
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
lighttpd \
mailman \
postfix \
supervisor \
--no-install-recommends
# Lighttpd configuration
ADD lighttpd.conf /etc/lighttpd/lighttpd.conf
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
EXPOSE 25 80
ENTRYPOINT [ "supervisord" ]