diff options
author | Richard Burton <richard.burton@arm.com> | 2023-06-06 10:08:03 +0100 |
---|---|---|
committer | Richard Burton <richard.burton@arm.com> | 2023-06-06 16:27:10 +0100 |
commit | 4c431d77902dc3c47e92a4ad3a3a58ac3e4cc806 (patch) | |
tree | 57ad3e4d9d1bea5f258bfc0a933b510263c1d44f | |
parent | 8ad001d8d9f9ab0b589a9adb84a8c910427fc0db (diff) | |
download | ml-embedded-evaluation-kit-4c431d77902dc3c47e92a4ad3a3a58ac3e4cc806.tar.gz |
Dockerfile updated from Python 3.8 to Python 3.9
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: I7cfda89a1eac40a47150505bcacea8bf2aef8695
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -21,10 +21,10 @@ RUN apt-get update && \ apt-get install -y \ make \ git \ - python3.8 \ + python3.9 \ python3-pip \ - python3.8-dev \ - python3.8-venv \ + python3.9-dev \ + python3.9-venv \ unzip \ curl \ wget \ @@ -33,6 +33,11 @@ RUN apt-get update && \ sudo \ telnet +# Set Python3.9 as default +RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 10 && \ + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 20 && \ + update-alternatives --set python3 /usr/bin/python3.9 && python3 --version + # Download and install gcc 11.2 RUN curl -L https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi.tar.xz -o gcc-arm-none-eabi.tar.xz && \ echo "8c5acd5ae567c0100245b0556941c237369f210bceb196edfe5a2e7532c60326 gcc-arm-none-eabi.tar.xz" | sha256sum -c && \ |