Custom worker docker image
Is it possible to use a custom docker image for Windmill workers?
4 Replies
Sure, you can extend the base image https://www.windmill.dev/docs/advanced/preinstall_binaries#examples-with-docker-compose
Preinstall Binaries | Windmill
Workers in Windmill can preinstall binaries. This allows them to execute these binaries in subprocesses or directly within bash. While some common binaries like npm, aws-cli, kubectl, and helm are already present in the standard images, you can add more by extending the base image of Windmill.
this is not extending the base image
that's just installing out of band deps
I probably should've provided some context here -- running it on k8s, using the helm chart which only currently provides the ability to specify a single image; this image is used for both app and worker. I think it would be extremely useful to be able to customize the image per worker-group
That's a good point, would be interested too if that's possible
@cmptr I guess we would need to modify the helm chart to support this