Last active
March 24, 2019 10:14
-
-
Save torosent/a2958392b63bcadeb4c0ef1071c0accd to your computer and use it in GitHub Desktop.
wrk docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.8 as build | |
RUN apk add --update alpine-sdk openssl-dev | |
RUN cd /tmp && \ | |
git clone https://github.com/giltene/wrk2 | |
RUN cd /tmp/wrk2 && \ | |
make | |
FROM alpine:3.8 | |
RUN mkdir /wrk2 | |
COPY --from=build /tmp/wrk2/wrk /wrk2 | |
RUN apk add --no-cache libgcc openssl | |
WORKDIR /wrk2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment