vegeta Docker & Self-Hosted Deployment

GitHub

HTTP load testing tool and library. It's over 9000!

25,027 stars Go Go 1 file ยท ~5,928 tokens #benchmarking#go#http#load-testing
1. Pull Image (DOCKERHUB) docker pull tsenart/vegeta:latest
2. Docker Run (1-Click Launch) docker run -d --name vegeta --restart always tsenart/vegeta:latest
3. Podman Run podman run -d --name vegeta --restart always tsenart/vegeta:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/tsenart/vegeta:latest
5. ORAS Pull (OCI Artifact) oras pull tsenart/vegeta:latest
Dockerfile
FROM golang:1.20-alpine3.18 AS BUILD

RUN apk add make build-base git

WORKDIR /vegeta

# cache dependencies
ADD go.mod /vegeta
ADD go.sum /vegeta
RUN go mod download

ADD . /vegeta

RUN make generate
RUN make vegeta

FROM alpine:3.18.0

COPY --from=BUILD /vegeta/vegeta /bin/vegeta

ENTRYPOINT ["vegeta"]