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

ARM Compatible images? #7

Open
Kampe opened this issue Jul 2, 2019 · 4 comments
Open

ARM Compatible images? #7

Kampe opened this issue Jul 2, 2019 · 4 comments

Comments

@Kampe
Copy link

Kampe commented Jul 2, 2019

Any chance there's plans in the future to have ARM compatible images created and pushed up to Dockerhub?

@yegle
Copy link
Owner

yegle commented Jul 2, 2019

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?

@Kampe
Copy link
Author

Kampe commented Jul 2, 2019

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.

@yegle
Copy link
Owner

yegle commented Jul 2, 2019

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

@yegle
Copy link
Owner

yegle commented Sep 6, 2019

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.

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

2 participants