From e90a2fe55383944165ba5dd6090f3ca2bd5b3f77 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Fri, 20 Feb 2026 15:22:19 -0500 Subject: [PATCH] fix: add --no-sandbox to antigravity launch command Electron apps crash in Docker without --no-sandbox and --disable-dev-shm-usage, same as Chrome. VSCode handles this internally; Antigravity does not. Co-Authored-By: Claude Sonnet 4.6 --- chart/Chart.yaml | 2 +- scripts/startapp.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index f2ae509..f9b50f6 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: devcontainer description: Antigravity Dev Container with Happy Coder AI assistant type: application -version: 0.1.7 +version: 0.1.8 appVersion: "latest" diff --git a/scripts/startapp.sh b/scripts/startapp.sh index 7a781d4..73d11f5 100644 --- a/scripts/startapp.sh +++ b/scripts/startapp.sh @@ -21,7 +21,8 @@ echo "Workspace: $WORKSPACE_DIR" case "$IDE" in antigravity) echo "Opening Google Antigravity in: $WORKSPACE_DIR" - exec antigravity --new-window --wait "$WORKSPACE_DIR" + # --no-sandbox and --disable-dev-shm-usage are required for Electron apps in Docker + exec antigravity --no-sandbox --disable-dev-shm-usage --new-window --wait "$WORKSPACE_DIR" ;; none) echo "IDE=none: no IDE launched, keeping container alive."