Dockerfile copies CI build output that is not in the repository

The repository's Dockerfile copies _output, which is not in the repository. It is produced by a step that has to run before the image is built (usually CI), so the image cannot be built from a clean checkout. If the repository does have it, .dockerignore excludes it.

Seen1 times
WhereDockerfile

Why it happens

The Dockerfile copies _output, which is produced by a CI build before the image is built and is not in the repository, so the image cannot be built from a clean checkout.

What the log looks like

Deploy log
#7 ERROR: failed to calculate checksum of ref xzycxhl9swwsz0ocpeuk9gp3s::pemrg44xrymy0sgon1uk201yl: "/_output": not foundWARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-treeDockerfile:27--------------------26 |27 | >>> RUN --mount=type=bind,source=_output,target=_output \28 | >>>     case "$TARGETPLATFORM" in \29 | >>>     "linux/amd64") cp -r /_output/net6.0/linux-musl-x64 /app/readarr/bin ;; \30 | >>>     "linux/arm64") cp -r /_output/net6.0/linux-musl-arm64 /app/readarr/bin ;; \31 | >>>…

Try PanelAlpha Engine yourself.

The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.

Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPURead the documentation