bind9-docker icon indicating copy to clipboard operation
bind9-docker copied to clipboard

Support for linux/arm64/v8 apple chips m1 and m2

Open h3ct0rjs opened this issue 2 years ago • 4 comments

Hi @oerdnj hope you're doing well.

Recently I'm trying to run a few configs and tests using bind9.16 but after doing a docker pull from the docker hub container registry

it seems like you're only building the docker image for linux/amd64. so if I try to create a lab in my local machine to do validations I got the following message :

! bind9 The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s

This happens because you're not using docker buildx build --platform linux/amd64,linux/arm64 .

I was also wondering what are you currently using to push to the public url

I have fixed this by buildin the image locally, but it would be great to add a GitHub action pipeline to do this automatically 😄

Regards, H

h3ct0rjs avatar Aug 18 '23 20:08 h3ct0rjs

I have added a basic configuration that could work in #10 .

Is just an idea.

Regards, H

h3ct0rjs avatar Aug 18 '23 21:08 h3ct0rjs

it would be something like :

https://github.com/h3ct0rjs/bind9-docker/actions/runs/5907056654/job/16024315585

h3ct0rjs avatar Aug 18 '23 21:08 h3ct0rjs

+1 on this it would be great to have multi-arch support for this image. I am running bind9 on my Raspberry Pi and having to use an older version of Bind9 with ubuntu/bind9 image (I wanted the newer Bind9 as it supports DNS-over-TLS forwarders).

dgibbs64 avatar Sep 21 '24 13:09 dgibbs64

@oerdnj I can add this in a pr October fest is..

hjimenez-godaddy avatar Sep 21 '24 17:09 hjimenez-godaddy