From e050826abc3d0bae955a47db6f1a20179cb8fc9c Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Wed, 5 Apr 2017 20:19:18 -0700 Subject: [PATCH] Download mailman from wget rather than git. --- core/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/Dockerfile b/core/Dockerfile index c8099e0..155b05a 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -5,10 +5,11 @@ MAINTAINER Abhilash Raj ENV DEBIAN_FRONTEND=noninteractive # Install the latest master branch of the mailman directly # from the Gitlab. -RUN apt-get update && apt-get install -y postgresql-client \ - && pip install git+https://gitlab.com/mailman/mailman.git \ - git+https://gitlab.com/mailman/mailman-hyperkitty.git \ - psycopg2 ipython +RUN apt-get update && apt-get install -y postgresql-client wget \ + && wget -O mailman.zip https://gitlab.com/mailman/mailman/repository/archive.zip?ref=master \ + && wget -O mailman_hyperkitty.zip https://gitlab.com/mailman/mailman-hyperkitty/repository/archive.zip?ref=master \ + && pip install mailman.zip mailman_hyperkitty.zip ipython psycopg2 \ + && rm mailman.zip mailman_hyperkitty.zip ADD assets/run.sh /opt/run.sh