speed up docker pull.

This commit is contained in:
licsber 2024-04-09 16:00:43 +08:00
parent 5dba70347b
commit 92dbfc6cc5
7 changed files with 28 additions and 28 deletions

View File

@ -9,11 +9,11 @@ RUN git pull
COPY --chown=licsber openwrt.lede.ct6.x86.config .config
RUN ./scripts/feeds update -a && \
./scripts/feeds install -a
RUN ./scripts/feeds update -a
RUN ./scripts/feeds install -a
RUN make defconfig && \
make download -j8
RUN make defconfig
RUN make download -j8
RUN sed -i 's/192.168.1.1/10.24.66.1/g' package/base-files/files/bin/config_generate
RUN sed -i "s/hostname='OpenWrt'/hostname='ChinaTelecomOT'/g" package/base-files/files/bin/config_generate

View File

@ -31,11 +31,11 @@ WORKDIR /home/licsber/lede
COPY --chown=licsber banner package/base-files/files/etc/banner
RUN ./scripts/feeds update -a && \
./scripts/feeds install -a
RUN ./scripts/feeds update -a
RUN ./scripts/feeds install -a
RUN make defconfig && \
make download -j8
RUN make defconfig
RUN make download -j8
RUN make -j3 || make V=s

View File

@ -10,11 +10,11 @@ RUN git pull
COPY --chown=licsber openwrt.lede.x86.config .config
RUN sed -i 's/coolsnowwolf\/packages/licsber\/packages/g' feeds.conf.default
RUN ./scripts/feeds update -a && \
./scripts/feeds install -a
RUN ./scripts/feeds update -a
RUN ./scripts/feeds install -a
RUN make defconfig && \
make download -j8
RUN make defconfig
RUN make download -j8
RUN sed -i 's/192.168.1.1/10.24.0.10/g' package/base-files/files/bin/config_generate
RUN sed -i "s/hostname='OpenWrt'/hostname='LicsberLEDE'/g" package/base-files/files/bin/config_generate

View File

@ -27,11 +27,11 @@ WORKDIR /home/licsber/openwrt
COPY --chown=licsber banner package/base-files/files/etc/banner
RUN ./scripts/feeds update -a && \
./scripts/feeds install -a
RUN ./scripts/feeds update -a
RUN ./scripts/feeds install -a
RUN make defconfig && \
make download -j8
RUN make defconfig
RUN make download -j8
RUN make -j3 || make V=s

View File

@ -9,11 +9,11 @@ RUN git pull
COPY --chown=licsber openwrt.n11.config .config
RUN ./scripts/feeds update -a && \
./scripts/feeds install -a
RUN ./scripts/feeds update -a
RUN ./scripts/feeds install -a
RUN make defconfig && \
make download -j8
RUN make defconfig
RUN make download -j8
RUN sed -i 's/192.168.1.1/10.24.66.1/g' package/base-files/files/bin/config_generate
RUN sed -i "s/hostname='OpenWrt'/hostname='ChinaTelecomOT'/g" package/base-files/files/bin/config_generate

View File

@ -9,11 +9,11 @@ RUN git pull
COPY --chown=licsber openwrt.r4s.config .config
RUN ./scripts/feeds update -a && \
./scripts/feeds install -a
RUN ./scripts/feeds update -a
RUN ./scripts/feeds install -a
RUN make defconfig && \
make download -j8
RUN make defconfig
RUN make download -j8
RUN sed -i 's/192.168.1.1/10.24.4.1/g' package/base-files/files/bin/config_generate
RUN sed -i "s/hostname='OpenWrt'/hostname='LicsberR4S'/g" package/base-files/files/bin/config_generate

View File

@ -9,11 +9,11 @@ RUN git pull
COPY --chown=licsber openwrt.x86.config .config
RUN ./scripts/feeds update -a && \
./scripts/feeds install -a
RUN ./scripts/feeds update -a
RUN ./scripts/feeds install -a
RUN make defconfig && \
make download -j8
RUN make defconfig
RUN make download -j8
RUN sed -i 's/192.168.1.1/10.24.0.10/g' package/base-files/files/bin/config_generate
RUN sed -i "s/hostname='OpenWrt'/hostname='LicsberOP'/g" package/base-files/files/bin/config_generate