GitHub user lhotari added a comment to the discussion: What's the best practice to build java-test-image?
There seems to be some network issues. In the output, you can see: > [INFO] Err:6 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist > [INFO] Could not connect to mirrors.ubuntu.com:80 (198.19.194.95), > connection timed out By default, the docker image uses http://mirrors.ubuntu.com/mirrors.txt as the source for Ubuntu mirrors. You can manually choose the mirror by setting UBUNTU_MIRROR environment variable. You can find the listing of mirrors by country in http://mirrors.ubuntu.com . For example, http://mirrors.ubuntu.com/US.txt, http://mirrors.ubuntu.com/CN.txt ```shell # example of using the Ubuntu default mirror UBUNTU_MIRROR=http://archive.ubuntu.com/ubuntu/ ./build/build_java_test_image.sh ``` ```shell # example of using a specific mirror from http://mirrors.ubuntu.com/CN.txt UBUNTU_MIRROR=http://mirrors.huaweicloud.com/repository/ubuntu/ ./build/build_java_test_image.sh ``` I hope this helps. GitHub link: https://github.com/apache/pulsar/discussions/16633#discussioncomment-3168787 ---- This is an automatically sent email for dev@pulsar.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org