When running entrypoint.sh, the /docker-entrypoint-initdb.d/ is chowned to oracle:dba to prevent owner issues. If that folder is mounted from host, the owner change is annoying.
This patch addresses the issue by copying the contents of the folder to a temporary folder and using that instead.
When running
entrypoint.sh
, the/docker-entrypoint-initdb.d/
is chowned to oracle:dba to prevent owner issues. If that folder is mounted from host, the owner change is annoying. This patch addresses the issue by copying the contents of the folder to a temporary folder and using that instead.