Skip to content

Commit

Permalink
Merge pull request #155 from bchardim/rh-gls-bchardim/add-k6-codereadyws
Browse files Browse the repository at this point in the history
Add k6 install on codereadyworkspaces stack Dockerfile
  • Loading branch information
jfilipcz authored Dec 7, 2022
2 parents 9335d63 + be8fddf commit e9b2497
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions codereadyworkspaces/stack/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ENV ARGOCD_VERSION=2.3.3 \
ROX_VERSION=3.63.0 \
KUBELINTER_VERSION=0.2.6 \
COSIGN_VERSION=1.7.2 \
K6_VERSION=0.41.0 \
JSONNET_VERSION=0.17.0

# this is based off of registry.redhat.io/codeready-workspaces/plugin-java8-rhel8
Expand Down Expand Up @@ -105,6 +106,11 @@ RUN curl -skL -o /usr/local/bin/hey https://hey-release.s3.us-east-2.amazonaws.c
chmod 775 /usr/local/bin/hey && \
echo "πŸ‘‹πŸ‘‹πŸ‘‹"

# k6
RUN curl -skL https://github.com/grafana/k6/releases/download/v${K6_VERSION}/k6-v${K6_VERSION}-linux-amd64.tar.gz | tar zxf - -C /usr/local/bin --strip-components=1 k6-v${K6_VERSION}-linux-amd64/k6 && \
chmod 775 /usr/local/bin/k6 && \
echo "πŸ‘‹πŸ‘‹πŸ‘‹"

# jsonnet & jsonnet bundler
RUN GO111MODULE="on" go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest && go install github.com/brancz/gojsontoyaml@latest && \
curl -skL -o /tmp/jsonnet.tar.gz https://github.com/google/jsonnet/releases/download/v${JSONNET_VERSION}/jsonnet-bin-v${JSONNET_VERSION}-linux.tar.gz && \
Expand Down

0 comments on commit e9b2497

Please sign in to comment.