Request: Define DNS servers
Some distributions have a local DNS service, in this case img sets default DNS servers to 8.8.8.8.
I would like to be able to define my own DNS servers. Something similar to --dns, --dns-opt, --dns-search that dockerd has.
upstream issue: https://github.com/moby/buildkit/issues/734
Any news on this one ? The linked issue is closed, it's still unclear to me what step I should follow to configure my DNS server manually though ...
My use case is :
I'm using img as part of my build process through a jenkins server. The server itself (and the agents) is running as a Docker image, extending the img provided by this repo. The problem is that docker erase resolv.conf to add a local nameserver. I'm now in the same situation as OP.
Thanks in advance