mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
ubuntu:jammy is 22.04, which is a LTS version. This is the third wave. PiperOrigin-RevId: 666528422
14 lines
340 B
Docker
14 lines
340 B
Docker
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:jammy
|
|
RUN set -x \
|
|
&& apt-get update \
|
|
&& apt-get install -y \
|
|
wget \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY --from=build /hey /bin/hey
|