From 48708bd1e23e066d26b882af4bc30ce4b2034eec Mon Sep 17 00:00:00 2001 From: Tharun Kumar Merugu Date: Thu, 29 Jan 2026 11:03:05 +0530 Subject: [PATCH] Dockerfile: remove flaky Linaro download; install Automake/Autotools for autoreconf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Drop the external Linaro GCC 7.5 fetch (unstable URL and wrong i686 host tuple). We already install Ubuntu’s cross toolchain (gcc-aarch64-linux-gnu, etc.), which is sufficient and more reproducible for our builds. - Add Autotools (autoconf, automake, libtool, autoconf-archive, pkg-config) so projects using autoreconf/aclocal/bootstrap can build inside CI. - This reduces build flakiness, removes a network dependency, and aligns the toolchain across PR and nightly builds. Signed-off-by: Tharun Kumar Merugu --- Dockerfile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 74ffa33..ea653c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -115,12 +115,15 @@ RUN set -eux; \ apt-get clean; \ rm -rf /var/lib/apt/lists/* -# Install Linaro GCC toolchain -RUN set -eux; \ - wget -qO /tmp/gcc-linaro.tar.xz \ - https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/gcc-linaro-7.5.0-2019.12-i686_aarch64-linux-gnu.tar.xz; \ - tar xf /tmp/gcc-linaro.tar.xz -C /usr/local/; \ - rm -f /tmp/gcc-linaro.tar.xz +# Install autotools +RUN apt-get update -o Acquire::Retries=5 && \ + apt-get install -y --no-install-recommends \ + autoconf \ + automake \ + libtool \ + autoconf-archive \ + pkg-config && \ + rm -rf /var/lib/apt/lists/* # Install mkbootimg RUN set -eux; \