Skip to content
Permalink
Browse files

Docker: Install Flame Graph script on Ubuntu Disco

  • Loading branch information...
sanssecours committed Jun 6, 2019
1 parent 0d9e7fa commit dd6c46a075cbc13a80c8fc52fc47e43bbe8fe239
Showing with 8 additions and 0 deletions.
  1. +8 −0 scripts/docker/ubuntu/disco/Dockerfile
@@ -15,6 +15,7 @@ RUN apt-get update && apt-get -y install \
locales \
moreutils \
ninja-build \
perl \
pkg-config \
python3-dev \
ruby-dev \
@@ -76,3 +77,10 @@ RUN useradd \
jenkins

USER ${JENKINS_USERID}

# flamegraph.pl
ARG FLAME_GRAPH_PATH=/home/jenkins/bin
ENV PATH="${FLAME_GRAPH_PATH}:${PATH}"
RUN mkdir -p "${FLAME_GRAPH_PATH}" \
&& curl -L "https://raw.githubusercontent.com/brendangregg/FlameGraph/master/flamegraph.pl" -o "${FLAME_GRAPH_PATH}/flamegraph" \
&& chmod a+x "${FLAME_GRAPH_PATH}/flamegraph"

0 comments on commit dd6c46a

Please sign in to comment.
You can’t perform that action at this time.