Use latest Django 2.2 release. (#356)

This commit is contained in:
Abhilash Raj
2019-12-18 22:52:37 -08:00
committed by GitHub
parent 6dc9598ee4
commit 1c08a20f2b
4 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ RUN set -ex \
postgresql-dev mariadb-dev libffi-dev \ postgresql-dev mariadb-dev libffi-dev \
&& apk add --no-cache --virtual .mailman-rundeps bash libffi \ && apk add --no-cache --virtual .mailman-rundeps bash libffi \
postgresql-client mysql-client py-mysqldb curl mailcap \ postgresql-client mysql-client py-mysqldb curl mailcap \
&& pip install -U Django==2.2 pip \ && pip install -U 'Django<3.0' pip \
&& pip install postorius==1.3.1 \ && pip install postorius==1.3.1 \
uwsgi \ uwsgi \
psycopg2 \ psycopg2 \

View File

@@ -26,7 +26,7 @@ RUN set -ex \
psycopg2 \ psycopg2 \
dj-database-url \ dj-database-url \
mysqlclient \ mysqlclient \
&& pip install -U 'Django<2.2' \ && pip install -U 'Django<3.0' \
&& pip install -U git+https://gitlab.com/mailman/django-mailman3@${DJ_MM3_REF} \ && pip install -U git+https://gitlab.com/mailman/django-mailman3@${DJ_MM3_REF} \
&& apk del .build-deps \ && apk del .build-deps \
&& addgroup -S mailman \ && addgroup -S mailman \

View File

@@ -16,7 +16,7 @@ RUN set -ex \
&& apk add --no-cache --virtual .mailman-rundeps bash sassc \ && apk add --no-cache --virtual .mailman-rundeps bash sassc \
postgresql-client mysql-client py-mysqldb curl mailcap \ postgresql-client mysql-client py-mysqldb curl mailcap \
python3 py3-setuptools xapian-core xapian-bindings-python3 libffi \ python3 py3-setuptools xapian-core xapian-bindings-python3 libffi \
&& python3 -m pip install -U django==2.2 pip \ && python3 -m pip install -U 'Django<3.0' pip \
&& python3 -m pip install mailmanclient==3.3.0 \ && python3 -m pip install mailmanclient==3.3.0 \
postorius==1.3.1 \ postorius==1.3.1 \
hyperkitty==1.3.1 \ hyperkitty==1.3.1 \

View File

@@ -31,7 +31,7 @@ RUN set -ex \
dj-database-url \ dj-database-url \
mysqlclient \ mysqlclient \
xapian-haystack \ xapian-haystack \
&& python3 -m pip install -U 'Django<2.2' \ && python3 -m pip install -U 'Django<3.0' \
&& python3 -m pip install -U \ && python3 -m pip install -U \
git+https://gitlab.com/mailman/django-mailman3@${DJ_MM3_REF} \ git+https://gitlab.com/mailman/django-mailman3@${DJ_MM3_REF} \
&& apk del .build-deps \ && apk del .build-deps \