Skip to content

Commit

Permalink
[testnet] Install the perf metapackage for debian based distro
Browse files Browse the repository at this point in the history
  • Loading branch information
perryjrandall committed Jun 29, 2022
1 parent 257cdb9 commit ee742a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/rust-all.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ FROM debian-base AS validator
RUN apt-get update && apt-get install -y libssl1.1 ca-certificates && apt-get clean && rm -r /var/lib/apt/lists/*

### Needed to run debugging tools like perf
RUN apt-get update && apt-get install -y linux-tools-4.19 sudo procps
RUN apt-get update && apt-get install -y linux-perf sudo procps
### Because build machine perf might not match run machine perf, we have to symlink
### Even if version slightly off, still mostly works
RUN ln -sf /usr/bin/perf_* /usr/bin/perf

RUN addgroup --system --gid 6180 aptos && adduser --system --ingroup aptos --no-create-home --uid 6180 aptos

Expand Down

0 comments on commit ee742a3

Please sign in to comment.