-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
66 lines (60 loc) · 1.44 KB
/
Dockerfile
File metadata and controls
66 lines (60 loc) · 1.44 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Docker Buildroot
FROM debian:13
RUN apt-get update -y
# Buildroot mandatory package:
# https://buildroot.org/downloads/manual/manual.html#requirement-mandatory
RUN apt-get install -y \
which \
sed \
make \
binutils \
diffutils \
gcc \
g++ \
bash \
patch \
gzip \
bzip2 \
perl \
tar \
cpio \
unzip \
rsync \
file \
bc \
findutils \
wget
# Buildroot optional package:
# https://buildroot.org/downloads/manual/manual.html#requirement-optional
RUN apt-get install -y \
python3 \
# User Interface dependecies \
libncurses6 libncurses-dev \
# qt5 \
# glib2 gtk2 glade2 \
# Source fetching tools \
git \
# bazaar \
# cvs \
# subversion \
# mercurial \
rsync \
openssh-client \
javacc \
asciidoc \
w3m \
dblatex \
# User utility \
vim \
yq \
nnn
WORKDIR /buildroot-home
# Below volumes are created to keeps Buildroot ccache, download and host directory persistent
VOLUME /buildroot-home/cache
VOLUME /buildroot-home/host
RUN mkdir logs
# Get Buildroot, jaihouse hypervisor and linux kernel for jailhouse
RUN git clone --depth 1 -b 2025.02 https://gitlab.com/buildroot.org/buildroot.git
COPY ./docker-entrypoint.sh ./
ENTRYPOINT [ "/bin/bash", "./docker-entrypoint.sh" ]
CMD ["-s"]