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
|
||||
|
||||
@@ -15,7 +15,7 @@ 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 linux-headers \
|
||||
&& apk add --no-cache bash su-exec postgresql-client mysql-client curl python3 py3-pip linux-headers \
|
||||
&& python3 -m pip install -U psycopg2 pymysql setuptools wheel \
|
||||
&& python3 -m pip install \
|
||||
git+https://gitlab.com/mailman/mailman@${CORE_REF} \
|
||||
|
||||
Reference in New Issue
Block a user