From c6f77833d6622fcc475ad984ea704bde1452f957 Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Wed, 19 Aug 2026 12:42:59 +0200 Subject: [PATCH] Configure git protocols and update feeds in Dockerfile --- Dockerfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 94185b4c..94e8c212 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,9 +59,16 @@ RUN cd /home/builder/openwrt && \ RUN wget -q -O /etc/ssl/certs/ca-certificates.crt https://curl.se/ca/cacert.pem && \ update-ca-certificates --fresh +COPY feeds.conf /home/builder/openwrt/feeds.conf + +RUN git config --system protocol.file.allow always && \ + git config --system url."https://git.openwrt.org/".insteadOf "git://git.openwrt.org/" && \ + git config --system url."https://git.openwrt.org/project/luci.git".insteadOf "git://nbd.name/luci.git" && \ + git config --system url."https://github.com/openwrt/".insteadOf "git://github.com/openwrt/" + RUN cd /home/builder/openwrt && \ - ./scripts/feeds update -a && \ - ./scripts/feeds install -a + ./scripts/feeds update -a && \ + ./scripts/feeds install -a RUN chown -R builder:builder /home/builder/openwrt