fix: add python3, make, g++ to builder stage apt-get for native addon compilation (#2713)

Integrated into release/v3.8.3 — required for native addon compilation (better-sqlite3) in the Docker builder stage.
This commit is contained in:
M.M
2026-05-26 04:05:34 +02:00
committed by GitHub
parent dedeac4517
commit 0dc516571d

View File

@@ -2,7 +2,7 @@ FROM node:24-trixie-slim AS builder
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends libsecret-1-0 ca-certificates \
&& apt-get install -y --no-install-recommends libsecret-1-0 ca-certificates python3 make g++ \
&& rm -rf /var/lib/apt/lists/*
COPY package*.json ./
@@ -82,3 +82,4 @@ RUN apt-get update \
# Install CLI tools globally. Separate layer from apt for better cache reuse.
RUN npm install -g --no-audit --no-fund @openai/codex @anthropic-ai/claude-code droid openclaw@latest