-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile.native
More file actions
69 lines (66 loc) · 1.74 KB
/
Dockerfile.native
File metadata and controls
69 lines (66 loc) · 1.74 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
ARG DEBIAN_RELEASE=buster
ARG ARCH=armel
FROM ev3dev/debian-$DEBIAN_RELEASE-$ARCH-qemu-minbase
ARG DEBIAN_RELEASE
ARG ARCH
# this is a customized version of ev3dev-stretch-cross image
# setup repositories and install required packages
COPY sources.list.$DEBIAN_RELEASE /etc/apt/sources.list
COPY ev3dev-archive-keyring.gpg /etc/apt/trusted.gpg.d/
RUN apt-get -qq update && \
DEBIAN_FRONTEND=noninteractive apt-get -qq install --yes --no-install-recommends \
bash-completion \
ca-certificates \
cmake \
build-essential \
gdb-multiarch \
less \
man-db \
nano \
pkg-config \
sudo \
tree \
vim \
wget \
xz-utils \
libcups2-dev \
libfreetype6-dev \
libfontconfig1-dev \
libasound2-dev \
libx11-dev \
libxext-dev \
libxrender-dev \
libxrandr-dev \
libxtst-dev \
libxt-dev \
libffi-dev \
libpng-dev \
libjpeg-dev \
libgif-dev \
liblcms2-dev \
zlib1g-dev \
systemtap \
systemtap-sdt-dev \
curl \
make \
m4 \
cpio \
gawk \
file \
zip \
pigz \
unzip \
procps \
autoconf \
autoconf-archive \
automake \
autotools-dev \
mercurial \
git \
zlib1g-dev && \
rm -rf /var/lib/apt/lists/*
# prepare a nonroot user
COPY compiler.sudoers /etc/sudoers.d/compiler
RUN chmod 0440 /etc/sudoers.d/compiler && \
adduser --disabled-password --gecos \"\" compiler && \
usermod -a -G sudo compiler