Skip to content

DOCKER panic: fork/exec /usr/local/bin/pkl: no such file or directory #1104

Closed Answered by HT154
khanakia asked this question in Q&A
Discussion options

You must be logged in to vote

That's what I'm referring to here:

Pkl cannot offer statically linked (alpine/musl compatible) executables for arm64 Linux. If you do need to target arm64, you'll need to use a glibc-based image (eg. debian) instead.

Pkl's aarch64 binary links glibc, but glibc is not present in the Alpine Linux distro so it cannot run. For amd64, Pkl provides an "alpine" executable that is statically linked (so does not link glibc) that works on Alpine Linux. Due to missing support in Pkl's build toolchain, the equivalent is not available for aarch64.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@khanakia
Comment options

@HT154
Comment options

HT154 Jun 22, 2025
Collaborator

@khanakia
Comment options

@HT154
Comment options

HT154 Jun 22, 2025
Collaborator

Answer selected by khanakia
Comment options

You must be logged in to vote
2 replies
@HT154
Comment options

HT154 Jun 23, 2025
Collaborator

@khanakia
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants