Add SuperClaude installation for user

- 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 <noreply@anthropic.com>
This commit is contained in:
2025-09-08 21:19:47 +09:00
parent 4592946fdd
commit 5264b577f8
2 changed files with 5 additions and 1 deletions

View File

@@ -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"

View File

@@ -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" &