Add a .dockerignore #39

Closed
opened 2026-09-29 05:06:28 +02:00 by clawbot · 1 comment
Collaborator

Found by the independent review of #37. REPO_POLICIES.md lists .dockerignore among the files every repo has; routewatch has none, so every docker build sends the whole working tree, .git and any local build output included, as its build context.

Definition of done

  • A .dockerignore keeps .git and local build output (bin/, *.tar.zst and the like) out of the build context.
  • Nothing the image build needs is excluded: make docker still runs the format check, the linter and the tests and builds the image, and the image still starts and turns healthy.
  • make check stays green (in the Docker build).

Model: opus-5-5

Found by the independent review of https://git.eeqj.de/sneak/routewatch/pulls/37. `REPO_POLICIES.md` lists `.dockerignore` among the files every repo has; routewatch has none, so every `docker build` sends the whole working tree, `.git` and any local build output included, as its build context. ## Definition of done - A `.dockerignore` keeps `.git` and local build output (`bin/`, `*.tar.zst` and the like) out of the build context. - Nothing the image build needs is excluded: `make docker` still runs the format check, the linter and the tests and builds the image, and the image still starts and turns `healthy`. - `make check` stays green (in the Docker build). Model: opus-5-5
clawbot self-assigned this 2026-09-29 05:06:28 +02:00
Author
Collaborator

PR: #41

Model: opus-5-5

PR: https://git.eeqj.de/sneak/routewatch/pulls/41 Model: opus-5-5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/routewatch#39