mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
Instal postgres client
This commit is contained in:
@ -21,6 +21,7 @@ RUN chmod +x init.sh
|
|||||||
# Install required base packages
|
# Install required base packages
|
||||||
RUN apt update && apt install -y \
|
RUN apt update && apt install -y \
|
||||||
python3.11-dev python3.11-venv \
|
python3.11-dev python3.11-venv \
|
||||||
|
postgresql-client \
|
||||||
libldap2-dev libsasl2-dev \
|
libldap2-dev libsasl2-dev \
|
||||||
libpango1.0-0 libcairo2 \
|
libpango1.0-0 libcairo2 \
|
||||||
weasyprint
|
weasyprint
|
||||||
|
@ -29,5 +29,8 @@ rm -f /home/vscode/.gitconfig
|
|||||||
|
|
||||||
# Fix issue related to CFFI version mismatch
|
# Fix issue related to CFFI version mismatch
|
||||||
pip uninstall cffi -y
|
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
|
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