gvenzl / oci-oracle-free

Build scripts for Oracle Database FREE container/docker images
Apache License 2.0
129 stars 34 forks source link

ORACLE_HOME and sqlplus #60

Open beperev opened 2 weeks ago

beperev commented 2 weeks ago

Hi! I want to create a database from a sh script in a github repository which already includes gvenzl/oracle-free. Could you tell me where is the ORACLE_HOME path and sqlplus to execute the database creation instructions? Thank you!

gvenzl commented 6 days ago

Hey @beperev,

Thanks a lot for using these images!

The ORACLE_HOME is /opt/oracle/product/23ai/dbhomeFree, sqlplus is in $ORACLE_HOME/bin

The ORACLE_HOME environment variable is already set and so is PATH to include $ORACLE_HOME/bin. So you should be able to just invoke sqlplus in your shell script.