Added Path variable to Dockerfile

Added the Path variable to the Dockerfile. Thisway the arm-none-eabi-gcc can be called without the user knowing the PATH.
pull/342/merge
Jannis Dohm 2021-01-03 22:38:51 +01:00 zatwierdzone przez Nicolas Stalder
rodzic 8b91ec7c53
commit c924da3acf
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -19,6 +19,8 @@ RUN set -eux; \
echo "b50b02b0a16e5aad8620e9d7c31110ef285c1dde28980b1a9448b764d77d8f92 gcc.tar.bz2" | sha256sum -c -; \
tar -C /opt -xf gcc.tar.bz2; \
rm gcc.tar.bz2;
# Set Path for ARM compiler
ENV PATH="$PATH:/opt/gcc-arm-none-eabi-8-2019-q3-update/bin"
# Python3.7: for solo-python (merging etc.)
RUN set -eux; \
@ -35,4 +37,4 @@ RUN set -eux; \
pip install -U pip
# solo-python (Python3.7 script for merging etc.)
RUN pip install -U solo-python
RUN pip install -U solo-python