Bump Mailmanclient and upgrade setuptools and wheel in images. (#389)

* Bump Mailmanclient.
* Add linux-headers package for psutils.
* Update setuptools and wheel everywhere.
* Use Postorius 1.3.3 in Postorius image.
This commit is contained in:
Abhilash Raj
2020-08-02 12:42:36 -07:00
committed by GitHub
parent 1ae02c70ee
commit 07a7c1ce68
6 changed files with 12 additions and 9 deletions

View File

@@ -9,8 +9,9 @@ COPY docker-entrypoint.sh /usr/local/bin/
RUN apk update \
&& apk add --virtual build-deps gcc python3-dev musl-dev postgresql-dev \
libffi-dev \
&& apk add --no-cache bash su-exec postgresql-client mysql-client curl python py3-setuptools \
&& python3 -m pip install -U pip \
# psutil needs linux-headers to compile on musl c library.
&& apk add --no-cache bash su-exec postgresql-client mysql-client curl python3 py3-setuptools linux-headers \
&& python3 -m pip install -U pip setuptools wheel \
&& python3 -m pip install psycopg2 \
gunicorn==19.9.0 \
mailman==3.3.1 \

View File

@@ -15,8 +15,9 @@ ARG MM3_HK_REF
RUN apk update \
&& apk add --no-cache --virtual build-deps gcc python3-dev musl-dev \
postgresql-dev git libffi-dev \
&& apk add --no-cache bash su-exec postgresql-client mysql-client curl python3 py3-setuptools \
&& python3 -m pip install -U psycopg2 pymysql \
&& apk add --no-cache bash su-exec postgresql-client mysql-client curl python3 py3-setuptools linux-headers \
&& python3 -m pip install -U psycopg2 pymysql setuptools wheel \
&& python3 -m pip install \
git+https://gitlab.com/mailman/mailman@${CORE_REF} \
git+https://gitlab.com/mailman/mailman-hyperkitty@${MM3_HK_REF} \
gunicorn==19.9.0 \

View File

@@ -16,8 +16,8 @@ RUN set -ex \
&& apk add --no-cache --virtual .mailman-rundeps bash sassc \
postgresql-client mysql-client py-mysqldb curl mailcap \
python3 py3-setuptools libffi \
&& python3 -m pip install -U 'Django<3.0' pip \
&& python3 -m pip install postorius==1.3.1 \
&& python3 -m pip install -U 'Django<3.0' pip wheel setuptools \
&& python3 -m pip install postorius==1.3.3 \
uwsgi \
psycopg2 \
dj-database-url \

View File

@@ -18,7 +18,7 @@ RUN set -ex \
&& apk add --no-cache --virtual .mailman-rundeps bash sassc \
postgresql-client mysql-client py-mysqldb curl mailcap \
python3 py3-setuptools libffi gettext \
&& python3 -m pip install -U 'Django<3.0' pip \
&& python3 -m pip install -U 'Django<3.0' pip setuptools wheel \
&& python3 -m pip install git+https://gitlab.com/mailman/postorius@${POSTORIUS_REF} \
uwsgi \
psycopg2 \

View File

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

View File

@@ -21,6 +21,7 @@ RUN set -ex \
&& apk add --no-cache --virtual .mailman-rundeps bash sassc \
python3 py3-setuptools postgresql-client mysql-client py-mysqldb\
curl mailcap xapian-core xapian-bindings-python3 libffi gettext \
&& python3 -m pip install -U pip setuptools wheel \
&& python3 -m pip install -U \
git+https://gitlab.com/mailman/mailmanclient@${CLIENT_REF} \
git+https://gitlab.com/mailman/postorius@${POSTORIUS_REF} \