Skip to content

Conversation

@ysfchn
Copy link
Contributor

@ysfchn ysfchn commented Sep 8, 2025

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Updated Vercel guide to recommend using a custom command for obtaining musl binary of Zola, since Vercel's own Zola preset always gets glibc version even when it couldn't run on its own due to lacking glibc version in the system image.

echo "${ZOLA_VERSION:-"latest"}" | sed '/^latest$/!s/\(.*\)/tags\/v\1/' | \
    xargs -I% curl -fsSL "https://api.github.com/repos/getzola/zola/releases/%" | \
    grep -oP "\"browser_download_url\": ?\"\\K(.+linux-${ZOLA_LIBC:-"musl"}\\.tar\\.gz)" | \
    xargs curl -fsSL | tar -xz

Feels hacky than ever but I couldn't get to simplify than this.

Just for the reference, Vercel has acknowledged the issue and said working on a fix to use musl binaries onwards but I'd prefer having the command on the Zola docs anyway.

@Keats
Copy link
Collaborator

Keats commented Sep 15, 2025

Can you revert the formatting changes?

@ysfchn
Copy link
Contributor Author

ysfchn commented Sep 21, 2025

Sure, should be done now 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants