Open Kampe opened 5 years ago
It's probably easy for dns-over-https and Pomerium since they are written in Go. I'm not familiar with cross compile options for other C based projects.
Also I recently switched the base images to distroless which doesn't seem to provide arm version.
Out of curiosity, when you say arm, which version of ARM are you referring to?
DOH server throwing exec format errors as well. I'm currently attempting to do without Pomerium as I'm just exposing pihole on port 80 locally, stealing a lot from you and building out as I go :)
But specifically looking for Raspberry Pi compatible Docker base images, seeing as I'm attempting to run all this on a Pi or two - can create my own I guess but didn't want to add to the confusion that is running all this via docker-compose on a Pi as there's so many images out there and not many, if at all, are made to work on a Pi unfortunately.
Building an image for Go binary targeting ARM should be trivial, I believe you can grab my Docker file here, changing RUN CGO_ENABLED=0 go build .
to RUN CGO_ENABLED=0 GOARCH=arm go build .
, and change base image (both the build_env
and the final base image) to an ARM one and that should be
I'm working on using CoreDNS+Pihole to replace the previous setup. CoreDNS provides ARM images so it should allow you to run the full stack on a RasPi.
Any chance there's plans in the future to have ARM compatible images created and pushed up to Dockerhub?