Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Temporary failure resolving 'archive.ubuntu.org' when building a docker image #7891

Open
1 of 2 tasks
JohnTheCoolingFan opened this issue Feb 28, 2025 · 2 comments
Open
1 of 2 tasks
Labels
Bug Something isn't working as it should

Comments

@JohnTheCoolingFan
Copy link
Contributor

JohnTheCoolingFan commented Feb 28, 2025

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 0b88561.

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 (Gentoo Linux)

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

  • I agree to follow this project's Code of Conduct
@JohnTheCoolingFan JohnTheCoolingFan added the Bug Something isn't working as it should label Feb 28, 2025
Copy link
Contributor

github-actions bot commented Feb 28, 2025

Jira ticket: AR-2621

@rpardini
Copy link
Member

Hey @JohnTheCoolingFan -- I don't remember handling any resolv configuration either in the docker image build, or in Armbian docker usage at all. I mean, not remembering might be just a sign of my decaying brain -- but this sounds like there's either a Docker problem or a Jammy problem here?

A few hundred CI jobs using Docker also haven't failed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should
Development

No branches or pull requests

2 participants