You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Add the Oracle Cloud CLI to the pulumi/pulumi image. This was originally added in #182 (shipped in v3.116.0 and v3.116.1), but was reverted due to #193 in #195.
We were using the installer to install the oci binary to /usr/bin, but the installer was modifying /root/.bashrc to update PATH to have /usr/bin ahead of /usr/local/bin, which was causing errors when running Python pulumi programs with Pulumi Deployments.
A potential simple fix is to place the binary in /usr/local/bin rather than /usr/bin, but I'd like to see if we can avoid modifying /root/.bashrc. Doesn't look like there's an easy way to do that using the installation script. It may be best to install it manually via pip install oci-cliin a virtual environment, and copying the binary to/usr/local/bin` without using their installation script, so it doesn't try to install python or modify anything else in the image.
The text was updated successfully, but these errors were encountered:
Hello!
Issue details
Add the Oracle Cloud CLI to the pulumi/pulumi image. This was originally added in #182 (shipped in v3.116.0 and v3.116.1), but was reverted due to #193 in #195.
We were using the installer to install the
oci
binary to/usr/bin
, but the installer was modifying/root/.bashrc
to updatePATH
to have/usr/bin
ahead of/usr/local/bin
, which was causing errors when running Python pulumi programs with Pulumi Deployments.A potential simple fix is to place the binary in
/usr/local/bin
rather than/usr/bin
, but I'd like to see if we can avoid modifying/root/.bashrc
. Doesn't look like there's an easy way to do that using the installation script. It may be best to install it manually via pip install oci-cliin a virtual environment, and copying the binary to
/usr/local/bin` without using their installation script, so it doesn't try to install python or modify anything else in the image.The text was updated successfully, but these errors were encountered: