File tree 4 files changed +4
-4
lines changed
OracleDatabase/SingleInstance/dockerfiles 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ if [ "${ORACLE_SID}" = "XE" ]; then
151
151
export ORACLE_PWD=${ORACLE_PWD:- " $( openssl rand -hex 8) " }
152
152
153
153
# Set character set
154
- su -c " sed -i -e \" s|###ORACLE_CHARACTERSET###| $ORACLE_CHARACTERSET |g\" /etc/sysconfig/\" $CONF_FILE \" "
154
+ su -c " sed -i -e \" s|^CHARSET=.*$|CHARSET= $ORACLE_CHARACTERSET |g\" /etc/sysconfig/\" $CONF_FILE \" "
155
155
156
156
# Creating Database
157
157
su -c " /etc/init.d/oracle-xe-21c configure << EOF
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ LISTENER_PORT=1521
8
8
EM_EXPRESS_PORT=5500
9
9
10
10
# Character set of the database
11
- CHARSET=###ORACLE_CHARACTERSET###
11
+ CHARSET=AL32UTF8
12
12
13
13
# Database file directory
14
14
# If not specified, database files are stored under Oracle base/oradata
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ if [ "${ORACLE_SID}" = "FREE" ]; then
150
150
export ORACLE_PWD=${ORACLE_PWD:- " $( openssl rand -hex 8) " }
151
151
152
152
# Set character set
153
- su -c " sed -i -e \" s|###ORACLE_CHARACTERSET###| $ORACLE_CHARACTERSET |g\" /etc/sysconfig/\" $CONF_FILE \" "
153
+ su -c " sed -i -e \" s|^CHARSET=.*$|CHARSET= $ORACLE_CHARACTERSET |g\" /etc/sysconfig/\" $CONF_FILE \" "
154
154
155
155
# Creating Database
156
156
su -c " /etc/init.d/oracle-free-23c configure << EOF
Original file line number Diff line number Diff line change 5
5
LISTENER_PORT=1521
6
6
7
7
# Character set of the database
8
- CHARSET=###ORACLE_CHARACTERSET###
8
+ CHARSET=AL32UTF8
9
9
10
10
# Database file directory
11
11
# If not specified, database files are stored under Oracle base/oradata
You can’t perform that action at this time.
0 commit comments