Update Postorius, Hyperkitty and django-mailman3. (#365)
* Update Postorius, Hyperkitty and django-mailman3. Also, entrypoint script should compile i18n messages. * Add git to postorius image. * Also compile i18n messages in Postorius. * Add GNU Gettext to the images. * Do not compilemessages. * Do not compilemessages.
This commit is contained in:
@@ -12,7 +12,7 @@ COPY docker-entrypoint.sh /usr/local/bin/
|
|||||||
# rights for management script
|
# rights for management script
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk add --no-cache --virtual .build-deps gcc libc-dev linux-headers \
|
&& apk add --no-cache --virtual .build-deps gcc libc-dev linux-headers \
|
||||||
postgresql-dev mariadb-dev python3-dev libffi-dev \
|
postgresql-dev mariadb-dev python3-dev libffi-dev gettext \
|
||||||
&& 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 libffi \
|
python3 py3-setuptools libffi \
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ ARG POSTORIUS_REF
|
|||||||
# rights for management script
|
# rights for management script
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk add --no-cache --virtual .build-deps gcc libc-dev linux-headers \
|
&& apk add --no-cache --virtual .build-deps gcc libc-dev linux-headers \
|
||||||
postgresql-dev mariadb-dev python3-dev libffi-dev \
|
postgresql-dev mariadb-dev python3-dev libffi-dev git \
|
||||||
&& 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 libffi \
|
python3 py3-setuptools libffi gettext \
|
||||||
&& python3 -m pip install -U 'Django<3.0' pip \
|
&& python3 -m pip install -U 'Django<3.0' pip \
|
||||||
&& python3 -m pip install git+https://gitlab.com/mailman/postorius@${POSTORIUS_REF} \
|
&& python3 -m pip install git+https://gitlab.com/mailman/postorius@${POSTORIUS_REF} \
|
||||||
uwsgi \
|
uwsgi \
|
||||||
|
|||||||
@@ -14,13 +14,13 @@ RUN set -ex \
|
|||||||
&& apk add --no-cache --virtual .build-deps gcc libc-dev linux-headers \
|
&& apk add --no-cache --virtual .build-deps gcc libc-dev linux-headers \
|
||||||
postgresql-dev mariadb-dev python3-dev libffi-dev \
|
postgresql-dev mariadb-dev python3-dev libffi-dev \
|
||||||
&& 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 gettext \
|
||||||
python3 py3-setuptools xapian-core xapian-bindings-python3 libffi \
|
python3 py3-setuptools xapian-core xapian-bindings-python3 libffi \
|
||||||
&& python3 -m pip install -U 'Django<3.0' 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.2 \
|
||||||
hyperkitty==1.3.1 \
|
hyperkitty==1.3.2 \
|
||||||
django-mailman3==1.3.1 \
|
django-mailman3==1.3.2 \
|
||||||
whoosh \
|
whoosh \
|
||||||
uwsgi \
|
uwsgi \
|
||||||
psycopg2 \
|
psycopg2 \
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ RUN set -ex \
|
|||||||
postgresql-dev mariadb-dev python3-dev libffi-dev \
|
postgresql-dev mariadb-dev python3-dev libffi-dev \
|
||||||
&& apk add --no-cache --virtual .mailman-rundeps bash sassc \
|
&& apk add --no-cache --virtual .mailman-rundeps bash sassc \
|
||||||
python3 py3-setuptools postgresql-client mysql-client py-mysqldb\
|
python3 py3-setuptools postgresql-client mysql-client py-mysqldb\
|
||||||
curl mailcap xapian-core xapian-bindings-python3 libffi \
|
curl mailcap xapian-core xapian-bindings-python3 libffi gettext \
|
||||||
&& python3 -m pip install -U \
|
&& python3 -m pip install -U \
|
||||||
git+https://gitlab.com/mailman/mailmanclient@${CLIENT_REF} \
|
git+https://gitlab.com/mailman/mailmanclient@${CLIENT_REF} \
|
||||||
git+https://gitlab.com/mailman/postorius@${POSTORIUS_REF} \
|
git+https://gitlab.com/mailman/postorius@${POSTORIUS_REF} \
|
||||||
|
|||||||
Reference in New Issue
Block a user