mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "Apache Superset Development",
|
|
// Keep this in sync with the base image in Dockerfile (ARG PY_VER)
|
|
// Using the same base as Dockerfile, but non-slim for dev tools
|
|
"image": "python:3.11.13-bookworm",
|
|
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
|
"moby": true,
|
|
"dockerDashComposeVersion": "v2"
|
|
},
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "20"
|
|
},
|
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
"configureZshAsDefaultShell": true
|
|
},
|
|
"ghcr.io/devcontainers/features/sshd:1": {
|
|
"version": "latest"
|
|
}
|
|
},
|
|
|
|
// Run commands after container is created
|
|
"postCreateCommand": "chmod +x .devcontainer/setup-dev.sh && .devcontainer/setup-dev.sh",
|
|
|
|
// VS Code customizations
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"charliermarsh.ruff",
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode"
|
|
]
|
|
}
|
|
}
|
|
}
|