Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

Remove g++ from dockerfile

Chirag Jain49039e8f1150
diff --git a/Dockerfile b/Dockerfile
index d0e4fc237..a5334b04b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,16 +15,10 @@ ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable && pnpm config set store-dir /pnpm/store
WORKDIR /app
-# Native dependencies (for example better-sqlite3) compile in build stages.
-FROM base AS build-base
-RUN apt update \
- && apt install -y --no-install-recommends g++ make python3 \
- && rm -rf /var/lib/apt/lists/*
-
# ---------------------------------------------------------------------------
# store: the pnpm store, from the lockfile only (stable when manifests churn).
# ---------------------------------------------------------------------------
-FROM build-base AS store
+FROM base AS store
COPY pnpm-lock.yaml pnpm-workspace.yaml ./
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm fetch