forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (34 loc) · 1.03 KB
/
Dockerfile
File metadata and controls
39 lines (34 loc) · 1.03 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
FROM ubuntu:xenial-20200619
WORKDIR /code
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
build-essential \
git \
curl \
autoconf \
asciidoc \
libssl-dev \
zlib1g-dev \
libaudit-dev \
binutils-dev \
libiberty-dev \
libcap-dev \
libdwarf-dev \
liblzma-dev \
libnuma-dev \
libbabeltrace-ctf-dev \
systemtap-sdt-dev \
libslang2-dev \
libzstd-dev \
libbz2-dev \
flex \
bison \
;
# Installing a new version of elfutils and libunwind
RUN curl -L ftp://sourceware.org/pub/elfutils/0.179/elfutils-0.179.tar.bz2 -o /tmp/elfutils-0.179.tar.bz2
RUN cd /tmp && tar -xf elfutils-0.179.tar.bz2
RUN cd /tmp/elfutils-0.179 && ./configure --disable-debuginfod --prefix=/usr && make && make install
RUN curl -L http://download.savannah.nongnu.org/releases/libunwind/libunwind-1.4.0.tar.gz -o /tmp/libunwind-1.4.0.tar.gz
RUN cd /tmp && tar -xf libunwind-1.4.0.tar.gz
RUN cd /tmp/libunwind-1.4.0 && ./configure --prefix=/usr && make install
CMD bash