Compare commits

...

2 Commits

Author SHA1 Message Date
6a6a94dfe6 fix: add gws config directory and fix gog symlink path (merged)
- 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
- Merge with remote changes (opt/openclaw/defaults)
2026-04-16 20:25:56 +00:00
c99960307e 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
2026-04-16 20:25:09 +00:00
2 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ services:
[
"sh",
"-c",
"mkdir -p /config /workspace && chown -R 1000:1000 /config /workspace && chmod 755 /config /workspace",
"mkdir -p /config/gog /config/ssh /config/gws /workspace && chown -R 1000:1000 /config /workspace && chmod 755 /config /workspace",
]
volumes:
- openclaw-config:/config

View File

@@ -54,17 +54,17 @@ 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 /opt/openclaw/defaults \
&& chown -R node:node /home/node/.openclaw
RUN mkdir -p /home/node/.openclaw/ssh /home/node/.openclaw/gog /home/node/.openclaw/gws /opt/openclaw/defaults \
&& chown -R node:node /home/node/.openclaw /opt/openclaw/defaults
# 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 default config into the image
COPY config/openclaw.json /opt/openclaw/defaults/openclaw.json
RUN chown -R node:node /opt/openclaw/defaults
# Switch back to node user
USER node