A image with K6s and K6 file installed. More about k6 file https://github.com/avitalique/xk6-file Dockerfile
FROM golang:1.18-alpine as builder
WORKDIR /
RUN apk --no-cache add git
RUN wget https://github.com/grafana/xk6/releases/download/v0.7.0/xk6_0.7.0_linux_amd64.tar.gz && \
tar zxvf xk6_0.7.0_linux_amd64.tar.gz && \
./xk6 build v0.38.3 --with github.com/avitalique/xk6-file@latest
FROM alpine:3.15
RUN apk add --no-cache ca-certificates bash vim
RUN echo 'alias ll="ls -ltah"' >> ~/.bashrc
COPY --from=builder /k6 /usr/bin/k6
WORKDIR /home/k6
ENTRYPOINT ["k6"]
Content type
Image
Digest
Size
21.3 MB
Last updated
over 4 years ago
docker pull liujian82/k6-with-file-plugin