This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch codespaces
in repository https://gitbox.apache.org/repos/asf/superset.git

commit bb6f45b76f1a6bdcdeca64ae6c184e0fd32b6f67
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Mon Jul 28 15:43:13 2025 -0700

    fix: Simplify devcontainer to avoid docker-compose conflicts
    
    - Remove all features (universal image has everything)
    - Simplified config to just image + scripts
    - No dockerComposeFile reference
    - Plain container that runs docker-compose internally
---
 .devcontainer/devcontainer.json | 67 ++++++-----------------------------------
 1 file changed, 10 insertions(+), 57 deletions(-)

diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 3588e902e1..de90e32214 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,7 +1,6 @@
 {
   "name": "Apache Superset Development",
-  "image": "mcr.microsoft.com/devcontainers/universal:2",
-  "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
+  "image": "mcr.microsoft.com/devcontainers/universal:2-linux",
 
   // Forward ports for development
   "forwardPorts": [9001, 8088],
@@ -16,68 +15,22 @@
     }
   },
 
-  // VS Code extensions for Superset development
+  // Run commands after container is created
+  "postCreateCommand": "chmod +x .devcontainer/setup-dev.sh && 
.devcontainer/setup-dev.sh",
+
+  // Auto-start Superset on Codespace resume
+  "postStartCommand": ".devcontainer/start-superset.sh",
+
+  // VS Code customizations
   "customizations": {
     "vscode": {
       "extensions": [
         "ms-python.python",
         "ms-python.vscode-pylance",
-        "ms-python.black-formatter",
         "charliermarsh.ruff",
         "dbaeumer.vscode-eslint",
-        "esbenp.prettier-vscode",
-        "ms-vscode.vscode-typescript-tslint-plugin",
-        "eamodio.gitlens",
-        "github.copilot",
-        "ms-azuretools.vscode-docker"
-      ],
-      "settings": {
-        "python.defaultInterpreterPath": "/usr/local/bin/python",
-        "python.linting.enabled": true,
-        "python.linting.pylintEnabled": false,
-        "python.formatting.provider": "black",
-        "editor.formatOnSave": true,
-        "editor.codeActionsOnSave": {
-          "source.fixAll.eslint": true
-        },
-        "[python]": {
-          "editor.defaultFormatter": "ms-python.black-formatter"
-        },
-        "[typescript]": {
-          "editor.defaultFormatter": "esbenp.prettier-vscode"
-        },
-        "[typescriptreact]": {
-          "editor.defaultFormatter": "esbenp.prettier-vscode"
-        }
-      }
+        "esbenp.prettier-vscode"
+      ]
     }
-  },
-
-  // Environment variables for development
-  "remoteEnv": {
-    "FLASK_ENV": "development",
-    "SUPERSET_ENV": "development",
-    "CYPRESS_CACHE_FOLDER": "/tmp/cypress_cache",
-    "FLASK_DEBUG": "1"
-  },
-
-  // Run commands after container is created
-  "postCreateCommand": "chmod +x .devcontainer/setup-dev.sh && 
.devcontainer/setup-dev.sh",
-
-  // Auto-start Superset on Codespace resume
-  "postStartCommand": ".devcontainer/start-superset.sh",
-
-  // Features to add to the dev container
-  "features": {
-    "ghcr.io/devcontainers/features/sshd:1": {
-      "version": "latest"
-    }
-  },
-
-  // Memory and CPU (Codespaces will provision accordingly)
-  "hostRequirements": {
-    "cpus": 4,
-    "memory": "8gb",
-    "storage": "32gb"
   }
 }

Reply via email to