Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit ddce061. Installing the Oracle CLI the way we're installing it is causing `/root/.bashrc` to be modified to include `/usr/bin` (the location where the `oci` binary is placed) at the front of `PATH`, _before_ `/usr/local/bin`. This ends up breaking `python3 -m venv venv` called from Pulumi Deployments because it ends up using the system Python at `/usr/bin/python3` rather than the version of Python from this image that should be used at `/usr/local/bin/python3` (due to the `PATH` change in `.bashrc`), and the system Python does not have `venv` available. It may be possible to address this by installing the Oracle CLI binary in `/usr/local/bin` rather than `/usr/bin`, but I'd like to see if it's possible to install the Oracle CLI without updating `.bashrc` at all, so reverting this in the meantime.
- Loading branch information