MaksymBilenko / docker-oracle-12c

:whale: Docker image with Oracle Database 12c on board
Apache License 2.0
685 stars 288 forks source link

Copy /docker-entrypoint-initdb.d/ files before modyfing them. #87

Closed barchiesi closed 6 years ago

barchiesi commented 6 years ago

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.