Sign inSign up

cprakashagr/vegeta

By cprakashagr

•Updated about 6 years ago

Vegeta Load Testing Docker Image - Image based on Ubuntu OS.

Image
0

843

cprakashagr/vegeta repository overview

Run Vegeta in a container.

No entry-points / commands are the part of Dockerfile. You have to pass them as per your convenience.

Example:

docker run -dit -v --name vegeta /path/to/your/vegeta/project:/script cprakashagr/vegeta sh
docker exec -it --workdir=/script vegeta sh
vegeta attack -duration=5s -rate=700 -targets=target.vegeta --insecure | vegeta report

Dockerfile:

FROM ubuntu:18.04

ENV VEGETA_VERSION 12.5.1
RUN apt update \
 && apt install -y ca-certificates \
    openssl wget \
 && wget -q "https://github.com/tsenart/vegeta/releases/download/cli/v$VEGETA_VERSION/vegeta-$VEGETA_VERSION-linux-amd64.tar.gz" -O /tmp/vegeta.tar.gz \
 && cd bin \
 && tar xzf /tmp/vegeta.tar.gz \
 && rm /tmp/vegeta.tar.gz

Tag summary

Content type

Image

Digest

Size

52.3 MB

Last updated

about 6 years ago

docker pull cprakashagr/vegeta