File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -44,5 +44,8 @@ chmod +x /usr/sbin/startup.sh &&
44
44
# Remove installation files
45
45
rm -r /assets/
46
46
47
+ # Create initialization script folders
48
+ mkdir /docker-entrypoint-initdb.d
49
+ mkdir /docker-entrypoint-initdb.d.bak
47
50
48
51
exit $?
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
15
15
export PATH=$ORACLE_HOME /bin:$PATH
16
16
export ORACLE_SID=XE
17
17
18
+ echo " ALTER PROFILE DEFAULT LIMIT PASSWORD_VERIFY_FUNCTION NULL;" | sqlplus -s SYSTEM/oracle
19
+
18
20
if [ " $ORACLE_ALLOW_REMOTE " = true ]; then
19
21
echo " alter system disable restricted session;" | sqlplus -s SYSTEM/oracle
20
22
fi
@@ -27,3 +29,7 @@ for f in /docker-entrypoint-initdb.d/*; do
27
29
esac
28
30
echo
29
31
done
32
+
33
+ if [ " $( ls -A /docker-entrypoint-initdb.d) " ]; then
34
+ mv /docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d.bak
35
+ fi
You can’t perform that action at this time.
0 commit comments