From 49482d53d7f8ee3fb0c2cc6c0553e9cbdfe6f332 Mon Sep 17 00:00:00 2001 From: Richard Burton Date: Thu, 30 Nov 2023 11:38:45 +0000 Subject: MLECO-4371 Update dependencies to 23.11 release components * Updated NPU components and dependencies (core-driver, core-platform, Vela, CMSIS, TensorFlow Lite Micro) to 23.11 release SHAs. * Changed Python version to 3.10 * Updated release notes and other documentation * Added workarounds to scripts in order to address build issues Signed-off-by: Aron Virginas-Tar Change-Id: I0a639b80881b53eebb216085b7e6764e3be8ca67 --- Dockerfile | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index c98a950..00fe747 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,10 +21,12 @@ RUN apt-get update && \ apt-get install -y \ make \ git \ - python3.9 \ + python3.10 \ python3-pip \ - python3.9-dev \ - python3.9-venv \ + python3.10-dev \ + python3.10-venv \ + g++-10 \ + gcc-10 \ unzip \ curl \ wget \ @@ -33,10 +35,19 @@ RUN apt-get update && \ sudo \ telnet -# Set Python3.9 as default +# Set Python3.10 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 + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 20 && \ + update-alternatives --set python3 /usr/bin/python3.10 && python3 --version + +# Update symlinks for gcc +RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 10 && \ + update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 20 && \ + update-alternatives --set gcc /usr/bin/gcc-10 && gcc --version +# Update symlinks for g++ +RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 10 && \ + update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 20 && \ + update-alternatives --set g++ /usr/bin/g++-10 && g++ --version \ # Download and install gcc 13.2 RUN curl -L https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz -o gcc-arm-none-eabi.tar.xz && \ -- cgit v1.2.1