[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-dockerfile-build-fails-on-pinned-alpine-package-versions":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":98,"engine":107,"related":114,"pitch":121},"dockerfile","dockerfile-build-fails-on-pinned-alpine-package-versions","Dockerfile build fails on pinned Alpine package versions","Dockerfile",{"description":9},"A build step failed (exit code 3). 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","4 times",{"label":30,"value":7},"Where",{"label":32,"value":33,"tooltip":34},"Status","Observed","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 Dockerfile uses exact versions of Alpine packages that are no longer available in the configured Alpine 3.11 repositories. The repository offers newer versions of ",{"text":41,"code":42},"git",true,{"text":44},", ",{"text":46,"code":42},"nodejs",{"text":48},", and ",{"text":50,"code":42},"zlib-dev",{"text":52},", so ",{"text":54,"code":42},"apk",{"text":56}," reports unsatisfiable constraints and exits with code 3. The failure occurs during the image build, before the application starts.",{"heading":58,"block":59},"What the log looks like",{"header":60,"lines":61},"Deploy log",[62,66,70,74,78,82,86,90,94],{"segments":63},[64],{"text":65},"#6 [2\u002F4] RUN apk add --no-cache git=2.24.3-r0 nodejs=12.15.0-r1 ...",{"segments":67},[68],{"text":69},"#6 0.699 ERROR: unsatisfiable constraints:",{"segments":71},[72],{"text":73},"#6 0.716   git-2.24.4-r0:",{"segments":75},[76],{"text":77},"#6 0.716     breaks: world[git=2.24.3-r0]",{"segments":79},[80],{"text":81},"#6 0.716   nodejs-12.22.6-r0:",{"segments":83},[84],{"text":85},"#6 0.716     breaks: world[nodejs=12.15.0-r1]",{"segments":87},[88],{"text":89},"#6 0.716   zlib-dev-1.2.11-r5:",{"segments":91},[92],{"text":93},"#6 0.716     breaks: world[zlib-dev=1.2.11-r3]",{"segments":95},[96],{"text":97},"failed to solve: process \"\u002Fbin\u002Fsh -c ... apk add ...\" did not complete successfully: exit code: 3",{"heading":99,"steps":100,"block":104},"How to fix it",[101],[102],{"text":103},"Update the Dockerfile to use package versions available for the selected Alpine base image, or remove the exact version pins where compatible. Prefer upgrading the end-of-life Alpine 3.11\u002FPython base image and test the listed dependencies against the new image. Rebuild and redeploy after confirming the required application libraries still work.",{"header":105,"lines":106},"Fix by hand",[],{"heading":108,"body":109,"block":112},"How PanelAlpha Engine solves it",[110],{"text":111},"Engine could identify version-pinned Alpine package conflicts and report the unavailable package versions directly. It could also warn when a Dockerfile uses an end-of-life base image or offer a reproducible Alpine repository snapshot where supported.",{"header":17,"lines":113},[],{"heading":115,"items":116},"Apps affected",[117],{"title":118,"badge":119,"tone":24,"href":120},"Mylar3","4 occurrences","\u002Fapps\u002Fmylarcomics\u002Fmylar3",{"heading":122,"body":123,"footNote":124,"docsLabel":125,"docsHref":126},"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"]