Files
Jing ChenandgVisor bot 16b019b78b Upgrade gVisor images to use ubuntu:jammy as the base image.
ubuntu:jammy is 22.04, which is a LTS version.

This is the third wave.

PiperOrigin-RevId: 666528422
2024-08-22 16:15:02 -07:00

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