-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
44 lines (39 loc) · 889 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
FROM debian:stretch
# Install dependencies
# https://buildroot.org/downloads/manual/manual.html#requirement-mandatory
RUN apt-get update && apt-get install -y -q \
bash \
bc \
binutils \
build-essential \
bzip2 \
ca-certificates \
cpio \
debianutils \
file \
g++ \
gcc \
git \
graphviz \
gzip \
libelf-dev \
libncurses5-dev \
locales \
make \
patch \
perl \
python \
python-matplotlib \
rsync \
sed \
tar \
unzip \
wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN sed -i "s/^# en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen && locale-gen && update-locale LANG=en_US.UTF-8
# Install buildroot
ENV BR_VERSION 2021.02.3
RUN wget -qO- http://buildroot.org/downloads/buildroot-$BR_VERSION.tar.gz \
| tar xz && mv buildroot-$BR_VERSION /buildroot
WORKDIR /buildroot