I have a little problem on my Bitbucket pipeline. For 2 days now, i have different errors to resolve DNS on docker build with image php:7.4-apache.
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'deb.debian.org'
Connection to `ssl://pecl.php.net:443' failed: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
The "https://getcomposer.org/download/2.0.8/composer.phar.sig" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
Do you have any idea why ?
Hi @Pluskolec and welcome to the community!
We haven't had any incidents that would affect DNS resolution the last 2 days. I suspect that the most likely reason for these errors would be some issue with the DNS resolver in the image.
That image was recently updated (I see the last push was about an hour ago):
and an apt-get update command works now without issues, so if there was any issues it looks that it may have been resolved.
Could you please confirm whether you're still experiencing issues now?
In case you're still having issues, you can try debugging your build locally with Docker. If the same issue occurs locally with that image, this would point to an issue with the image itself.
Please feel free to let me know if you have any questions.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events