fix: Use lean Python base image instead of bloated universal

- Switch from 10GB universal to ~2GB Python base
- Add only needed features: Docker, Node, Git
- Much faster Codespace startup
- Same functionality, less bloat
This commit is contained in:
Maxime Beauchemin
2025-07-28 15:57:41 -07:00
parent 8bf2e4ea3a
commit e922e51e6b

View File

@@ -1,6 +1,20 @@
{
"name": "Apache Superset Development",
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
"image": "mcr.microsoft.com/devcontainers/python:3.10",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": true,
"dockerDashComposeVersion": "v2"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "18"
},
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/common-utils:2": {
"configureZshAsDefaultShell": true
}
},
// Forward ports for development
"forwardPorts": [9001, 8088],