fix: add --no-sandbox to antigravity launch command #21
+1
-1
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: devcontainer
|
name: devcontainer
|
||||||
description: Antigravity Dev Container with Happy Coder AI assistant
|
description: Antigravity Dev Container with Happy Coder AI assistant
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.7
|
version: 0.1.9
|
||||||
appVersion: "latest"
|
appVersion: "latest"
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ spec:
|
|||||||
mountPath: /home
|
mountPath: /home
|
||||||
- name: workspace
|
- name: workspace
|
||||||
mountPath: /workspace
|
mountPath: /workspace
|
||||||
|
- name: shm
|
||||||
|
mountPath: /dev/shm
|
||||||
{{- if ne (.Values.ide | default "vscode") "none" }}
|
{{- if ne (.Values.ide | default "vscode") "none" }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@@ -99,6 +101,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: workspace
|
- name: workspace
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
- name: shm
|
||||||
|
emptyDir:
|
||||||
|
medium: Memory
|
||||||
|
sizeLimit: {{ .Values.shm.sizeLimit }}
|
||||||
- name: userhome
|
- name: userhome
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ include "antigravity.pvcName" . }}
|
claimName: {{ include "antigravity.pvcName" . }}
|
||||||
|
|||||||
@@ -41,6 +41,11 @@ storage:
|
|||||||
size: 32Gi
|
size: 32Gi
|
||||||
className: ceph-filesystem
|
className: ceph-filesystem
|
||||||
|
|
||||||
|
# Shared memory size — mounted at /dev/shm as a memory-backed emptyDir.
|
||||||
|
# Electron apps (Antigravity, Chrome) use /dev/shm for GPU/IPC buffers.
|
||||||
|
shm:
|
||||||
|
sizeLimit: 2Gi
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "2Gi"
|
memory: "2Gi"
|
||||||
|
|||||||
+2
-1
@@ -21,7 +21,8 @@ echo "Workspace: $WORKSPACE_DIR"
|
|||||||
case "$IDE" in
|
case "$IDE" in
|
||||||
antigravity)
|
antigravity)
|
||||||
echo "Opening Google Antigravity in: $WORKSPACE_DIR"
|
echo "Opening Google Antigravity in: $WORKSPACE_DIR"
|
||||||
exec antigravity --new-window --wait "$WORKSPACE_DIR"
|
# --no-sandbox is required for Electron apps in Docker (no kernel sandbox available)
|
||||||
|
exec antigravity --no-sandbox --new-window --wait "$WORKSPACE_DIR"
|
||||||
;;
|
;;
|
||||||
none)
|
none)
|
||||||
echo "IDE=none: no IDE launched, keeping container alive."
|
echo "IDE=none: no IDE launched, keeping container alive."
|
||||||
|
|||||||
Reference in New Issue
Block a user