aurelienbrabant
aurelienbrabant16mo ago

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
rubenf16mo 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
rubenf16mo ago
PowerShell not being found is strange
aurelienbrabant
aurelienbrabantOP16mo ago
Oh well here it was Was looking at the bash doc for some reason
rubenf
rubenf16mo ago
I can reproduce powershell missing Will investigate
aurelienbrabant
aurelienbrabantOP16mo ago
No description
aurelienbrabant
aurelienbrabantOP16mo ago
That's all I'm getting, using the boilerplate, if that can somehow help.
rubenf
rubenf16mo ago
Yes, I can reproduce