Skip to content

Instantly share code, notes, and snippets.

@drewwells
Created March 18, 2016 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drewwells/93401d4361336df6cec6 to your computer and use it in GitHub Desktop.
Save drewwells/93401d4361336df6cec6 to your computer and use it in GitHub Desktop.
containerdatabase diff
diff --git a/entrypoint.sh b/entrypoint.sh
index 246457d..d3303aa 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -34,7 +34,7 @@ case "$1" in
echo "Starting tnslsnr"
su oracle -c "/u01/app/oracle/product/12.1.0/xe/bin/tnslsnr &"
#create DB for SID: xe
- su oracle -c "$ORACLE_HOME/bin/dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname xe.oracle.docker -sid xe -responseFile NO_VALUE -characterSet AL32UTF8 -totalMemory $DBCA_TOTAL_MEMORY -emConfiguration LOCAL -pdbAdminPassword oracle -sysPassword oracle -systemPassword oracle"
+ su oracle -c "$ORACLE_HOME/bin/dbca -silent -createDatabase -createAsContainerDatabase true -templateName General_Purpose.dbc -gdbname xe.oracle.docker -sid xe -responseFile NO_VALUE -characterSet AL32UTF8 -totalMemory $DBCA_TOTAL_MEMORY -emConfiguration LOCAL -pdbAdminPassword oracle -sysPassword oracle -systemPassword oracle"
echo "Configuring Apex console"
cd $ORACLE_HOME/apex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment