fix: add gws config directory and fix gog symlink path

- Add /home/node/.openclaw/gws directory for Google Workspace CLI
- Fix gog symlink from .config/gog to .config/gogcli (correct path)
- Add symlink for gws at .config/gws
- Update init-perms to create gog, ssh, and gws subdirectories
This commit is contained in:
2026-04-16 20:25:09 +00:00
parent 52d2555cca
commit c99960307e
2 changed files with 5 additions and 4 deletions

View File

@@ -54,13 +54,14 @@ COPY bin/* /usr/local/bin/
RUN chmod +x /usr/local/bin/*
# Create directories in the persistent volume location
RUN mkdir -p /home/node/.openclaw/ssh /home/node/.openclaw/gog \
RUN mkdir -p /home/node/.openclaw/ssh /home/node/.openclaw/gog /home/node/.openclaw/gws \
&& chown -R node:node /home/node/.openclaw
# Link gog config and ssh to standard locations
RUN mkdir -p /home/node/.config /home/node/.ssh \
&& ln -sf /home/node/.openclaw/gog /home/node/.config/gog \
&& ln -sf /home/node/.openclaw/ssh /home/node/.ssh
&& ln -sf /home/node/.openclaw/gog /home/node/.config/gogcli \
&& ln -sf /home/node/.openclaw/ssh /home/node/.ssh \
&& ln -sf /home/node/.openclaw/gws /home/node/.config/gws
# Copy config into the image
COPY config/openclaw.json /home/node/.openclaw/openclaw.json