-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathDockerfile.heaptrack
More file actions
38 lines (31 loc) · 888 Bytes
/
Dockerfile.heaptrack
File metadata and controls
38 lines (31 loc) · 888 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
33
34
35
36
37
38
FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
ARG TARGETPLATFORM
RUN apt update -y -q && apt upgrade -y -q && apt update -y -q && \
apt install -y -q \
build-essential \
binutils-multiarch \
curl \
git \
autopoint \
pkg-config \
libunwind-dev \
elfutils \
libdw-dev \
libboost-all-dev \
libzstd-dev \
cmake \
gawk \
unzip
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
curl -L -o ninja-linux.zip https://github.com/ninja-build/ninja/releases/download/v1.12.0/ninja-linux-aarch64.zip \
; fi
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
curl -L -o ninja-linux.zip https://github.com/ninja-build/ninja/releases/download/v1.12.0/ninja-linux.zip \
; fi
RUN unzip ninja-linux.zip && \
mv ninja /usr/bin/ninja
RUN mkdir -p /root
COPY heaptrack /root/
COPY common.sh /root/
WORKDIR /root