2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 11:35:41 +00:00

Instal postgres client

This commit is contained in:
Oliver Walters
2025-02-11 08:37:35 +00:00
parent aa502eadb4
commit 819a87f813
2 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,7 @@ RUN chmod +x init.sh
# Install required base packages
RUN apt update && apt install -y \
python3.11-dev python3.11-venv \
postgresql-client \
libldap2-dev libsasl2-dev \
libpango1.0-0 libcairo2 \
weasyprint

View File

@ -29,5 +29,8 @@ rm -f /home/vscode/.gitconfig
# Fix issue related to CFFI version mismatch
pip uninstall cffi -y
sudo apt remove --purge python3-cffi
sudo apt remove --purge -y python3-cffi
pip install --no-cache-dir --force-reinstall --ignore-installed cffi
# Upgrade pip
python3 -m pip install --upgrade pip