docker-images
docker-images copied to clipboard
ORACLE DATABASE Single Instance: cannot run a container with a customized character set in Oracle XE
cannot run a customized container character set in Oracle XE official version. In fact, I can see in createDB.sh file the following variable substitution:
su -c 'sed -i -e "s|###ORACLE_CHARACTERSET###|$ORACLE_CHARACTERSET|g" /etc/sysconfig/"$CONF_FILE"'
but in the conf_file for XE (oracle-xe-21c.conf as provided in Dockerfile.xe) there isn't the "###ORACLE_CHARACTERSET###" pattern. Instead there are only these two rows:
# Character set of the database
CHARSET=AL32UTF8
So, I suppose eather the createDB.sh file or the oracle-xe-21c.conf file should be fixed according to each other.
After doing so, I guess one can run a db with a customized character by setting this env variable -e ORACLE_CHARACTERSET=<some_encoding> in the docker run/podman run command.