Skip to content

Commit 49514c3

Browse files
committed
fix: ensure proper ownership of LLM CLI virtual environment for vscode user
Signed-off-by: Aaron Wislang <aaron.wislang@microsoft.com>
1 parent 85d8061 commit 49514c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/ai-container/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ RUN npm install -g @anthropic-ai/claude-code @google/gemini-cli @charmland/crush
9393
USER root
9494

9595
# Install Simon Willison's LLM CLI in an isolated venv for consistency
96-
USER root
9796
RUN apt-get update \
9897
&& apt-get install -y --no-install-recommends python3 python3-venv python3-pip \
9998
&& rm -rf /var/lib/apt/lists/*
10099

101-
RUN python3 -m venv /opt/llm-env
100+
RUN python3 -m venv /opt/llm-env \
101+
&& chown -R vscode:vscode /opt/llm-env
102102
ENV PATH="/opt/llm-env/bin:${PATH}"
103103

104104
USER vscode

0 commit comments

Comments
 (0)