diff --git a/.changeset/docker-install-git.md b/.changeset/docker-install-git.md new file mode 100644 index 0000000..b643a83 --- /dev/null +++ b/.changeset/docker-install-git.md @@ -0,0 +1,5 @@ +--- +"@neuledge/context": patch +--- + +Install `git` in the Docker runtime image so cloning GitHub URLs works out of the box (fixes `Git clone failed: /bin/sh: 1: git: not found`). diff --git a/packages/context/Dockerfile b/packages/context/Dockerfile index a1fe74a..9ce9daa 100644 --- a/packages/context/Dockerfile +++ b/packages/context/Dockerfile @@ -13,6 +13,10 @@ FROM node:22-bookworm-slim AS runtime WORKDIR /app +RUN apt-get update \ + && apt-get install -y --no-install-recommends git ca-certificates \ + && rm -rf /var/lib/apt/lists/* + COPY --from=build /app/packages/context/dist ./dist COPY --from=build /app/packages/context/package.json ./package.json