mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-09 18:37:50 +00:00
Instal postgres client
This commit is contained in:
1 parent
aa502eadb4
commit
819a87f813
2 files changed
+5
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user