grafana / xk6-output-timescaledb

k6 extension to output real-time test metrics to TimescaleDB.
Apache License 2.0
30 stars 14 forks source link

Can't find modul during preparing image #26

Closed SRusinek closed 1 year ago

SRusinek commented 1 year ago

Hello,

I've been attempting to build a Docker image using your Dockerfile from the xk6-output-timescaledb repository (link: https://github.com/grafana/xk6-output-timescaledb/blob/main/Dockerfile), but I've run into an issue.

During the image build process, the build fails on the step RUN CGO_ENABLED=0 xk6 build --with github.com/grafana/xk6-output-timescaledb=. --output /tmp/k6, with an error indicating the github.com/grafana/xk6-output-timescaledb module cannot be found.

image

Could you assist in understanding how I can successfully build this Docker image with this extension? Is there anything I may have overlooked in the documentation or the structure of your project?

Thank you for your help.