Created
March 18, 2016 02:59
-
-
Save drewwells/93401d4361336df6cec6 to your computer and use it in GitHub Desktop.
containerdatabase diff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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