Skip to content

Instantly share code, notes, and snippets.

@torosent
Last active March 24, 2019 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torosent/a2958392b63bcadeb4c0ef1071c0accd to your computer and use it in GitHub Desktop.
Save torosent/a2958392b63bcadeb4c0ef1071c0accd to your computer and use it in GitHub Desktop.
wrk docker
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