summaryrefslogtreecommitdiffhomepage
path: root/images/benchmarks/hey/Dockerfile
blob: 4b6a0f84952842cc44ecf4d593d5a78d5ea17f72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM golang:1.15 as build
RUN go get github.com/rakyll/hey
WORKDIR /go/src/github.com/rakyll/hey
RUN go mod download
RUN CGO_ENABLED=0 go build -o /hey hey.go

FROM ubuntu:18.04
RUN set -x \
        && apt-get update \
        && apt-get install -y \
           wget \
        && rm -rf /var/lib/apt/lists/*
COPY --from=build /hey /bin/hey