diff --git a/contrib/.devcontainer/devcontainer.json b/contrib/.devcontainer/devcontainer.json index b312102784..14e7d7f0ae 100644 --- a/contrib/.devcontainer/devcontainer.json +++ b/contrib/.devcontainer/devcontainer.json @@ -6,7 +6,7 @@ "features": { "ghcr.io/devcontainers/features/common-utils:1": {}, "ghcr.io/devcontainers/features/docker-from-docker:1": {}, - "ghcr.io/devcontainers-contrib/features/mkdocs:1": {} + "ghcr.io/devcontainers-contrib/features/mkdocs:2": {} }, // Use 'forwardPorts' to make a list of ports inside the container available locally. diff --git a/contrib/.devcontainer/postCreate.sh b/contrib/.devcontainer/postCreate.sh index f0631a4af2..88f403de5e 100755 --- a/contrib/.devcontainer/postCreate.sh +++ b/contrib/.devcontainer/postCreate.sh @@ -1,3 +1,6 @@ #!/bin/bash yarn install -pip install mkdocs-techdocs-core \ No newline at end of file +export VIRTUAL_ENV=$HOME/venv +python3 -m venv $VIRTUAL_ENV +export PATH="$VIRTUAL_ENV/bin:$PATH" +python3 -m pip install mkdocs-techdocs-core \ No newline at end of file