# NousResearch/hermes-agent · Dockerfile COPY --link flag breaks Podman/Buildah builds

## Open now

- 1 issue, 2 PRs open on GitHub.
- #62849: \[Bug\]: Dockerfile fails to build on podman/buildah due to unsupported flag
- PR #62852: fix(docker): replace BuildKit-only COPY flags with universal COPY + RUN chmod
- PR #62906: fix(docker): remove --link flag from COPY to support Podman/Buildah builds (#62849)

A bug was reported and multiple fixes proposed to remove the BuildKit-only --link flag from COPY instructions in the Dockerfile. The goal is to restore compatibility with Podman and Buildah, which do not support that flag.

## TL;DR

- 6 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 3 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.33`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #62849: \[Bug\]: Dockerfile fails to build on podman/buildah due to unsupported flag

## Prior & competing PRs

- **#62852: fix(docker): replace BuildKit-only COPY flags with universal COPY + RUN chmod**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#62849`
  - files: `Dockerfile`, `tests/tools/test_dockerfile_immutable_install.py`
- **#62906: fix(docker): remove --link flag from COPY to support Podman/Buildah builds (#62849)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#62849`
  - files: `Dockerfile`, `tests/tools/test_dockerfile_immutable_install.py`
- **#63085: fix(build): remove --link from COPY to restore Podman/Buildah compatibility**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`
- **#63334: fix(docker): replace COPY --link with plain COPY + chmod for Podman compatibility**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#63790: fix(dockerfile): remove --link flag and use engine-agnostic chmod for Podman compat**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`

## Fix status

- No merged fix on record.
- Subsystem: `environments`
