From d6aeed8c6dfc2e678879c826cef1f8935ce9b41b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20SZKIBA?= Date: Tue, 3 Sep 2024 08:54:04 +0200 Subject: [PATCH] feat: add k6 alias for k6exec --- Dockerfile.goreleaser | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.goreleaser b/Dockerfile.goreleaser index 2123d4d..9f228e2 100644 --- a/Dockerfile.goreleaser +++ b/Dockerfile.goreleaser @@ -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