blob: d50be6c3a3528c199e1fc5982ecfbed5ca5a03aa [file] [log] [blame]
RJ Ascanid027f2a2023-09-20 20:03:50 -07001FROM python:3.10-bullseye
RJ Ascanid1bc1632023-09-14 17:04:05 -07002ENV DEBIAN_FRONTEND noninterative
3
4RUN \
5 apt update && \
6 apt install -y \
7 automake \
8 build-essential \
9 curl \
10 git \
11 unzip \
RJ Ascanid027f2a2023-09-20 20:03:50 -070012 wget
RJ Ascanid1bc1632023-09-14 17:04:05 -070013
14WORKDIR /opt/xtensa
15
16COPY ./Xplorer-8.0.13-linux-x64-installer.bin .
RJ Ascanid1bc1632023-09-14 17:04:05 -070017COPY ./F1_190305_swupgrade_linux.tgz .
18COPY ./P6_200528_linux.tgz .
19COPY ./HIFI_190304_swupgrade_linux.tgz .
20COPY ci/install_cores_xplorer_13.sh .
21COPY ci/install_bazelisk.sh .
22
23RUN \
RJ Ascanid1bc1632023-09-14 17:04:05 -070024 pip3 install Pillow
25
26RUN \
27 pip3 install numpy
28
29RUN \
30 chmod +x Xplorer-8.0.13-linux-x64-installer.bin && \
31 ./Xplorer-8.0.13-linux-x64-installer.bin --prefix /opt/xtensa --mode unattended
32
33ENV XTENSA_BASE "/opt/xtensa/XtDevTools/install/"
34
35RUN \
36 chmod +x install_cores_xplorer_13.sh && \
37 ./install_cores_xplorer_13.sh
38
39RUN ./install_bazelisk.sh
40
41RUN \
42 rm Xplorer-8.0.13-linux-x64-installer.bin && \
RJ Ascanid1bc1632023-09-14 17:04:05 -070043 rm F1_190305_swupgrade_linux.tgz && \
44 rm P6_200528_linux.tgz && \
45 rm HIFI_190304_swupgrade_linux.tgz && \
46 rm -f install_cores_xplorer_13.sh
47
48ENV LIC_DIR "/opt/xtensa/licenses/RI-2020.4-linux"
49ENV LM_LICENSE_FILE "${LIC_DIR}/F1_190305_swupgrade/misc/license.dat:${LIC_DIR}/AE_HiFi5_LE5_AO_FP_XC/misc/license.dat:${LIC_DIR}/P6_200528/misc/license.dat:${LIC_DIR}/HIFI_190304_swupgrade/misc/license.dat"
50
51CMD /opt/xtensa/XtDevTools/install/tools/RI-2020.4-linux/XtensaTools/bin/xt-clang++ --xtensa-core=