Skip to content

Commit ff36ee4

Browse files
shugoclaude
andcommitted
Fix gh config directory ownership in devcontainer
Create /home/node/.config/gh in Dockerfile and set node ownership so the directory is writable when mounted as a named volume. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 921e1a5 commit ff36ee4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhisto
6262
ENV DEVCONTAINER=true
6363

6464
# Create workspace and config directories and set permissions
65-
RUN mkdir -p /workspace /home/node/.claude && \
66-
chown -R node:node /workspace /home/node/.claude
65+
RUN mkdir -p /workspace /home/node/.claude /home/node/.config/gh && \
66+
chown -R node:node /workspace /home/node/.claude /home/node/.config/gh
6767

6868
WORKDIR /workspace
6969

0 commit comments

Comments
 (0)