From 819a87f81338bb1c2c4f98c5f693144f49d089de Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 11 Feb 2025 08:37:35 +0000 Subject: [PATCH] Instal postgres client --- .devcontainer/Dockerfile | 1 + .devcontainer/postCreateCommand.sh | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index a87b82dc8c..af09987f2d 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -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 diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh index 54d0e30005..6c662cb7e9 100755 --- a/.devcontainer/postCreateCommand.sh +++ b/.devcontainer/postCreateCommand.sh @@ -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 \ No newline at end of file