Description
Is there any timeframe on when new dockerfiles will be generated to support building of oracle containerized databases with either oraclelinux8, or 9?
I have managed to update the existing dockerfiles to support oraclelinux8 by doing the following:
Change the BASE_IMAGE to oraclelinux:8-slim
Adding the following ENV in the dockerfile
CV_ASSUME_DISTID=OEL7.8
Updating the setupLinuxEnv.sh script to use microdnf instead of yum.
This allows the container image to build successfully. and I can run it and it builds a db and starts up as expected.
If I do the same things but instead set the BASE_IMAGE to oraclelinux:9-slim I get errors during the startup.
One error I receive is this:
/u01/app/oracle/product/19.0.0/dbhome_1/bin/platform_common: No such file or directory
after researching this it appears that there is a file that is not utilizing the ORACLE_HOME or ORACLE_BASE env variable, and is instead using a hard coded u01/app/xxxx path. I did not change the ORACLE_HOME or ORACLE_BASE values from the dockerfile.
I then tried to hack things so that in the setupLinuxEnv.sh script it would create a symbolic link in the u01 path to the /opt/oracle path. The end result with that was this error when attempting to startup the container.
[FATAL] [INS-00001] Unknown irrecoverable error
CAUSE: No additional information available.
ACTION: Refer to the logs or contact Oracle Support Services
SUMMARY:
| - [DBT-00006] The logging directory could not be created.
| - [DBT-00006] The logging directory could not be created.
Has anyone had any luck building a container with oraclelinux9 yet?