File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,19 @@ export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
1515export PATH=$ORACLE_HOME /bin:$PATH
1616export ORACLE_SID=XE
1717
18- echo " ALTER PROFILE DEFAULT LIMIT PASSWORD_VERIFY_FUNCTION NULL;" | sqlplus -s SYSTEM/oracle
18+ if ! [ " $ORACLE_PASSWORD_VERIFY " = true ]; then
19+ echo " ALTER PROFILE DEFAULT LIMIT PASSWORD_VERIFY_FUNCTION NULL;" | sqlplus -s SYSTEM/oracle
20+ end
1921
2022if [ " $ORACLE_ALLOW_REMOTE " = true ]; then
2123 echo " alter system disable restricted session;" | sqlplus -s SYSTEM/oracle
2224fi
2325
26+ if [ " $ORACLE_DISABLE_ASYNCH_IO " = true ]; then
27+ echo " ALTER SYSTEM SET disk_asynch_io = FALSE SCOPE = SPFILE;" | sqlplus -s SYSTEM/oracle
28+ service oracle-xe restart
29+ fi
30+
2431for f in /docker-entrypoint-initdb.d/* ; do
2532 case " $f " in
2633 * .sh) echo " $0 : running $f " ; . " $f " ;;
You can’t perform that action at this time.
0 commit comments