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:
@@ -9,7 +9,7 @@ services:
|
|||||||
[
|
[
|
||||||
"sh",
|
"sh",
|
||||||
"-c",
|
"-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:
|
volumes:
|
||||||
- openclaw-config:/config
|
- openclaw-config:/config
|
||||||
|
|||||||
@@ -54,13 +54,14 @@ COPY bin/* /usr/local/bin/
|
|||||||
RUN chmod +x /usr/local/bin/*
|
RUN chmod +x /usr/local/bin/*
|
||||||
|
|
||||||
# Create directories in the persistent volume location
|
# 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
|
&& chown -R node:node /home/node/.openclaw
|
||||||
|
|
||||||
# Link gog config and ssh to standard locations
|
# Link gog config and ssh to standard locations
|
||||||
RUN mkdir -p /home/node/.config /home/node/.ssh \
|
RUN mkdir -p /home/node/.config /home/node/.ssh \
|
||||||
&& ln -sf /home/node/.openclaw/gog /home/node/.config/gog \
|
&& ln -sf /home/node/.openclaw/gog /home/node/.config/gogcli \
|
||||||
&& ln -sf /home/node/.openclaw/ssh /home/node/.ssh
|
&& 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 into the image
|
||||||
COPY config/openclaw.json /home/node/.openclaw/openclaw.json
|
COPY config/openclaw.json /home/node/.openclaw/openclaw.json
|
||||||
|
|||||||
Reference in New Issue
Block a user