We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4d2b90 commit cacef6fCopy full SHA for cacef6f
Dockerfile
@@ -21,4 +21,4 @@ RUN git clone https://git.code.sf.net/p/stm32flash/code stm32flash-code && \
21
RUN git clone https://github.com/RT-Thread/env.git /env/tools/scripts && \
22
git clone https://github.com/RT-Thread/packages.git /env/packages/packages
23
ENV PATH $PATH:/env/tools/scripts
24
-RUN echo "if [ -d "~/.env" ] ln /env ~/.env -s" >> /etc/bash.bashrc
+RUN echo " if [ -f ~/.env ]; then ln /env ~/.env -s;fi" >> /etc/bash.bashrc
0 commit comments