github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/images/benchmarks/hey/Dockerfile (about)

     1  FROM golang:1.15 as build
     2  RUN go get github.com/rakyll/hey
     3  WORKDIR /go/src/github.com/rakyll/hey
     4  RUN go mod download
     5  RUN CGO_ENABLED=0 go build -o /hey hey.go
     6  
     7  FROM ubuntu:18.04
     8  RUN set -x \
     9          && apt-get update \
    10          && apt-get install -y \
    11             wget \
    12          && rm -rf /var/lib/apt/lists/*
    13  COPY --from=build /hey /bin/hey