File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,6 @@ FROM devtools AS final
6969# Ensure policy directory exists
7070RUN mkdir -p /etc/navigator
7171
72- # Auto-copy policy.yaml from child build contexts if present.
73- # The trailing wildcard means the COPY is a no-op when the file doesn't exist.
74- ONBUILD COPY policy.yaml* /etc/navigator/
75-
7672# Set up sandbox user home directory
7773RUN mkdir -p /sandbox/.claude/skills /sandbox/.agents/skills /sandbox/.openclaw/skills && \
7874 printf 'export PS1="\\ u@\\ h:\\ w\\ $ "\n ' > /sandbox/.bashrc && \
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ USER root
1717# Install OpenClaw CLI
1818RUN npm install -g openclaw
1919
20- # policy.yaml is automatically copied by the base image ONBUILD directive
20+ # Copy sandbox policy
21+ COPY policy.yaml /etc/navigator/policy.yaml
2122
2223# Copy the OpenClaw startup helper
2324COPY openclaw-start.sh /usr/local/bin/openclaw-start
You can’t perform that action at this time.
0 commit comments