From cda6d2a95a7ae5e8cd695f35fd87a1fd57cfc2c5 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Tue, 23 May 2017 15:39:39 -0700 Subject: [PATCH] Install django-hyperkitty later so that PyPI version doesn't replace it. --- web/Dockerfile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index a6ada86..1951c0a 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -5,25 +5,25 @@ MAINTAINER Abhilash Raj ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ - && apt-get install -y --no-install-recommends ruby-sass \ - wget \ - postgresql-client \ - && rm -rf /var/lib/apt/lists/* + && apt-get install -y --no-install-recommends ruby-sass \ + wget \ + postgresql-client \ + && rm -rf /var/lib/apt/lists/* RUN wget -O mailmanclient.zip https://gitlab.com/mailman/mailmanclient/repository/archive.zip?ref=master \ - && wget -O postorius.zip https://gitlab.com/mailman/postorius/repository/archive.zip?ref=master \ - && wget -O django-mailman3.zip https://gitlab.com/mailman/django-mailman3/repository/archive.zip?ref=master \ - && wget -O hyperkitty.zip https://gitlab.com/mailman/hyperkitty/repository/archive.zip?ref=master \ + && wget -O postorius.zip https://gitlab.com/mailman/postorius/repository/archive.zip?ref=master \ + && wget -O django-mailman3.zip https://gitlab.com/mailman/django-mailman3/repository/archive.zip?ref=master \ + && wget -O hyperkitty.zip https://gitlab.com/mailman/hyperkitty/repository/archive.zip?ref=master \ && python -m pip install -U mailmanclient.zip \ - postorius.zip \ - django-mailman3.zip \ - hyperkitty.zip \ - whoosh \ - uwsgi \ - psycopg2 \ - dj-database-url \ - pymysql \ - && rm mailmanclient.zip postorius.zip hyperkitty.zip django-mailman3.zip + postorius.zip \ + hyperkitty.zip \ + whoosh \ + uwsgi \ + psycopg2 \ + dj-database-url \ + pymysql \ + && python -m pip install -U django-mailman3.zip \ + && rm mailmanclient.zip postorius.zip hyperkitty.zip django-mailman3.zip ADD mailman-web /opt/mailman-web