Skip to content

Commit b4d2b90

Browse files
authored
Update Dockerfile
1 parent 1867722 commit b4d2b90

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,4 +21,4 @@ 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 "ln /env ~/.env -s" >> /etc/profile
24+
RUN echo "if [ -d "~/.env" ] ln /env ~/.env -s" >> /etc/bash.bashrc

0 commit comments

Comments
 (0)