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:
Abhilash Raj
2020-08-04 00:16:42 -07:00
committed by GitHub
parent 07a7c1ce68
commit e76bb3a1ff
6 changed files with 15 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
FROM alpine:3.8
FROM alpine:3.12
MAINTAINER Abhilash Raj
@@ -19,7 +19,7 @@ RUN set -ex \
&& apk add --no-cache --virtual .build-deps gcc libc-dev linux-headers git \
postgresql-dev mariadb-dev python3-dev libffi-dev openldap-dev \
&& apk add --no-cache --virtual .mailman-rundeps bash sassc \
python3 py3-setuptools postgresql-client mysql-client py-mysqldb\
python3 py3-pip postgresql-client mysql-client py3-mysqlclient \
curl mailcap xapian-core xapian-bindings-python3 libffi gettext \
&& python3 -m pip install -U pip setuptools wheel \
&& python3 -m pip install -U \