Pin down mailman release versions.
This commit is contained in:
@@ -5,11 +5,9 @@ MAINTAINER Abhilash Raj
|
|||||||
# Install the latest master branch of the mailman directly
|
# Install the latest master branch of the mailman directly
|
||||||
# from the Gitlab.
|
# from the Gitlab.
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk add --virtual build-deps gcc python3-dev musl-dev wget \
|
&& apk add --virtual build-deps gcc python3-dev musl-dev \
|
||||||
&& apk add postgresql-dev bash su-exec postgresql-client \
|
&& apk add postgresql-dev bash su-exec postgresql-client \
|
||||||
&& wget -O mailman_hyperkitty.zip https://gitlab.com/mailman/mailman-hyperkitty/repository/archive.zip?ref=master \
|
&& pip install psycopg2 mailman==3.1.0 mailman-hyperkitty==1.1.0 \
|
||||||
&& pip install mailman_hyperkitty.zip psycopg2 mailman==3.1.0rc1 \
|
|
||||||
&& rm mailman_hyperkitty.zip \
|
|
||||||
&& apk del build-deps
|
&& apk del build-deps
|
||||||
|
|
||||||
ADD assets/run.sh /opt/run.sh
|
ADD assets/run.sh /opt/run.sh
|
||||||
|
|||||||
@@ -94,9 +94,7 @@ python manage.py migrate
|
|||||||
if [[ ! -v UWSGI_LOGTO ]]; then
|
if [[ ! -v UWSGI_LOGTO ]]; then
|
||||||
echo "No UWSGI_LOGTO defined, logging uwsgi to /opt/mailman-web-data/logs/uwsgi.log ..."
|
echo "No UWSGI_LOGTO defined, logging uwsgi to /opt/mailman-web-data/logs/uwsgi.log ..."
|
||||||
export UWSGI_LOGTO='/opt/mailman-web-data/logs/uwsgi.log'
|
export UWSGI_LOGTO='/opt/mailman-web-data/logs/uwsgi.log'
|
||||||
if [[ ! -e "$UWSGI_LOGTO" ]]; then
|
touch "$UWSGI_LOGTO"
|
||||||
touch "$UWSGI_LOGTO"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -v UWSGI_WSGI_FILE ]]; then
|
if [[ ! -v UWSGI_WSGI_FILE ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user