From 5264b577f86759c292ffc49dc2a648f589b63967 Mon Sep 17 00:00:00 2001 From: chiDT Date: Mon, 8 Sep 2025 21:19:47 +0900 Subject: [PATCH] Add SuperClaude installation for user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Install pipx in Dockerfile for Python package management - Add SuperClaude installation in entrypoint.sh for each user - SuperClaude runs with user permissions for better security 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- Dockerfile | 3 ++- entrypoint.sh | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dbacaf7..6f94a15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,7 +59,7 @@ RUN npm install -g @anthropic-ai/claude-code ENV PATH="/usr/local/bin:${PATH}" # additional package -RUN apt-get install -y fcitx5 --fix-missing +RUN apt-get install -y fcitx5 pipx --fix-missing RUN apt-get clean && rm -rf /var/lib/apt/lists/* @@ -72,6 +72,7 @@ RUN curl -fsSL https://code-server.dev/install.sh | sh RUN which code-server && code-server --version + # git information RUN git config --global user.email "user@mail.com" RUN git config --global user.name "docker-debian" diff --git a/entrypoint.sh b/entrypoint.sh index be11d61..dd89f5c 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -55,6 +55,9 @@ set -e # clean chromium config for fresh start su - $XWINDOW_USER -c "rm -rf ~/.config/chromium/" +# install super-claude +su - $XWINDOW_USER -c "pipx install SuperClaude && pipx upgrade SuperClaude && SuperClaude install" + # start code-server in background su - $XWINDOW_USER -c "code-server --bind-addr 0.0.0.0:30145 --auth password /mnt" &