From 8eab159e6f88e8fd00983b57b991e7b81c97aaa5 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Thu, 19 Feb 2026 18:08:39 -0500 Subject: [PATCH] Rename user from claude to user, remove HTTPRoute - Rename container user from 'claude' to 'user' throughout Dockerfile - Remove httproute.yaml from kustomization (Authentik outpost will manage routing) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- Dockerfile | 18 +++++++++--------- k8s/kustomization.yaml | 1 - 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0eb5955..a04b6ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV APP_NAME="Antigravity Dev Container" \ SECURE_CONNECTION=1 \ USER_ID=1000 \ GROUP_ID=1000 \ - CLAUDE_USER=claude + CLAUDE_USER=user # Install system dependencies RUN apt-get update && apt-get install -y \ @@ -49,14 +49,14 @@ RUN wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor apt-get install -y code && \ rm -rf /var/lib/apt/lists/* -# Create claude user with specific UID/GID -RUN groupadd -g 1000 claude && \ - useradd -u 1000 -g 1000 -m -s /bin/bash claude && \ - echo "claude ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers +# Create user user with specific UID/GID +RUN groupadd -g 1000 user && \ + useradd -u 1000 -g 1000 -m -s /bin/bash user && \ + echo "user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers # Create workspace directory RUN mkdir -p /workspace && \ - chown -R claude:claude /workspace + chown -R user:user /workspace # Copy startup script COPY --chmod=755 scripts/startapp.sh /startapp.sh @@ -65,9 +65,9 @@ COPY --chmod=755 scripts/init-repo.sh /usr/local/bin/init-repo # Set working directory WORKDIR /workspace -# Configure container to run as claude user -ENV HOME=/home/claude \ - USER=claude +# Configure container to run as user user +ENV HOME=/home/user \ + USER=user # Expose VNC port (baseimage-gui default) EXPOSE 5800 diff --git a/k8s/kustomization.yaml b/k8s/kustomization.yaml index fdccc39..d106c71 100644 --- a/k8s/kustomization.yaml +++ b/k8s/kustomization.yaml @@ -7,7 +7,6 @@ namespace: default resources: - configmap.yaml - statefulset.yaml - - httproute.yaml # Uncomment to create secrets from files # secretGenerator: