{"action":"created","issue":{"url":"https://api.github.com/repos/oracle/docker-images/issues/205","repository_url":"https://api.github.com/repos/oracle/docker-images","labels_url":"https://api.github.com/repos/oracle/docker-images/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/oracle/docker-images/issues/205/comments","events_url":"https://api.github.com/repos/oracle/docker-images/issues/205/events","html_url":"https://github.com/oracle/docker-images/issues/205","id":186871690,"number":205,"title":"Building containers on top of OracleDatabase","user":{"login":"x97mdr","id":103880,"avatar_url":"https://avatars.githubusercontent.com/u/103880?v=3","gravatar_id":"","url":"https://api.github.com/users/x97mdr","html_url":"https://github.com/x97mdr","followers_url":"https://api.github.com/users/x97mdr/followers","following_url":"https://api.github.com/users/x97mdr/following{/other_user}","gists_url":"https://api.github.com/users/x97mdr/gists{/gist_id}","starred_url":"https://api.github.com/users/x97mdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x97mdr/subscriptions","organizations_url":"https://api.github.com/users/x97mdr/orgs","repos_url":"https://api.github.com/users/x97mdr/repos","events_url":"https://api.github.com/users/x97mdr/events{/privacy}","received_events_url":"https://api.github.com/users/x97mdr/received_events","type":"User","site_admin":false},"labels":[{"id":416475433,"url":"https://api.github.com/repos/oracle/docker-images/labels/database","name":"database","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"gvenzl","id":4610293,"avatar_url":"https://avatars.githubusercontent.com/u/4610293?v=3","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,"avatar_url":"https://avatars.githubusercontent.com/u/4610293?v=3","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":7,"created_at":"2016-11-02T17:43:36Z","updated_at":"2016-11-04T15:59:45Z","closed_at":null,"body":"Hi,\r\n\r\nI'd like to use a Dockerfile to add data into the database of the oracle/database:12.1.0.2-ee container that I've built.  The idea is to have a container that has data pre-populated to allow developers to get up and running quickly.\r\n\r\nNote: we won't be using volumes, rather baking the sourced tables directly into the container image.\r\n\r\nHere is my dockerfile\r\n\r\n```\r\nFROM oracle/database:12.1.0.2-ee\r\nUSER oracle\r\nWORKDIR /home/oracle\r\nCOPY *.sql /home/oracle\r\nRUN setPassword.sh dummy\r\nRUN sqlplus sys/dummy//localhost:1521/$ORACLE_SID @script.sql\r\n```\r\n\r\nand the output ends with\r\n\r\n`/home/oracle/setPassword.sh: line 9: sqlplus: command not found\r\n`\r\n\r\nyet, if I execute bash on a running container, sqlplus is available?\r\n\r\nThoughts? Help?"},"comment":{"url":"https://api.github.com/repos/oracle/docker-images/issues/comments/258471943","html_url":"https://github.com/oracle/docker-images/issues/205#issuecomment-258471943","issue_url":"https://api.github.com/repos/oracle/docker-images/issues/205","id":258471943,"user":{"login":"gvenzl","id":4610293,"avatar_url":"https://avatars.githubusercontent.com/u/4610293?v=3","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},"created_at":"2016-11-04T15:59:45Z","updated_at":"2016-11-04T15:59:45Z","body":"While I fully understand the use case @x97mdr (the original build files were built for exactly that one) I would like to understand why using the volume is not an option for you.\r\nThe volume would achieve the very same goal of a quick startup time, all you have to do is to create the DB once.\r\n\r\nIs there a technical reason that I have overlooked or is it just a matter of making automation of integration testing simpler?\r\n\r\nHow are you getting on with your Dockerfile, btw?\r\n"}}
{"actor":{"display_login":"gvenzl"}}