Skip to content

Commit a5bdbe8

Browse files
authored
Update Dockerfile
1 parent f67d937 commit a5bdbe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ 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 [ ! -d ~/.env ]; then ln /env ~/.env -s;fi" >> /etc/bash.bashrc
2525
RUN sed -i -e 's/CONFIG_SYS_PKGS_DOWNLOAD_ACCELERATE=y/CONFIG_SYS_PKGS_DOWNLOAD_ACCELERATE=n/g' /env/tools/scripts/cmds/.config
2626

0 commit comments

Comments
 (0)