dockerfiles/mailman/Dockerfile

26 lines
538 B
Docker
Raw Normal View History

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-02-18 03:21:40 +01:00
lighttpd \
2015-02-17 22:39:28 +01:00
mailman \
2015-02-18 03:21:40 +01:00
postfix \
supervisor \
2015-02-17 22:39:28 +01:00
--no-install-recommends
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" ]