Skip to content

Commit

Permalink
Merge pull request #39 from grafana/31-add-k6-alias-for-k6exec-in-image
Browse files Browse the repository at this point in the history
feat: add k6 alias for k6exec
  • Loading branch information
szkiba authored Sep 3, 2024
2 parents 1cbff04 + d6aeed8 commit 3e6dcfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.goreleaser
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ VOLUME /cache
VOLUME /state
RUN adduser -D -u 1000 -g 1000 -h /home/k6exec k6exec && \
mkdir -p /cache/k6exec /state/k6exec && \
chown -R 1000:1000 /cache /state
chown -R 1000:1000 /cache /state \
ln -s /usr/bin/k6exec /usr/bin/k6
ENV CGO_ENABLED=1 XDG_CACHE_HOME="/cache" XDG_STATE_HOME="/state"
COPY k6exec /usr/bin/k6exec

Expand Down

0 comments on commit 3e6dcfe

Please sign in to comment.