[Bug]: Temporary failure resolving 'archive.ubuntu.org' when building a docker image
Description
Checklist
hideActivity
Show:
Details
Details
Assignee
Unassigned
UnassignedReporter
GitHub
GitHubPriority
Created February 28, 2025 at 10:41 AM
Updated February 28, 2025 at 10:41 AM
What happened?
Trying to build an image to test changes I've made, The docker image failed to build.
Additionally, I did `docker pull ghcr.io/armbian/docker-armbian-build:armbian-ubuntu-jammy-latest` and tried again, which still had the "temporary failure resolving ..." errors, but proceeded to build the image without doing that. Branch is based on `main` commit 0b88561ec332114404ff8075ab6bc2419ca66a47.
Resolving the failed hosts on the host system with `resolvectl`, `nslookup` and `dig` succeeds. Also launching a docker container with an interactive shell and resolving there works, as well as executing the apt-get commands from Dockerfile in that container.
How to reproduce?
`./compile.sh BOARD=... BRANCH=...`
Branch
main (main development branch)
On which host OS are you running the build script and observing this problem?
Other
Are you building on Windows WSL2?
[ ] Yes, my Ubuntu/Debian/OtherOS is running on WSL2
Relevant log URL
https://paste.next.armbian.com/winisuhaxe
Code of Conduct
[x] I agree to follow this project's Code of Conduct
Raised by: https://github.com/JohnTheCoolingFan
https://github.com/armbian/build/issues/7891