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
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