Fix chown errors in startup script
- Remove chown on /home mount root (PVC root not owned by container user) - Change imagePullPolicy to Always to pick up new images on pod restart Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -35,7 +35,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: antigravity
|
- name: antigravity
|
||||||
image: ghcr.io/cpfarhood/devcontainer:latest
|
image: ghcr.io/cpfarhood/devcontainer:latest
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5800
|
- containerPort: 5800
|
||||||
name: vnc-web
|
name: vnc-web
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ fi
|
|||||||
RUN_UID="${USER_ID:-1000}"
|
RUN_UID="${USER_ID:-1000}"
|
||||||
RUN_GID="${GROUP_ID:-1000}"
|
RUN_GID="${GROUP_ID:-1000}"
|
||||||
chown -R "$RUN_UID:$RUN_GID" "$WORKSPACE_DIR"
|
chown -R "$RUN_UID:$RUN_GID" "$WORKSPACE_DIR"
|
||||||
chown -R "$RUN_UID:$RUN_GID" /home
|
|
||||||
|
|
||||||
# Start Happy Coder in background as the app user
|
# Start Happy Coder in background as the app user
|
||||||
echo "Starting Happy Coder..."
|
echo "Starting Happy Coder..."
|
||||||
|
|||||||
Reference in New Issue
Block a user