Skip to content

Commit 312dc9c

Browse files
authored
禁止使用gitee下载, 因为gitee 的zip要验证码
1 parent 1a0821a commit 312dc9c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@ RUN git clone https://git.code.sf.net/p/stm32flash/code stm32flash-code && \
2121
RUN git clone https://github.com/RT-Thread/env.git /env/tools/scripts && \
2222
git clone https://github.com/RT-Thread/packages.git /env/packages/packages
2323
ENV PATH $PATH:/env/tools/scripts
24-
RUN echo " if [ ! -f ~/.env ]; then ln /env ~/.env -s;fi" >> /etc/bash.bashrc
24+
RUN echo " if [ ! -f ~/.env ]; then ln /env ~/.env -s;fi" >> /etc/bash.bashrc
25+
RUN sed -i -e 's/CONFIG_SYS_PKGS_DOWNLOAD_ACCELERATE=y/CONFIG_SYS_PKGS_DOWNLOAD_ACCELERATE=n/g' /env/t
26+
ools/scripts/cmds/.config
27+

0 commit comments

Comments
 (0)