Skip to content

Commit

Permalink
Merge pull request #24 from peter-evans/update-vegeta
Browse files Browse the repository at this point in the history
Update Vegeta to version 12.6.0
  • Loading branch information
peter-evans authored Jul 19, 2019
2 parents 10a5020 + 80397e9 commit 05bdc62
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.9
FROM alpine:3.10.1

LABEL \
maintainer="Peter Evans <[email protected]>" \
Expand All @@ -9,13 +9,13 @@ LABEL \
org.opencontainers.image.vendor="https://peterevans.dev" \
org.opencontainers.image.licenses="MIT"

ENV VEGETA_VERSION 12.5.1
ENV VEGETA_VERSION 12.6.0

RUN set -ex \
&& apk add --no-cache ca-certificates \
&& apk add --no-cache --virtual .build-deps \
openssl \
&& 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 \
&& wget -q "https://github.com/tsenart/vegeta/releases/download/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 \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Docker image for the [Vegeta](https://github.com/tsenart/vegeta) HTTP load testi

## Supported tags and respective `Dockerfile` links

- [`6.5.0`, `6.5`, `latest` (*6.5/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master)
- [`6.6.0`, `6.6`, `latest` (*6.6/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master)
- [`6.5.0`, `6.5` (*6.5/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master/archive/6.5)
- [`6.4.0`, `6.4` (*6.4/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master/archive/6.4)
- [`6.3.0`, `6.3` (*6.3/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master/archive/6.3)
- [`6.2.2`, `6.2` (*6.2/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master/archive/6.2)
- [`6.1.0`, `6.1` (*6.1/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master/archive/6.1)

For earlier versions see [releases](https://github.com/peter-evans/vegeta-docker/releases) and the available [tags on Docker Hub](https://hub.docker.com/r/peterevans/vegeta/tags/).

Expand Down
24 changes: 24 additions & 0 deletions archive/6.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM alpine:3.9

LABEL \
maintainer="Peter Evans <[email protected]>" \
org.opencontainers.image.title="vegeta" \
org.opencontainers.image.description="Docker image for the Vegeta HTTP load testing tool." \
org.opencontainers.image.authors="Peter Evans <[email protected]>" \
org.opencontainers.image.url="https://github.com/peter-evans/vegeta-docker" \
org.opencontainers.image.vendor="https://peterevans.dev" \
org.opencontainers.image.licenses="MIT"

ENV VEGETA_VERSION 12.5.1

RUN set -ex \
&& apk add --no-cache ca-certificates \
&& apk add --no-cache --virtual .build-deps \
openssl \
&& 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 \
&& apk del .build-deps

CMD [ "/bin/vegeta", "-help" ]

0 comments on commit 05bdc62

Please sign in to comment.