#3240: Fix Docker build failures on Windows/WSL environments
docker
Cluster:
Docker Build Fixes
File Status
.dockerignore Modified (cleaned up, removed problematic exclusions) .npmrc Modified (added workspace peer resolution)
Dockerfile Modified (copy all workspace package.json files) pnpm-workspace.yaml Modified (removed invalid comment)
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adjusts Docker build inputs and pnpm workspace configuration to address Docker build failures (notably on Windows/WSL) by: cleaning up `.dockerignore`, adding pnpm workspace peer/workspace linking behavior in `.npmrc`, and copying per-workspace `package.json` files into the Docker build context prior to `pnpm install` so `workspace:*` dependencies can be resolved.
Main concerns are around build determinism: the Docker build now installs with `--no-frozen-lockfile`, which can make dependency resolution drift from the checked-in lockfile, and `pnpm-workspace.yaml` contains a duplicated `packages/*` entry suggesting an accidental change.
<h3>Confidence Score: 3/5</h3>
- Moderately safe to merge, but there are a couple correctness/reproducibility concerns to address first.
- Changes are small and localized to build configuration, but `pnpm install --no-frozen-lockfile` can cause non-reproducible dependency resolution in Docker builds, and `pnpm-workspace.yaml` includes a duplicated glob that suggests an accidental edit.
- Dockerfile, pnpm-workspace.yaml
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#2609: bugfix: Docker build fails on main: .dockerignore excludes required...
by yanquankun · 2026-01-27
80.6%
#11818: fix(docker): resolve build hang by using in-place ownership and opt...
by dilly · 2026-02-08
79.5%
#19502: Docker: install extension workspace deps for memory-lancedb
by Hua688 · 2026-02-17
78.9%
#7133: feat: Automated Docker setup with environment-based configuration
by synetalsolutions · 2026-02-02
78.6%
#9102: Remove UI build for Discord-onlyUpdate Dockerfile
by nbliss16 · 2026-02-04
78.1%
#13873: fix(sandbox): prevent Windows PATH from poisoning docker exec
by alessandrorodi · 2026-02-11
77.9%
#7342: fix(docker): ensure readability of docker-setup.sh
by esc-ouni · 2026-02-02
77.9%
#9999: Docker: fix token mismatch and add dev setup workflow
by benclarkeio · 2026-02-06
77.8%
#11878: fix: add missing error handler to execDocker child process
by Yida-Dev · 2026-02-08
77.7%
#8362: Add Homebrew-based Docker image
by bugparty · 2026-02-03
77.4%