FROM debian:stable-slim RUN apt update RUN apt upgrade -y RUN apt-get install -y build-essential git unzip WORKDIR /root/ RUN git clone https://github.com/wg/wrk.git WORKDIR /root/wrk/ RUN make -j$(nproc --all) RUN apt-get remove -y build-essential git unzip RUN apt autoremove -y RUN apt autoclean -y ENTRYPOINT ["/root/wrk/wrk"]