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