-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile
87 lines (80 loc) · 2.02 KB
/
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
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
77
78
79
80
81
82
83
84
85
86
87
ARG version=18.04
FROM ubuntu:$version
# Does prevent interactive questions on apt operations
ENV DEBIAN_FRONTEND=noninteractiveq
# Install the required packages for development. We do this in a single command
# so the cache of the layer is handled atomically.
#
# The `realpath` is specific for Ubuntu 14.04 as later it was included in
# `coreutils` package.
RUN apt-get update && \
apt-get install -y --no-install-recommends realpath || true && \
apt-get install -y --no-install-recommends python python-dev || true && \
apt-get install -y --no-install-recommends python3 python3-dev || true && \
apt-get install -y --no-install-recommends python3-distutils-extra || true && \
apt-get install -y --no-install-recommends python-dev-is-python3 || true && \
apt-get install -y --no-install-recommends libegl1-mesa || true && \
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
chrpath \
cpio \
debianutils \
diffstat \
file \
gawk \
git-core \
glib-2.0-dev \
iputils-ping \
less \
liblz4-tool \
libsdl1.2-dev \
locales \
openssh-client \
openssl \
socat \
sudo \
texinfo \
unzip \
zstd \
wget \
xterm \
xz-utils \
\
jq \
curl \
iproute2 \
iptables \
libncurses-dev \
git-lfs \
nano \
procps \
python3-lxml \
rpm \
tmux \
xterm \
python3-git \
\
bc \
bison \
device-tree-compiler \
flex \
libssl-dev \
lzop \
swig \
\
g++-multilib \
gcc-multilib \
\
bash \
zsh \
&& \
rm -rf /var/lib/apt/lists/*
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
WORKDIR /
COPY entrypoint.sh .
COPY yocto-env .
ENTRYPOINT ["/entrypoint.sh"]