Skip to content

Commit

Permalink
Integrate poetry into devcontainers (#431)
Browse files Browse the repository at this point in the history
see #431
  • Loading branch information
bearrito authored Feb 29, 2024
1 parent 098db15 commit fc11119
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .devcontainer/commands/post-create-command.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
echo "Running post-create-command.sh"

curl -sSL https://install.python-poetry.org | python3 -

poetry install --all-extras
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip install --user -r requirements/ubuntu-latest-3.11.txt",
"postCreateCommand": ".devcontainer/commands/post-create-command.sh",
"customizations": {
"vscode": {
"extensions": [
Expand Down

0 comments on commit fc11119

Please sign in to comment.