1
1

Configure git protocols and update feeds in Dockerfile

This commit is contained in:
2026-08-19 12:42:59 +02:00
parent 6cb9a62131
commit c6f77833d6
+9 -2
View File
@@ -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