Repository's Docker build excludes a directory its build file needs

A build step failed (exit code 1). The full output is in the deploy log.

Seen1 times
WhereDockerfile

Why it happens

The repository's Dockerfile runs ant compile, which now needs test/jetty, but the repository's .dockerignore leaves the test directory out of the build.

What the log looks like

Deploy log
#11 ERROR: process "/bin/sh -c ant compile -f /opt/yacy_search_server/build.xml     && rm -fr /opt/yacy_search_server/.git" did not complete successfully: exit code: 1WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-treeDockerfile:25--------------------24 |     # but isn't required at runtime25 | >>> RUN ant compile -f /opt/yacy_search_server/build.xml \26 | >>>     && rm -fr /opt/yacy_search_server/.git27 |--------------------failed to solve: process "/bin/sh -c ant compile -f /opt/yacy_se…

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