-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
50 lines (44 loc) · 910 Bytes
/
Dockerfile
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
FROM ubuntu as clang-downloader
MAINTAINER Jerome Forissier <jerome.forissier@linaro.org>
RUN apt update && \
apt install -y wget xz-utils
ADD get_clang.sh /root/get_clang.sh
WORKDIR /root
RUN ./get_clang.sh 12.0.0 ./clang
FROM ubuntu:22.04
MAINTAINER Jerome Forissier <jerome.forissier@linaro.org>
COPY --from=clang-downloader /root/clang/ /usr/local/
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y \
autoconf \
bc \
bison \
ccache \
clang \
cmake \
codespell \
curl \
device-tree-compiler \
expect \
flex \
gcc-aarch64-linux-gnu \
gcc-arm-linux-gnueabihf \
gcc-riscv64-linux-gnu \
gdisk \
gettext \
git \
libncurses5 \
libssl-dev \
lsb-release \
make \
python3 \
python3-cryptography \
python3-pycodestyle \
python3-pycryptodome \
python3-pyelftools \
sudo \
uuid-dev \
vim \
wget \
&& apt-get autoremove