Skip to content

Commit c62dcd3

Browse files
committed
Install python3-gdal manually to fix runtime
1 parent 8b762f9 commit c62dcd3

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,11 @@
22
// README at: https://github.com/devcontainers/templates/tree/main/src/python
33
{
44
"name": "Python 3",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
5+
// The cpp image includes python and we need the c++ toolchains to build our dependencies.
66
"image": "mcr.microsoft.com/devcontainers/cpp:ubuntu-24.04",
7-
// Features to add to the dev container. More info: https://containers.dev/features.
87
"features": {
98
"ghcr.io/devcontainers/features/common-utils:2": {}
10-
}
11-
12-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
13-
// "forwardPorts": [],
14-
15-
// Use 'postCreateCommand' to run commands after the container is created.
16-
// "postCreateCommand": "pip3 install --user -r requirements.txt",
17-
18-
// Configure tool-specific properties.
19-
// "customizations": {},
9+
},
2010

11+
"postCreateCommand": "apt install python3-gdal"
2112
}

0 commit comments

Comments
 (0)