Add g++ (gcc-cpp) as build dependency (#575)

* Add gcc-cpp as build dependency

* add g++

* add pg binary driver

* Use the postgresql as the driver scheme

* Revert "add pg binary driver"

This reverts commit aaa3aed87e40a0f6193ba1242934fd7659a75440.
This commit is contained in:
Abhilash Raj
2022-11-05 07:38:55 -07:00
committed by GitHub
parent c48d96054c
commit 0100dc4bc0
2 changed files with 5 additions and 4 deletions

View File

@@ -15,8 +15,9 @@ ARG MM3_HK_REF
RUN --mount=type=cache,target=/root/.cache \
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-pip linux-headers py-cryptography mariadb-connector-c \
postgresql-dev git libffi-dev g++ \
&& apk add --no-cache bash su-exec postgresql-client mysql-client \
curl python3 py3-pip linux-headers py-cryptography mariadb-connector-c \
&& python3 -m pip install -U psycopg2 pymysql setuptools wheel \
&& python3 -m pip install \
git+https://gitlab.com/mailman/mailman \