{"action":"closed","issue":{"url":"https://api.github.com/repos/oracle/docker-images/issues/878","repository_url":"https://api.github.com/repos/oracle/docker-images","labels_url":"https://api.github.com/repos/oracle/docker-images/issues/878/labels{/name}","comments_url":"https://api.github.com/repos/oracle/docker-images/issues/878/comments","events_url":"https://api.github.com/repos/oracle/docker-images/issues/878/events","html_url":"https://github.com/oracle/docker-images/issues/878","id":324722195,"node_id":"MDU6SXNzdWUzMjQ3MjIxOTU=","number":878,"title":"Volumes for scripts/startup & scripts/setup not present Docker files","user":{"login":"jimzucker","id":14372687,"node_id":"MDQ6VXNlcjE0MzcyNjg3","avatar_url":"https://avatars1.githubusercontent.com/u/14372687?v=4","gravatar_id":"","url":"https://api.github.com/users/jimzucker","html_url":"https://github.com/jimzucker","followers_url":"https://api.github.com/users/jimzucker/followers","following_url":"https://api.github.com/users/jimzucker/following{/other_user}","gists_url":"https://api.github.com/users/jimzucker/gists{/gist_id}","starred_url":"https://api.github.com/users/jimzucker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimzucker/subscriptions","organizations_url":"https://api.github.com/users/jimzucker/orgs","repos_url":"https://api.github.com/users/jimzucker/repos","events_url":"https://api.github.com/users/jimzucker/events{/privacy}","received_events_url":"https://api.github.com/users/jimzucker/received_events","type":"User","site_admin":false},"labels":[{"id":416475433,"node_id":"MDU6TGFiZWw0MTY0NzU0MzM=","url":"https://api.github.com/repos/oracle/docker-images/labels/database","name":"database","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":{"login":"gvenzl","id":4610293,"node_id":"MDQ6VXNlcjQ2MTAyOTM=","avatar_url":"https://avatars0.githubusercontent.com/u/4610293?v=4","gravatar_id":"","url":"https://api.github.com/users/gvenzl","html_url":"https://github.com/gvenzl","followers_url":"https://api.github.com/users/gvenzl/followers","following_url":"https://api.github.com/users/gvenzl/following{/other_user}","gists_url":"https://api.github.com/users/gvenzl/gists{/gist_id}","starred_url":"https://api.github.com/users/gvenzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvenzl/subscriptions","organizations_url":"https://api.github.com/users/gvenzl/orgs","repos_url":"https://api.github.com/users/gvenzl/repos","events_url":"https://api.github.com/users/gvenzl/events{/privacy}","received_events_url":"https://api.github.com/users/gvenzl/received_events","type":"User","site_admin":false},"assignees":[{"login":"gvenzl","id":4610293,"node_id":"MDQ6VXNlcjQ2MTAyOTM=","avatar_url":"https://avatars0.githubusercontent.com/u/4610293?v=4","gravatar_id":"","url":"https://api.github.com/users/gvenzl","html_url":"https://github.com/gvenzl","followers_url":"https://api.github.com/users/gvenzl/followers","following_url":"https://api.github.com/users/gvenzl/following{/other_user}","gists_url":"https://api.github.com/users/gvenzl/gists{/gist_id}","starred_url":"https://api.github.com/users/gvenzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvenzl/subscriptions","organizations_url":"https://api.github.com/users/gvenzl/orgs","repos_url":"https://api.github.com/users/gvenzl/repos","events_url":"https://api.github.com/users/gvenzl/events{/privacy}","received_events_url":"https://api.github.com/users/gvenzl/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-05-20T16:33:33Z","updated_at":"2018-06-20T00:12:55Z","closed_at":"2018-06-20T00:12:54Z","author_association":"NONE","body":"The directories are missing in the docker compose and the volumes are missing for;\r\n   -v /opt/oracle/scripts/startup | /docker-entrypoint-initdb.d/startup\r\n   -v /opt/oracle/scripts/setup | /docker-entrypoint-initdb.d/setup\r\n\r\n==============================================================\r\n\r\nThe README.md documents these 4 mount points\r\n\r\n   -v /opt/oracle/scripts/startup | /docker-entrypoint-initdb.d/startup\r\n                  Optional: A volume with custom scripts to be run after database startup.\r\n                  For further details see the \"Running scripts after setup and on startup\" section below.\r\n   -v /opt/oracle/scripts/setup | /docker-entrypoint-initdb.d/setup\r\n                  Optional: A volume with custom scripts to be run after database setup.\r\n                  For further details see the \"Running scripts after setup and on startup\" section below.\r\n\r\n#But in the current image they are not available and directories are not created.\r\n\r\n➜  12.1.0.2 git:(oracle_ci) ✗ egrep VOL Dockerfile.*\r\nDockerfile.ee:VOLUME [\"$ORACLE_BASE/oradata\"]\r\nDockerfile.se2:VOLUME [\"$ORACLE_BASE/oradata\"]\r\n\r\n#The scripts reference them\r\nrunOracle.sh:  # Execute custom provided startup scripts\r\n\r\n➜  12.1.0.2 git:(oracle_ci) ✗ egrep 'setup' *.sh\r\nrunOracle.sh:  # Execute custom provided setup scripts\r\nrunOracle.sh:  $ORACLE_BASE/$USER_SCRIPTS_FILE $ORACLE_BASE/scripts/setup\r\nsetupLinuxEnv.sh:mkdir -p $ORACLE_BASE/scripts/setup && \\\r\n\r\n#there is a link created as described\r\n➜  12.1.0.2 git:(oracle_ci) ✗ egrep docker-entrypoint-initdb.d *.sh\r\nsetupLinuxEnv.sh:ln -s $ORACLE_BASE/scripts /docker-entrypoint-initdb.d && \\\r\n"}}
{"actor":{"display_login":"gvenzl"}}