gatekeeper-policy-manager icon indicating copy to clipboard operation
gatekeeper-policy-manager copied to clipboard

Arm7 support

Open obeyler opened this issue 3 years ago • 4 comments

Do you plan to provide an image for ARM ? I found the Gatekeeper docker image for ARM (https://hub.docker.com/r/raspbernetes/gatekeeper) but nothing for gatekeeper-policy-manager. I would try to install it on Raspberry pi :-)

obeyler avatar Dec 01 '20 12:12 obeyler

Hi @obeyler !

Thanks for reaching out, that could be indeed a cool thing. We did a quick test building an image from our workstations with docker buildx but it didn't work "out-of-the-box".

The image is ralgozino/gpm:arm7 if you want to test it (I don't think it will work though), probably something needs to be fixed in the base image we are using first.

This will require further investigation and testing, but it's not currently on our roadmap or priorities. If you have something working and want to open a PR, please do! we'll be happy to include it.

ralgozino avatar Dec 01 '20 14:12 ralgozino

The new Dockerfile should be compatible with ARM, I don't have a raspberry at hand, could you please try building it @obeyler and let us know? thanks!

ralgozino avatar Aug 19 '21 12:08 ralgozino

Testing multiarch build in the feature/multiarch branch, build is currently failing for arm/v7 but working for amd64 and arm64.

ralgozino avatar Sep 15 '22 10:09 ralgozino

Python cryptography package doesn't have a pre-compiled wheel for armv7, so we need to compile it when we build the docker image. This means adding a lot of build dependencies to the final image for all the archs. I won't do it by default.

The go backend in development in the branch feature/go-backend has already multi-arch builds working, so, I'll leave the Python build as is.

ralgozino avatar May 04 '23 08:05 ralgozino