1FROM ubuntu:bionic 2ARG DEBIAN_FRONTEND=noninteractive 3 4RUN \ 5 apt update && \ 6 apt install -y \ 7 unzip && \ 8 rm -rf /var/lib/apt/lists/* 9 10WORKDIR /opt/hexagon 11 12COPY ./qualcomm_hexagon_sdk_3_5_1_linux.zip . 13 14RUN unzip qualcomm_hexagon_sdk_3_5_1_linux.zip && \ 15 rm qualcomm_hexagon_sdk_3_5_1_linux.zip && \ 16 cd qualcomm_hexagon_sdk_3_5_1_linux && \ 17 chmod +x qualcomm_hexagon_sdk_3_5_1_eval.bin && \ 18 ./qualcomm_hexagon_sdk_3_5_1_eval.bin -i silent -DDOWNLOAD_ANDROID=false -DDOWNLOAD_FULL_ANDROID=false -DDOWNLOAD_ECLIPSE=false && \ 19 cd /opt/hexagon && rm -rf qualcomm_hexagon_sdk_3_5_1_linux 20 21ENV HEXAGON_CPU_VER=v66 22ENV HEXAGON_SDK_ROOT=/root/Qualcomm/Hexagon_SDK/3.5.1 23ENV HEXAGON_ROOT=${HEXAGON_SDK_ROOT}/tools/HEXAGON_Tools/ 24ENV HEXAGON_TOOL_VER=8.3.07 25ENV PATH=${HEXAGON_ROOT}/${HEXAGON_TOOL_VER}/Tools/bin:${PATH} 26 27CMD hexagon-clang++ 28