Support armv7l architecture docker images
Closed this issue · 1 comments
Given my architecture type is armv7l, and Kubernetes is compatible with armv7l architecture I would like to be able to compile gatekeeper for this format also.
However, the Dockerfile is hard-coded to compile for amd64.
Ideally ARGS
should be used to pass in the GOOS
and GOARCH
as build-args.
Another alternative may be using docker buildx
to compile cross platform architectures? Although, this is still experimental.
Line 13 in 2663597
I've managed to compile and build my own ARM compatible docker image.
https://github.com/raspbernetes/multi-arch-images
https://hub.docker.com/repository/docker/xunholy/gatekeeper
Will likely raise a PR with my proposed change to make this easier to cross compile for different platform architectures in the near future 👍