diff mbox series

[NFC,20/20] CI: Dockerfile: Replace some URL with mirror sites

Message ID 20240611-docker-image-v1-20-51472eb70357@flygoat.com
State Not Applicable
Delegated to: Tom Rini
Headers show
Series New CI image and fixes | expand

Commit Message

Jiaxun Yang June 11, 2024, 9:04 p.m. UTC
Somehow when I'm trying to build dockerimage on 11 June 2024 multiple
upstream sites are down.

Arm site is returning 500 error, nasm.us domain expired, ftpmirror.gnu.org
is down worldwide.

I belive those problems are not permanent so made this change NFC.

NOT FOR COMMIT!

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
 tools/docker/Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 3f1bbfce669e..67d10f11f43f 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -205,7 +205,7 @@  RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu && \
 	rm -rf /tmp/qemu
 
 # Build fiptool
-RUN git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git /tmp/tf-a && \
+RUN git clone https://github.com/ARM-software/arm-trusted-firmware.git /tmp/tf-a && \
 	cd /tmp/tf-a/ && \
 	git checkout lts-v2.10.4 && \
 	cd tools/fiptool && \
@@ -260,6 +260,8 @@  RUN mkdir /tmp/trace && \
 # Build coreboot
 RUN wget -O - https://coreboot.org/releases/coreboot-24.05.tar.xz | tar -C /tmp -xJ && \
     cd /tmp/coreboot-24.05 && \
+    sed -i 's,https://ftpmirror.gnu.org,https://ftp.gnu.org/gnu,g' ./util/crossgcc/buildgcc && \
+    sed -i 's,NASM_BASE_URL=.*,NASM_BASE_URL="https://distfiles.macports.org/nasm",g' ./util/crossgcc/buildgcc && \
     make crossgcc-i386 CPUS=$(nproc) && \
     make -C payloads/coreinfo olddefconfig && \
     make -C payloads/coreinfo && \