Skip to content

Commit a682ea1

Browse files
committed
fix: skip native addon compilation in Docker openclaw install
1 parent 2ae2611 commit a682ea1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎test/integration/Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ RUN apt-get update && apt-get install -y \
88
&& rm -rf /var/lib/apt/lists/*
99

1010
# Install OpenClaw globally (peer dependency)
11-
RUN npm install -g openclaw@latest
11+
# --ignore-scripts avoids native compilation of optional deps like @discordjs/opus
12+
RUN npm install -g --ignore-scripts openclaw@latest
1213

1314
# Copy ClawRouter source and build
1415
WORKDIR /opt/clawrouter

0 commit comments

Comments
 (0)