lancachenet / lancache-dns

DNS Docker service for a lancache.
https://hub.docker.com/r/lancachenet/lancache-dns/
MIT License
280 stars 73 forks source link

ARM64 Docker image for lancache-dns #133

Closed kbrierly closed 2 years ago

kbrierly commented 2 years ago

Describe the issue you are having

I would like to run just the lancache-dns docker container on my secondary dns server on a raspberry pi. I have no interest in running the actual file cache on raspberry pi.

My primary dns is on X86 docker containers and i want to replicate it on the raspberry Pi. Pihole -> lancache-dns -> unbound -> upstream resolver.

Output of docker run

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform(linux/arm64/v8) and no specific platform was requested.
kbrierly commented 2 years ago

I was able to create an image on my raspberry pi using the lancache github repos but it would be great to have an option from the project. The basic script steps I used are below

git clone https://github.com/lancachenet/ubuntu.git
cd ubuntu
docker image build . --tag my-lancache-ubuntu
git clone https://github.com/lancachenet/lancache-dns.git
cd lancache-dns
sed -ie "s/FROM lancachenet\/ubuntu:latest/FROM my-lancache-ubuntu:latest/" Dockerfile
docker image build . --tag my-lancache-dns
stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

VibroAxe commented 2 years ago

For reference you didn't need to edit the tags/name it as 'my-lancache'. To build the image on arm you could have used the following:

git clone https://github.com/lancachenet/ubuntu.git
cd ubuntu
docker image build . --tag lancachenet/ubuntu:latest
git clone https://github.com/lancachenet/lancache-dns.git
cd lancache-dns
docker image build . --tag lancachenet/lancache-dns:latest
VibroAxe commented 2 years ago

Closing this as maintaining non architecture specific images isn't currently in the pipeline, and it is easy to self build as above