-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
48 lines (41 loc) · 816 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
FROM ubuntu:22.04
ENV BUILDROOT_VERSION=2023.02.6
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
bc \
binutils \
bison \
bzip2 \
cpio \
file \
flex \
g++ \
gcc \
git \
graphviz \
gzip \
libfdt-dev \
libncurses-dev \
libssl-dev \
locales \
make \
nano \
patch \
perl \
python-is-python3 \
python3 \
python3-pip \
rsync \
sed \
tar \
unzip \
wget \
RUN git clone git://git.buildroot.net/buildroot -c advice.detachedHead=false --depth=1 --branch=${BUILDROOT_VERSION} /root/buildroot
WORKDIR /root/buildroot
ENV O=/buildroot_output
RUN touch .config
RUN touch kernel.config
RUN locale-gen en_GB.utf8
VOLUME /root/buildroot/dl
VOLUME /buildroot_output
RUN ["/bin/bash"]