Dockerfile build fails on pinned Alpine package versions
A build step failed (exit code 3). The full output is in the deploy log.
TypeErrorAn 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.
Seen4 times
WhereDockerfile
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
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 git, nodejs, and zlib-dev, so apk reports unsatisfiable constraints and exits with code 3. The failure occurs during the image build, before the application starts.
What the log looks like
Deploy log
#6 [2/4] RUN apk add --no-cache git=2.24.3-r0 nodejs=12.15.0-r1 ...#6 0.699 ERROR: unsatisfiable constraints:#6 0.716 git-2.24.4-r0:#6 0.716 breaks: world[git=2.24.3-r0]#6 0.716 nodejs-12.22.6-r0:#6 0.716 breaks: world[nodejs=12.15.0-r1]#6 0.716 zlib-dev-1.2.11-r5:#6 0.716 breaks: world[zlib-dev=1.2.11-r3]failed to solve: process "/bin/sh -c ... apk add ..." did not complete successfully: exit code: 3