Thread
#general
    b

    bulky-agent-73210

    3 months ago
    Hey all, I need to run an inline program inside a docker container image. Since I can’t directly install Pulumi, I’m using precompiled binaries and would like to add them to the Pulumi PATH env var. Inside my program, I can get the absolute path to be binary file, and if I run it programmatically, it works OK. but if I add this location to the PATH and pass that auto.LocalWorkspaceOptions inside envvars, the Pulumi SDK can’t find pulumi executable. Any ideas? Using Golang.
    e

    echoing-dinner-19531

    3 months ago
    EnvVars is what's set after pulumi has been found and started up. You need to edit PATH in the process that is using automation api so that that process is able to lookup "pulumi" in the new PATH list.
    b

    bulky-agent-73210

    3 months ago
    That did it, thanks!