Skip to content

Commit

Permalink
update devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq committed Sep 30, 2024
1 parent 40f2721 commit c501a63
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
}
"image": "ghcr.io/prefix-dev/pixi:0.30.0-jammy",
"postCreateCommand": {
// This should happen *after* source code with pyproject.toml is pulled to CWD
"pixi-install": "pixi install"
},
// Slow...
// Git maybe added to base image https://github.com/prefix-dev/pixi-docker/issues/41
// For now, just `pixi install git` into default env
// "features": {
// "ghcr.io/devcontainers/features/git:1": {
// "version": "latest",
// "ppa": "false"
// }
// },
"customizations": {
// for notebooks to render correctly see https://github.com/orgs/community/discussions/58399#discussioncomment-10504531
"codespaces": {
"openFiles": ["README.md"]
},
"vscode": {
"extensions": ["ms-toolsai.jupyter", "ms-python.python"]
}
},
"secrets": {
"MAXAR_API_KEY": {
"description": "Maxar platform api key",
"documentationUrl": "https://developers.maxar.com/docs/authentication/guides/api-key"
}
}
}

0 comments on commit c501a63

Please sign in to comment.