fix gog config symlink for persistent auth tokens

This commit is contained in:
2026-04-21 09:43:22 -04:00
parent 2250b25319
commit 70328c7a0c

View File

@@ -57,8 +57,10 @@ RUN chmod +x /usr/local/bin/*
RUN mkdir -p /var/tmp/openclaw-compile-cache /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 /var/tmp/openclaw-compile-cache
# Link ssh to the persistent volume location
RUN rm -rf /home/node/.ssh \
# Link gog config and ssh to standard locations
RUN mkdir -p /home/node/.config \
&& ln -sf /home/node/.openclaw/gog /home/node/.config/gog \
&& rm -rf /home/node/.ssh \
&& ln -s /home/node/.openclaw/ssh /home/node/.ssh
# Copy default config into the image