@@ -9,40 +9,40 @@ COPY src /tmp/
99RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && apk update && \
1010 apk add git cmake make gcc libc-dev json-c-dev lua5.1 lua5.1-dev openssl-dev linux-headers && \
1111 # libubox
12- cd /tmp && git clone --depth=1 https://git.openwrt.org/project/libubox.git && \
12+ cd /tmp && git clone https://git.openwrt.org/project/libubox.git && \
1313 cd /tmp/libubox && \
14- # git checkout 43a103ff17ee5872669f8712606578c90c14591d && \
14+ git checkout 43a103ff17ee5872669f8712606578c90c14591d && \
1515 cmake . && make && make install && \
1616 # uci
17- cd /tmp && git clone --depth=1 https://git.openwrt.org/project/uci.git && \
17+ cd /tmp && git clone https://git.openwrt.org/project/uci.git && \
1818 cd /tmp/uci && \
19- # git checkout 165b444131453d63fc78c1d86f23c3ca36a2ffd7 && \
19+ git checkout 165b444131453d63fc78c1d86f23c3ca36a2ffd7 && \
2020 cmake . && make && \
2121 # ustream-ssl
22- cd /tmp && git clone --depth=1 https://git.openwrt.org/project/ustream-ssl.git && \
22+ cd /tmp && git clone https://git.openwrt.org/project/ustream-ssl.git && \
2323 cd /tmp/ustream-ssl && \
24- # git checkout 30cebb4fc78e49e0432a404f7c9dd8c9a93b3cc3 && \
24+ git checkout 30cebb4fc78e49e0432a404f7c9dd8c9a93b3cc3 && \
2525 cmake . && make && make install && \
2626 # uhttpd
27- cd /tmp && git clone --depth=1 https://git.openwrt.org/project/uhttpd.git && \
27+ cd /tmp && git clone https://git.openwrt.org/project/uhttpd.git && \
2828 cd /tmp/uhttpd && \
29- # git checkout 5f9ae5738372aaa3a6be2f0a278933563d3f191a && \
29+ git checkout 5f9ae5738372aaa3a6be2f0a278933563d3f191a && \
3030 sed -i 's/clearenv();/\/\/clearenv();/g' cgi.c && \
3131 cmake -DUBUS_SUPPORT=OFF -DUCODE_SUPPORT=OFF . && make && cd /tmp && \
3232 # libnl-tiny
33- cd /tmp && git clone --depth=1 https://git.openwrt.org/project/libnl-tiny.git && \
33+ cd /tmp && git clone https://git.openwrt.org/project/libnl-tiny.git && \
3434 cd /tmp/libnl-tiny && \
35- # git checkout 0219008cc8767655d7e747497e8e1133a3e8f840 && \
35+ git checkout 0219008cc8767655d7e747497e8e1133a3e8f840 && \
3636 cmake . && make && \
3737 mkdir -p /usr/lib && cp *.so /usr/lib/ && cp -R /tmp/libnl-tiny/include/* /usr/include/ && \
3838 # liblucihttp
39- cd /tmp/ && git clone --depth=1 https://github.com/jow-/lucihttp.git && \
39+ cd /tmp/ && git clone https://github.com/jow-/lucihttp.git && \
4040 cd /tmp/lucihttp && \
41- # git checkout a34a17d501c0e23f0a91dd9d3e87697347c861ba && \
41+ git checkout a34a17d501c0e23f0a91dd9d3e87697347c861ba && \
4242 cmake . && make && \
4343 # luci
44- cd /tmp && git clone --depth=1 https://github.com/openwrt/luci.git && \
45- # cd /tmp/luci && git checkout openwrt-21.02 && \
44+ cd /tmp && git clone https://github.com/openwrt/luci.git && \
45+ cd /tmp/luci && git checkout openwrt-21.02 && \
4646 # luci-lib-ip
4747 cd /tmp/luci/libs/luci-lib-ip/src && make && \
4848 # luci-lib-jsonc
0 commit comments