mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Add wrk2 Docker image for benchmarks.
`wrk2` is a fork of `wrk` with finer-grained calibration and more statistics. It is not currently used in benchmarks. PiperOrigin-RevId: 528618354
This commit is contained in:
committed by
gVisor bot
parent
389cc75f10
commit
431591ffc2
@@ -0,0 +1,11 @@
|
||||
FROM ubuntu:20.04 as build
|
||||
RUN apt-get update && apt-get install -y git build-essential libssl-dev libz-dev
|
||||
RUN git clone https://github.com/giltene/wrk2.git /tmp/wrk2 && cd /tmp/wrk2 && make
|
||||
|
||||
FROM ubuntu:20.04
|
||||
RUN set -x \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y \
|
||||
wget \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=build /tmp/wrk2/wrk /bin/wrk2
|
||||
Reference in New Issue
Block a user