Proper way of adding commands for bash scripts

Hi there ! I was wondering what's the proper way of adding programs so that they become executable from the bash script executor. Are we expected to build a custom worker image with the binaries in it or is there something I'm not aware of? Didn't find anything in the docs. By the way the executor says that pwsh is not found as an executable when getting started with the powershell template. I just upgraded my self hosted instance to CE v1.136.0-13-gcc597a17 if that can help.
7 Replies
rubenf
rubenf2y ago
Preinstall Binaries | Windmill
Workers can have binaries preinstalled so that they can use them in subprocesses or in bash directly. npm, aws-cli, kubectl and helm are part of the standard images. To include more binaries, simply extend the base image of Windmill.
rubenf
rubenf2y ago
PowerShell not being found is strange
aurelienbrabant
aurelienbrabantOP2y ago
Oh well here it was Was looking at the bash doc for some reason
rubenf
rubenf2y ago
I can reproduce powershell missing Will investigate
aurelienbrabant
aurelienbrabantOP2y ago
No description
aurelienbrabant
aurelienbrabantOP2y ago
That's all I'm getting, using the boilerplate, if that can somehow help.
rubenf
rubenf2y ago
Yes, I can reproduce

Did you find this page helpful?