You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Problem
The ambient-runner Dockerfile uses COPY ambient-runner /app/ambient-runner, which assumes the build context is components/runners/ — one level above the Dockerfile's directory. This is unlike every other component, where the build context matches the Dockerfile's parent directory:
Component
Dockerfile
Context
COPY pattern
backend
components/backend/Dockerfile
components/backend/
COPY . .
frontend
components/frontend/Dockerfile
components/frontend/
COPY . .
operator
components/operator/Dockerfile
components/operator/
COPY . .
public-api
components/public-api/Dockerfile
components/public-api/
COPY . .
state-sync
components/runners/state-sync/Dockerfile
components/runners/state-sync/
COPY *.sh ...
ambient-runner
components/runners/ambient-runner/Dockerfile
components/runners/
COPY ambient-runner ...
The GitHub Actions workflow in prod-release-deploy.yaml handles this by explicitly setting context to ./components/runners, but build systems that derive context from the Dockerfile location (e.g. Konflux) fail with:
COPY ambient-runner /app/ambient-runner
Error: copier: stat: "/ambient-runner": no such file or directory
Proposed fix
Change the Dockerfile's COPY to use . (current directory) instead of the subdirectory name:
Activity
fix: align ambient-runner Dockerfile build context with other components
github-actions commentedon Apr 9, 2026
Session
session-62f8d304-d3e5-4d0a-827a-0ea44ff56c3dcreated (phase: Running). PR will have theambient-code:managedlabel.fix: align ambient-runner Dockerfile build context with other compone…