Merge pull request #19560 from sonikro/fix-devcontainer

fix(devcontainer): fixes python new requirements for venvs
This commit is contained in:
Ben Lambert
2023-08-24 09:16:51 +02:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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.
+4 -1
View File
@@ -1,3 +1,6 @@
#!/bin/bash
yarn install
pip install mkdocs-techdocs-core
export VIRTUAL_ENV=$HOME/venv
python3 -m venv $VIRTUAL_ENV
export PATH="$VIRTUAL_ENV/bin:$PATH"
python3 -m pip install mkdocs-techdocs-core