how to package a xk6 module with the loadimpact/k6 docker image?
1 Like
Hey @yang,
I think you don’t need the loadimpact/k6
docker image to package a k6 executable bundled with xk6 extensions. You can use a multi-stage Docker image of Go 1.16 for building k6 with xk6 extensions and then use those layers in a later stage to create a Docker image containing your custom-built image.
You can also have a look at xk6bundler that integrates with GitHub Actions.