Skip to content

Tidy up: apply .dockerignore: workflows use repo-root build context (Docker build) #188

Open

Description

@simbo1905

Sub-issue 9 of 26 from the 2026-11-21 bot-review-comment audit. Parent issue: #179 (Bot review comment tidy up).
Audited origin/main HEAD: 2e5cf37. Audit date: 2026-11-21.

== Finding 9 (verbatim from the audit findings file) ==

  1. PR Add offline jdt2jar CLI and distroless packaging #148 — jtd2jar/.dockerignore is never applied by CI Docker builds.
    Author: chatgpt-codex-connector[bot], 2026-05-20. Comment: Add offline jdt2jar CLI and distroless packaging #148 (comment)
    Source: jdt2jar/.dockerignore:1. Current: jtd2jar/.dockerignore (file renamed jdt2jar -> jtd2jar by PR Rename jdt2jar to jtd2jar #164; .github/workflows/ci.yml:70, maven.yml:78, release-on-tag.yml:159 still use context: . + file: jtd2jar/Dockerfile; no root .dockerignore or Dockerfile.dockerignore exists).
    Flagged: "Docker only reads .dockerignore from the context root... large/sensitive files (for example .git/, .env, and local artifacts) are still sent in build context despite being listed here".
    Still applies: all three workflows still build with repository-root context; jtd2jar/.dockerignore is inert.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions