-
-
Notifications
You must be signed in to change notification settings - Fork 291
Expand file tree
/
Copy pathbuild.Dockerfile
More file actions
32 lines (30 loc) · 943 Bytes
/
build.Dockerfile
File metadata and controls
32 lines (30 loc) · 943 Bytes
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
{% include 'base.Dockerfile' %}
# libffi-dev and zlib1g-dev are present so host Python (during cross-builds)
# can build the ctypes and zlib extensions. So comment in build-cpython.sh
# for more context.
#
# Compression packages are needed to extract archives.
#
# Various other build tools are needed for various building.
# Note linux-headers is installed to source a missing UAPI header, see below
RUN ulimit -n 10000 && apt-get install \
bzip2 \
ca-certificates \
curl \
file \
libc6-dev \
linux-headers-3.16.0-6-common \
libffi-dev \
make \
patch \
perl \
pkg-config \
tar \
xz-utils \
unzip \
zip \
zlib1g-dev
# Debian Jessie's linux-libc-dev is missing the vm_sockets header due to a typo
# see https://lists.openwall.net/netdev/2014/12/01/2
RUN install -m 0644 /usr/src/linux-headers-3.16.0-6-common/include/uapi/linux/vm_sockets.h \
/usr/include/linux/vm_sockets.h