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

Build arm64 images #7

Closed
vaskozl opened this issue Jan 30, 2021 · 6 comments
Closed

Build arm64 images #7

vaskozl opened this issue Jan 30, 2021 · 6 comments

Comments

@vaskozl
Copy link

vaskozl commented Jan 30, 2021

Love the project and how the container images are segmented.

Would like to deploy on my k8s RPi cluster which is arm64 based. Currently there are only amd64 images on docker hub.

@darrylgibbs
Copy link

Second this!

@gregordr
Copy link
Owner

gregordr commented Jan 31, 2021

I have tried to set up a CI/CD pipeline for this - however, for some reason the backend part is failing :/ If any of you have knowledge how to fix this, please let me know.

Edit: Looks like the issue is that the libc version is too old on the ARM build. This is really odd, as it works on my PI, but apparently not with qemu.

@lukasmoellerch
Copy link
Collaborator

The glibc version of the node base image seems to be outdated (lovell/sharp#2482).

This PR could possibly fix the issue: lovell/sharp-libvips#73

@gregordr
Copy link
Owner

I made some changes, let me know if it works for you now!

@gregordr
Copy link
Owner

gregordr commented Feb 4, 2021

Alright, I confirmed that everything works!
Apparently, some devices require that a package is installed before things execute correctly:

arm/v7:

wget http://ftp.ch.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1_armhf.deb
sudo dpkg -i libseccomp2_2.5.1-1_armhf.deb

arm64:

wget http://ftp.ch.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1_arm64.deb
sudo dpkg -i libseccomp2_2.5.1-1_arm64.deb

@vaskozl
Copy link
Author

vaskozl commented Feb 13, 2021

Sorry for the delay in testing,

Can confirm the images work great on arm64! 🎉

I deployed on k8s with ingress-nginx and a replica count of two for the frontend/backend. Anybody interested in k8s deployment manifests:
vaskozl/home-infra@5606a8e

@vaskozl vaskozl closed this as completed Feb 13, 2021
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

4 participants