picoclaw/docker
BeaconCat f334ac6d01
fix: treat PID=1 as stale in PID file singleton check, fix govet shadow, add .gitattributes (#2642)
- pid: When a container stops and leaves behind a PID file with PID 1
  on a shared volume, the host's init process (PID 1) passes the
  isProcessRunning check, blocking new gateway starts. Treat recorded
  PID 1 as always stale in both WritePidFile and ReadPidFileWithCheck.
  Added unit tests covering the PID=1 container leftover scenario.

- isolation: Fix govet shadow warning on platform_windows.go line 105
  where := shadows the outer err variable. Changed to = assignment.

- gitattributes: Enforce LF line endings for shell scripts to prevent
  CRLF issues when checking out on Windows (breaks Docker entrypoint).

Co-authored-by: BeaconCat <BeaconCat@users.noreply.github.com>
2026-04-24 15:26:34 +08:00
..
docker-compose.full.yml fix: address PR review feedback for MCP tools support 2026-03-01 10:56:02 +08:00
docker-compose.yml fix(docker): add -console flag and open network for launcher (#2314) 2026-04-07 09:34:54 +08:00
Dockerfile fix(docker): run self-built images as root for parity with release (#2435) 2026-04-09 10:53:52 +08:00
Dockerfile.full fix: address PR review feedback for MCP tools support 2026-03-01 10:56:02 +08:00
Dockerfile.goreleaser chore(docker): reorganize docker files and add first-run entrypoint (#812) 2026-02-27 10:10:17 +08:00
Dockerfile.goreleaser.launcher fix(docker): add -console flag and open network for launcher (#2314) 2026-04-07 09:34:54 +08:00
Dockerfile.heavy fix(docker): run self-built images as root for parity with release (#2435) 2026-04-09 10:53:52 +08:00
entrypoint.sh fix: treat PID=1 as stale in PID file singleton check, fix govet shadow, add .gitattributes (#2642) 2026-04-24 15:26:34 +08:00