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

Description

  1.  

    1.  

      1. 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.

  1.  

    1.  

      1. How to reproduce?

`./compile.sh BOARD=... BRANCH=...`

  1.  

    1.  

      1. Branch

main (main development branch)

  1.  

    1.  

      1. On which host OS are you running the build script and observing this problem?

Other

  1.  

    1.  

      1. Are you building on Windows WSL2?

  • [ ] Yes, my Ubuntu/Debian/OtherOS is running on WSL2

  1.  

    1.  

      1. Relevant log URL

https://paste.next.armbian.com/winisuhaxe

  1.  

    1.  

      1. 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

Checklist

hide

Activity

Show:

Details

Assignee

Reporter

Priority

Created February 28, 2025 at 10:41 AM
Updated February 28, 2025 at 10:41 AM