openziti / zrok

Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
https://zrok.io
Apache License 2.0
2.72k stars 108 forks source link

Releases URL returns to 404 on 32bit Raspberry Pi using the install script #782

Closed ferhansolo closed 3 weeks ago

ferhansolo commented 3 weeks ago

Hello, The manual install script in linux docs returns 404 probably because there is no file called zrok_0.4.42_linux_arm.tar.gz I suggest that you either change GOXARCH=arm to armv7 or change the file name in your releases to match the arch name in the script.

Regards.

qrkourier commented 3 weeks ago

Thanks for the report!

What's the URL to the page where you found the broken link? The MDX source file you linked gets built into the docs site here https://docs.zrok.io/docs/guides/install/ and here https://docs.zrok.io/docs/getting-started/#installing-the-zrok-command

From there, I can download with the Linux ARM button that links to the latest release tarball, currently https://github.com/openziti/zrok/releases/download/v0.4.42/zrok_0.4.42_linux_armv7.tar.gz

D'oh, I see it now.

qrkourier commented 3 weeks ago

The armv7 binary is armhf. In case you need armel instead you can cross-compile the binary like this.

docker buildx build \
--tag zrok-builder \
--load \
./docker/images/cross-build

docker run \
--user "${UID}" \
--rm \
--volume=${HOME}/.cache/go-build:/usr/share/go \
--volume "${PWD}:/mnt" \
zrok-builder armel

from: https://github.com/openziti/zrok/blob/main/docker/images/cross-build/README.md