agent-terminal image: pre-create ~/drives owned by the runtime user
So a fresh per-agent node-local volume (node-placed terminal) seeds with 65532 ownership and the non-root shell can write ~/drives, instead of a root-owned mount. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
10c89f5157
commit
731adb6449
@@ -37,5 +37,10 @@ COPY --chown=65532:65532 zdotdir/.zshrc /home/agent/.zshrc
|
|||||||
COPY --chown=65532:65532 zdotdir/.p10k.zsh /home/agent/.p10k.zsh
|
COPY --chown=65532:65532 zdotdir/.p10k.zsh /home/agent/.p10k.zsh
|
||||||
COPY --chown=65532:65532 zdotdir/.tmux.conf /home/agent/.tmux.conf
|
COPY --chown=65532:65532 zdotdir/.tmux.conf /home/agent/.tmux.conf
|
||||||
|
|
||||||
|
# Pre-create the drives mount root owned by the runtime user, so when a fresh
|
||||||
|
# per-agent node-local volume mounts here (node-placed terminal) Docker seeds it
|
||||||
|
# with this ownership — i.e. the non-root shell can actually write ~/drives.
|
||||||
|
RUN mkdir -p /home/agent/drives
|
||||||
|
|
||||||
# Idle keep-alive; the server execs an interactive tmux/zsh into the container.
|
# Idle keep-alive; the server execs an interactive tmux/zsh into the container.
|
||||||
CMD ["sleep", "infinity"]
|
CMD ["sleep", "infinity"]
|
||||||
|
|||||||
Reference in New Issue
Block a user