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