Skip to content

Commit

Permalink
feat: Add devcontainer config (#2250)
Browse files Browse the repository at this point in the history
* Add devcontainer config using the pyhf Dockerfile.
   - c.f. https://containers.dev/
   - Motivated by Sarah Kaiser's SciPy 2023 lightning talk.
  • Loading branch information
matthewfeickert committed Jul 15, 2023
1 parent 4845a15 commit 9797a21
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "pyhf-devcontainer",
"build": {
"context": "..",
"dockerfile": "../docker/Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/git:1": {}
},

"customizations": {
"vscode": {
"settings": {
"python.defaultInterpreterPath": "/opt/venv/bin/python"
},
"extensions": [
"ms-python.python",
"ms-toolsai.jupyter"
]
}
}
}

0 comments on commit 9797a21

Please sign in to comment.