Heroku buildpack for setting up Oracle Instant Client and the
In order for this buildpack to execute, it will look for a
.oracle.yml file in your app's root. The file can be empty but it must exist.
You'll need to use multiple buildpacks.
This buildpack will need to be invoked first, followed by your language buildpack.
Heroku now supports configuring multiple buildpacks natively, or you can use the heroku-buildpack-multi buildpack.
Add the following contents to
It is sometimes desirable to use
sqlnet.ora to configure how Oracle connects to a database or to use
sqlnet.ora to configure connection wallets.
sqlnet.ora files are often located in
This buildpack will correctly setup
$TNS_ADMIN to point to
A location for
sqlnet.ora can be configured inside the
cat .oracle.yml --- tnsnames.ora: config/tnsnames.ora sqlnet.ora: config/sqlnet.ora
The files will be symlinked into
You do not need
sqlnet.ora, they're both optional. The buildpack and some other buildpacks will work fine without them.
Copy the snippet above into CLI.