Initial mailman core docker container

This commit is contained in:
Abhilash Raj
2017-03-28 17:06:15 -07:00
commit b5535d894d
4 changed files with 133 additions and 0 deletions

18
core/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM python:3.5
MAINTAINER Abhilash Raj
# Install the latest master branch of the mailman directly
# from the Gitlab.
RUN pip install git+https://gitlab.com/mailman/mailman.git
ADD assets/run.sh /opt/run.sh
# Pidproxy is our sort-of process watcher that sends any
# signal that it receives to the mailman's master process.
ADD assets/pidproxy.py /opt/pidproxy.py
# Change the working directory.
WORKDIR /opt/mailman
CMD /opt/run.sh