Skip to content

fix: add .dockerignore to reduce build context size - #49

Merged
mark-e-deyoung merged 1 commit into
mainfrom
fix/dockerignore
Jul 6, 2026
Merged

mark-e-deyoung merged 1 commit into
mainfrom
fix/dockerignore

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Contributor

Summary

Adds a .dockerignore file to exclude unnecessary files from Docker build context, reducing context size and speeding up image builds.

Changes

  • .dockerignore: Excludes .git/, build artifacts (out/, dist/, artifacts/), Python cache (__pycache__/), runtime state (agent-sandbox/, .wbab/), secrets (.env, *.key, *.pem), temp files, and other unnecessary files from Docker build context.

All four Dockerfiles (linter, winbuild, packager, signer) use the repo root as build context. Without a .dockerignore, Docker sends the entire working tree (including potentially large directories) to the daemon on every build.

- Exclude .git/, build artifacts, Python cache, runtime state, and
  secrets from Docker build context
- Reduces context sent to Docker daemon during lint/build/package
  image builds
@mark-e-deyoung
mark-e-deyoung merged commit bd79d45 into main Jul 6, 2026
4 of 7 checks passed
@mark-e-deyoung
mark-e-deyoung deleted the fix/dockerignore branch July 6, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant