Add optional skill directory mounts for host-based opencode skills

This commit is contained in:
2026-04-10 13:05:55 +02:00
parent 476d9fb4f5
commit 9b1f7d1028
4 changed files with 21 additions and 3 deletions
+2 -1
View File
@@ -95,7 +95,8 @@ RUN groupadd --gid ${USER_GID} ${USER_NAME} && \
# Create standard directories
RUN mkdir -p /workspace \
/home/${USER_NAME}/.config/opencode \
/home/${USER_NAME}/.config/opencode/skills \
/home/${USER_NAME}/.agents/skills \
/home/${USER_NAME}/.local/share/opencode \
/home/${USER_NAME}/.ssh && \
chown -R ${USER_NAME}:${USER_NAME} /workspace /home/${USER_NAME}