mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
use some prebuild python libs to speed up build
This commit is contained in:
parent
602c7a6bb6
commit
8dfdda33ae
@ -46,7 +46,7 @@ ARG GUNICORN_VERSION=20.0.4
|
||||
|
||||
RUN export GH_VERSION=$(echo ${VERSION} | tr '.' '_') && \
|
||||
apt update -qq && \
|
||||
apt install -qqy --no-install-recommends curl python3-pip python3-dev python3-setuptools libpq-dev build-essential libffi-dev && \
|
||||
apt install -qqy --no-install-recommends curl python3-pip python3-nacl python3-openssl python3-bcrypt python3-cffi python3-psycopg2 python3-psutil python3-sshtunnel python3-dev python3-setuptools libpq-dev build-essential libffi-dev && \
|
||||
pip3 install --no-cache-dir pgadmin4==${VERSION} gunicorn==${GUNICORN_VERSION} && \
|
||||
ln -s /usr/local/lib/python3.7/dist-packages/pgadmin4 /pgadmin4 && \
|
||||
ln -s /usr/bin/python3 /usr/bin/python && \
|
||||
|
Loading…
Reference in New Issue
Block a user