Bug Description
The optimizations made to Dockerfile are not engine-agnostic and break on Podman. Many people (especially on Linux desktops/servers, Fedora, RHEL, or rootless setups) prefer or are forced to use Podman.
Steps to Reproduce
Build Hermes-agent with podman build --file Dockerfile .
Expected Behavior
Container build should succeed.
Actual Behavior
Build fails with error
[3/3] STEP 36/56: COPY --link --chmod=a+rX,go-w . .
Error: building at STEP "COPY --link --chmod=a+rX,go-w . .": Error parsing chmod a+rX,go-w
Affected Component
Setup / Installation
Messaging Platform (if gateway-related)
N/A (CLI only)
Debug Report
Operating System
Nixos 26.05
Python Version
No response
Hermes Version
0.18.2
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
Commit 6382437 introduced https://github.com/NousResearch/hermes-agent/blob/main/Dockerfile#L202
This calls COPY --link --chmod=a+rX,go-w . . during build time. Podman (via Buildah) does not support --link.
Proposed Fix (optional)
Revert to previous COPY . . and chmod -R
Are you willing to submit a PR for this?
Bug Description
The optimizations made to Dockerfile are not engine-agnostic and break on Podman. Many people (especially on Linux desktops/servers, Fedora, RHEL, or rootless setups) prefer or are forced to use Podman.
Steps to Reproduce
Build Hermes-agent with
podman build --file Dockerfile .Expected Behavior
Container build should succeed.
Actual Behavior
Build fails with error
Affected Component
Setup / Installation
Messaging Platform (if gateway-related)
N/A (CLI only)
Debug Report
Operating System
Nixos 26.05
Python Version
No response
Hermes Version
0.18.2
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
Commit 6382437 introduced https://github.com/NousResearch/hermes-agent/blob/main/Dockerfile#L202
This calls
COPY --link --chmod=a+rX,go-w . .during build time. Podman (via Buildah) does not support --link.Proposed Fix (optional)
Revert to previous
COPY . .andchmod -RAre you willing to submit a PR for this?