-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
76 lines (67 loc) · 1.14 KB
/
Dockerfile
File metadata and controls
76 lines (67 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
# Set timezone for OS in container
ENV TZ=America/New_York
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Clean and update source
RUN apt-get -y clean && apt-get -y update
# Install dependencies and things
RUN apt-get -y install \
wget \
git \
gcc \
flex \
bison \
gperf \
make \
python \
unzip \
rar \
dos2unix \
swig \
python-dev \
python3-dev \
python3-pip \
clang-format \
python3 \
python3-pip \
python3-setuptools \
python3-wheel \
ninja-build \
rename \
gdb \
apache2 \
re2c \
ctags \
lzip \
libncurses-dev \
tree \
pkg-config \
cmake \
python-pip \
automake \
lzop \
doxygen \
graphviz \
libssl-dev \
genromfs \
lzma \
lzma \
mtools \
mtd-tools \
rsync && \
rm -rf /var/lib/apt/lists/*
# install FDT PIP package
RUN pip3 install fdt
# install Micro Text Editor
RUN wget -O- https://getmic.ro | bash \
&& mv micro /usr/bin
# Create workspace
RUN mkdir -p /root/workspace
WORKDIR /root
COPY support .
RUN ./setup-toolchain.sh
RUN cat setup-env.sh >> .bashrc
VOLUME /root/workspace
WORKDIR /root/workspace
CMD ["/bin/bash"]