[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-repository-s-docker-build-excludes-a-directory-its":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":6,"lead":18,"facts":20,"why":35,"log":57,"fix":101,"engine":116,"related":120,"pitch":127},"dockerfile","repository-s-docker-build-excludes-a-directory-its","Repository's Docker build excludes a directory its build file needs","Dockerfile",{"description":9},"A build step failed (exit code 1). The full output is in the deploy log.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fdockerfile",{"label":6},"",[19],{"text":9},[21,26,29,31],{"label":22,"value":23,"tone":24,"tooltip":25},"Type","Error","err","An error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.",{"label":27,"value":28},"Seen","1 times",{"label":30,"value":7},"Where",{"label":32,"value":33,"tooltip":34},"Status","Resolve Ready","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":36,"body":37},"Why it happens",[38,40,43,45,47,49,51,53,55],{"text":39},"The repository's Dockerfile runs ",{"text":41,"code":42},"ant compile",true,{"text":44},", which now needs ",{"text":46,"code":42},"test\u002Fjetty",{"text":48},", but the repository's ",{"text":50,"code":42},".dockerignore",{"text":52}," leaves the ",{"text":54,"code":42},"test",{"text":56}," directory out of the build.",{"heading":58,"block":59},"What the log looks like",{"header":60,"lines":61},"Deploy log",[62,66,70,74,78,82,86,90,94,97],{"segments":63},[64],{"text":65},"#11 ERROR: process \"\u002Fbin\u002Fsh -c ant compile -f \u002Fopt\u002Fyacy_search_server\u002Fbuild.xml     && rm -fr \u002Fopt\u002Fyacy_search_server\u002F.git\" did not complete successfully: exit code: 1",{"segments":67},[68],{"text":69},"WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree",{"segments":71},[72],{"text":73},"Dockerfile:25",{"segments":75},[76],{"text":77},"--------------------",{"segments":79},[80],{"text":81},"24 |     # but isn't required at runtime",{"segments":83},[84],{"text":85},"25 | >>> RUN ant compile -f \u002Fopt\u002Fyacy_search_server\u002Fbuild.xml \\",{"segments":87},[88],{"text":89},"26 | >>>     && rm -fr \u002Fopt\u002Fyacy_search_server\u002F.git",{"segments":91},[92],{"text":93},"27 |",{"segments":95},[96],{"text":77},{"segments":98},[99],{"text":100},"failed to solve: process \"\u002Fbin\u002Fsh -c ant compile -f \u002Fopt\u002Fyacy_se…",{"heading":102,"steps":103,"block":113},"How to fix it",[104],[105,107,108,110,111],{"text":106},"Remove ",{"text":54,"code":42},{"text":109}," from ",{"text":50,"code":42},{"text":112}," (or make build.xml skip that step), or deploy a release that builds.",{"header":114,"lines":115},"Fix by hand",[],{"heading":17,"body":117,"block":118},[],{"header":17,"lines":119},[],{"heading":121,"items":122},"Apps affected",[123],{"title":124,"badge":125,"tone":24,"href":126},"Yacy Search Server","1 occurrence","\u002Fapps\u002Fyacy\u002Fyacy_search_server",{"heading":128,"body":129,"footNote":130,"docsLabel":131,"docsHref":132},"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 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]