-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile_sdk
More file actions
49 lines (40 loc) · 1.14 KB
/
Dockerfile_sdk
File metadata and controls
49 lines (40 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Docker image with Snapdragon Flight SDK for Eagle board.
# The image contains trimmed versions of the Hexagon SDK and
# qrlSDK.
#
# Run the minimalSDK.sh script to create the
# cross_toolchain/minimalSDK.tgz file used below.
#
FROM ubuntu:xenial
MAINTAINER Mark Charlebois <[email protected]>
RUN apt-get update \
&& apt-get -y --quiet --no-install-recommends install \
binutils \
file \
git \
make \
ccache \
cmake \
unzip \
xz-utils \
ca-certificates \
ssh \
python \
&& apt-get -y autoremove \
&& apt-get clean autoclean
ADD sdk/cross_toolchain/minimalSDK.tgz \
/opt/
ENV HEXAGON_SDK_ROOT="/opt/Qualcomm/Hexagon_SDK/3.0"
ENV HEXAGON_TOOLS_ROOT="/opt/Qualcomm/HEXAGON_Tools/7.2.12/Tools"
ENV HEXAGON_ARM_SYSROOT="/opt/Qualcomm/qrlinux_v4_sysroot/merged-rootfs"
ENV PATH="${HEXAGON_SDK_ROOT}/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin":$PATH
ENV GIT_SSL_NO_VERIFY=true
ENV PATH "/usr/lib/ccache:$PATH"
ENV DISPLAY :0
ENV TERM=xterm
ENV CCACHE_CPP2=1
ENV HOME="/home/user"
RUN adduser --shell /bin/bash --disabled-password --gecos '' --uid 9001 user
USER user
CMD ["/bin/bash"]