Download mailman from wget rather than git.

This commit is contained in:
Abhilash Raj
2017-04-05 20:19:18 -07:00
parent b614f46532
commit e050826abc

View File

@@ -5,10 +5,11 @@ MAINTAINER Abhilash Raj
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
# Install the latest master branch of the mailman directly # Install the latest master branch of the mailman directly
# from the Gitlab. # from the Gitlab.
RUN apt-get update && apt-get install -y postgresql-client \ RUN apt-get update && apt-get install -y postgresql-client wget \
&& pip install git+https://gitlab.com/mailman/mailman.git \ && wget -O mailman.zip https://gitlab.com/mailman/mailman/repository/archive.zip?ref=master \
git+https://gitlab.com/mailman/mailman-hyperkitty.git \ && wget -O mailman_hyperkitty.zip https://gitlab.com/mailman/mailman-hyperkitty/repository/archive.zip?ref=master \
psycopg2 ipython && pip install mailman.zip mailman_hyperkitty.zip ipython psycopg2 \
&& rm mailman.zip mailman_hyperkitty.zip
ADD assets/run.sh /opt/run.sh ADD assets/run.sh /opt/run.sh