Skip to content

Commit e19bd0a

Browse files
committed
feat: add simple devcontainer setup
A devcontainer is a small wrapper around Docker to make it easy to set up a clean development environment. Most IDE's and code editors support these now as well as many cloud environments. I've included a very simple environment to start with which we can extend as necessary later to streamline the build process.
1 parent 72f6005 commit e19bd0a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3+
{
4+
"name": "Python 3",
5+
// The cpp image includes python and we need the c++ toolchains to build our dependencies.
6+
"image": "mcr.microsoft.com/devcontainers/cpp:ubuntu-24.04",
7+
"features": {
8+
"ghcr.io/devcontainers/features/common-utils:2": {}
9+
},
10+
11+
"postCreateCommand": "apt install python3-gdal"
12+
}

0 commit comments

Comments
 (0)