Install django-hyperkitty later so that PyPI version doesn't replace it.

This commit is contained in:
Abhilash Raj
2017-05-23 15:39:39 -07:00
committed by Abhilash Raj
parent dc491a9d96
commit cda6d2a95a

View File

@@ -5,25 +5,25 @@ MAINTAINER Abhilash Raj
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends ruby-sass \ && apt-get install -y --no-install-recommends ruby-sass \
wget \ wget \
postgresql-client \ postgresql-client \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN wget -O mailmanclient.zip https://gitlab.com/mailman/mailmanclient/repository/archive.zip?ref=master \ 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 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 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 hyperkitty.zip https://gitlab.com/mailman/hyperkitty/repository/archive.zip?ref=master \
&& python -m pip install -U mailmanclient.zip \ && python -m pip install -U mailmanclient.zip \
postorius.zip \ postorius.zip \
django-mailman3.zip \ hyperkitty.zip \
hyperkitty.zip \ whoosh \
whoosh \ uwsgi \
uwsgi \ psycopg2 \
psycopg2 \ dj-database-url \
dj-database-url \ pymysql \
pymysql \ && python -m pip install -U django-mailman3.zip \
&& rm mailmanclient.zip postorius.zip hyperkitty.zip django-mailman3.zip && rm mailmanclient.zip postorius.zip hyperkitty.zip django-mailman3.zip
ADD mailman-web /opt/mailman-web ADD mailman-web /opt/mailman-web