Bump to use Alpine 3.12 since 3.8 is now EOL. (#390)
* Bump to use Alpine 3.12 since 3.8 is now EOL. * Manually install pip in all images. * Rename all py- modules to py3- modules. * Replace mysqldb with mysqlclient library for Mysql support in web.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM alpine:3.8
|
||||
FROM alpine:3.12
|
||||
|
||||
MAINTAINER Abhilash Raj
|
||||
|
||||
@@ -16,8 +16,8 @@ RUN set -ex \
|
||||
&& apk add --no-cache --virtual .build-deps gcc libc-dev linux-headers \
|
||||
postgresql-dev mariadb-dev python3-dev libffi-dev git \
|
||||
&& apk add --no-cache --virtual .mailman-rundeps bash sassc \
|
||||
postgresql-client mysql-client py-mysqldb curl mailcap \
|
||||
python3 py3-setuptools libffi gettext \
|
||||
postgresql-client mysql-client py3-mysqlclient curl mailcap \
|
||||
python3 py3-pip libffi gettext \
|
||||
&& python3 -m pip install -U 'Django<3.0' pip setuptools wheel \
|
||||
&& python3 -m pip install git+https://gitlab.com/mailman/postorius@${POSTORIUS_REF} \
|
||||
uwsgi \
|
||||
|
||||
Reference in New Issue
Block a user