gatekeeper-policy-manager
gatekeeper-policy-manager copied to clipboard
Arm7 support
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 :-)
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.
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!
Testing multiarch build in the feature/multiarch
branch, build is currently failing for arm/v7
but working for amd64
and arm64
.
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.