From c924da3acfec409868a092865dd7804c0e020fb2 Mon Sep 17 00:00:00 2001 From: Jannis Dohm Date: Sun, 3 Jan 2021 22:38:51 +0100 Subject: [PATCH] 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. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2d584ec..0cd9779 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +RUN pip install -U solo-python