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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user