-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (18 loc) · 720 Bytes
/
Dockerfile
File metadata and controls
27 lines (18 loc) · 720 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
FROM ubuntu:22.04
# Tested on ubuntu@sha256:0bced47fffa3361afa981854fcabcd4577cd43cebbb808cea2b1f33a3dd7f508
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y \
git wget curl vim build-essential python3 python3-pip python-is-python3
WORKDIR /src/flamegraph
# Install original flamegraph tools
RUN git clone --depth=1 https://github.com/brendangregg/FlameGraph
# Pip install necessary things
RUN pip install flameprof 2>/dev/null
COPY basic-example/ ./basic-example
COPY sqlite-example/ ./sqlite-example
COPY aoc-2023-19/ ./aoc-2023-19
COPY *.sh ./
ENTRYPOINT ./make_flameprof_flamegraphs.sh basic-example/example.py
# Takes longer, but shows all options
#ENTRYPOINT ./make_all.sh