From 8abbdc75bc9ce026534a9840de5b9aef3544f403 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sat, 20 Jul 2019 00:28:28 +0900 Subject: [PATCH 1/2] Update Vegeta to version 12.6.0 --- Dockerfile | 4 ++-- README.md | 4 ++-- archive/6.5/Dockerfile | 24 ++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 archive/6.5/Dockerfile diff --git a/Dockerfile b/Dockerfile index 712fc84..0cb34ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.9 +FROM alpine:3.10.1 LABEL \ maintainer="Peter Evans " \ @@ -9,7 +9,7 @@ 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 \ diff --git a/README.md b/README.md index 5315896..ddd56ab 100644 --- a/README.md +++ b/README.md @@ -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/). diff --git a/archive/6.5/Dockerfile b/archive/6.5/Dockerfile new file mode 100644 index 0000000..712fc84 --- /dev/null +++ b/archive/6.5/Dockerfile @@ -0,0 +1,24 @@ +FROM alpine:3.9 + +LABEL \ + maintainer="Peter Evans " \ + org.opencontainers.image.title="vegeta" \ + org.opencontainers.image.description="Docker image for the Vegeta HTTP load testing tool." \ + org.opencontainers.image.authors="Peter Evans " \ + 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" ] \ No newline at end of file From 80397e93c7ff08f36b627538bb63f511227413f1 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sat, 20 Jul 2019 00:32:16 +0900 Subject: [PATCH 2/2] Update release artifact path --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0cb34ef..8e68418 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ 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 \