Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM64 Possible? #141

Open
NBSUKLTD opened this issue Dec 9, 2023 · 9 comments
Open

ARM64 Possible? #141

NBSUKLTD opened this issue Dec 9, 2023 · 9 comments

Comments

@NBSUKLTD
Copy link

NBSUKLTD commented Dec 9, 2023

Hello,

We love this product and it currently runs on a small server in the cloud. We've now got a nice little ARM system running in our office which we would like to migrate Vigil over to it however there is no ARM version available.

Will Vigil support ARM in future releases?

@valeriansaliou
Copy link
Owner

valeriansaliou commented Dec 10, 2023

Hello,

An ARMv7 (32 bits) binary is published along with every Vigil release. It should work no problem on ARM 64bits CPU, do you confirm?

Latest binary: https://github.com/valeriansaliou/vigil/releases/download/v1.26.3/v1.26.3-armv7.tar.gz

@NBSUKLTD
Copy link
Author

docker run valeriansaliou/vigil:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Is there a docker image for ARM64/v8?

@valeriansaliou
Copy link
Owner

I don’t publish ARM images at the moment.

@NBSUKLTD
Copy link
Author

Would you be able to provide instructions to do this ourselves?

@valeriansaliou
Copy link
Owner

valeriansaliou commented Dec 17, 2023

I think this should be as simple as wget-ing the built binaries tgz from releases and copying them into a base ARM64 Alpine image using your local Docker. Let me know if that works and I can figure out a solution at project level, because I don’t want to use QEMU to build ARM64 images from GH Actions, it’d be too slow.

@eKristensen
Copy link

+1

I'll make it work without, but official ARM docker/podman images would be really nice to have.

@eKristensen
Copy link

Furthermore, the armv7 binaries provided may not run on aarch64. The "new" Hetzner AMPERE ARM VM's are aarch64-unknown-linux-gnu

@eKristensen
Copy link

@NBSUKLTD I manged to get vigil to run on ARM64

For anyone interested see this gist: https://gist.github.com/eKristensen/cb22a5018399c71a3cf99a584219a880

Feel free to use my script as reference or even take it as it is and use in this project.

@NBSUKLTD
Copy link
Author

@eKristensen Cheers bud we got it running also thanks :)

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

No branches or pull requests

3 participants