From efddf078e9151fb7896f28df65a6eff6a2aa1fc5 Mon Sep 17 00:00:00 2001 From: Jon Massey Date: Mon, 20 May 2024 22:08:15 +0100 Subject: [PATCH] Remove --user from pip install in postCreate.sh venv is activated prior to this script execution following https://github.com/opensafely-core/research-template-docker/pull/26 so --user installation no longer possible --- .devcontainer/postCreate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/postCreate.sh b/.devcontainer/postCreate.sh index 3e43d44..c57e131 100644 --- a/.devcontainer/postCreate.sh +++ b/.devcontainer/postCreate.sh @@ -2,7 +2,7 @@ set -euo pipefail -pip3 install --user -r .devcontainer/requirements.in +pip3 install -r .devcontainer/requirements.in #set R working directory ! grep -q "$1" $R_HOME/etc/Rprofile.site && sudo tee -a $R_HOME/etc/Rprofile.site <<< "setwd(\"$1\")"