{"action":"created","comment":{"url":"https://api.github.com/repos/ualbertalib/discovery/pulls/comments/241869853","pull_request_review_id":185258602,"id":241869853,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTg2OTg1Mw==","diff_hunk":"@@ -37,5 +37,6 @@ COPY --chown=app:app . $APP_ROOT\n \n # Precompile Rails assets.\n RUN RAILS_ENV=uat SECRET_KEY_BASE=pickasecuretoken bundle exec rake assets:precompile\n+RUN chown -R app:app .","path":"Dockerfile","position":4,"original_position":4,"commit_id":"617b982ea5adf033cbcf93cef858cf6719b5ea17","original_commit_id":"617b982ea5adf033cbcf93cef858cf6719b5ea17","user":{"login":"murny","id":1930474,"node_id":"MDQ6VXNlcjE5MzA0NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1930474?v=4","gravatar_id":"","url":"https://api.github.com/users/murny","html_url":"https://github.com/murny","followers_url":"https://api.github.com/users/murny/followers","following_url":"https://api.github.com/users/murny/following{/other_user}","gists_url":"https://api.github.com/users/murny/gists{/gist_id}","starred_url":"https://api.github.com/users/murny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murny/subscriptions","organizations_url":"https://api.github.com/users/murny/orgs","repos_url":"https://api.github.com/users/murny/repos","events_url":"https://api.github.com/users/murny/events{/privacy}","received_events_url":"https://api.github.com/users/murny/received_events","type":"User","site_admin":false},"body":"Probably the first one is best? You want to chown all the files, but we can just do all at once at the very end. Instead of doing it for each step","created_at":"2018-12-14T19:46:19Z","updated_at":"2018-12-14T19:46:19Z","html_url":"https://github.com/ualbertalib/discovery/pull/1429#discussion_r241869853","pull_request_url":"https://api.github.com/repos/ualbertalib/discovery/pulls/1429","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ualbertalib/discovery/pulls/comments/241869853"},"html":{"href":"https://github.com/ualbertalib/discovery/pull/1429#discussion_r241869853"},"pull_request":{"href":"https://api.github.com/repos/ualbertalib/discovery/pulls/1429"}},"in_reply_to_id":241862642},"pull_request":{"url":"https://api.github.com/repos/ualbertalib/discovery/pulls/1429","id":238533368,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4NTMzMzY4","html_url":"https://github.com/ualbertalib/discovery/pull/1429","diff_url":"https://github.com/ualbertalib/discovery/pull/1429.diff","patch_url":"https://github.com/ualbertalib/discovery/pull/1429.patch","issue_url":"https://api.github.com/repos/ualbertalib/discovery/issues/1429","number":1429,"state":"open","locked":false,"title":"solve permissions issue on log and tmp directory","user":{"login":"pgwillia","id":1220762,"node_id":"MDQ6VXNlcjEyMjA3NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/1220762?v=4","gravatar_id":"","url":"https://api.github.com/users/pgwillia","html_url":"https://github.com/pgwillia","followers_url":"https://api.github.com/users/pgwillia/followers","following_url":"https://api.github.com/users/pgwillia/following{/other_user}","gists_url":"https://api.github.com/users/pgwillia/gists{/gist_id}","starred_url":"https://api.github.com/users/pgwillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgwillia/subscriptions","organizations_url":"https://api.github.com/users/pgwillia/orgs","repos_url":"https://api.github.com/users/pgwillia/repos","events_url":"https://api.github.com/users/pgwillia/events{/privacy}","received_events_url":"https://api.github.com/users/pgwillia/received_events","type":"User","site_admin":false},"body":"`rake assets:precompile` in the Dockerfile was changing the owner of logs and tmp.  Same as https://github.com/phusion/passenger-docker/issues/143#issuecomment-234171238","created_at":"2018-12-13T21:11:12Z","updated_at":"2018-12-14T19:46:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45a0bbfdbe17f8bbfefde99d6fe99e7f5622c5b0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ualbertalib/discovery/pulls/1429/commits","review_comments_url":"https://api.github.com/repos/ualbertalib/discovery/pulls/1429/comments","review_comment_url":"https://api.github.com/repos/ualbertalib/discovery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ualbertalib/discovery/issues/1429/comments","statuses_url":"https://api.github.com/repos/ualbertalib/discovery/statuses/617b982ea5adf033cbcf93cef858cf6719b5ea17","head":{"label":"pgwillia:docker_log_permissions","ref":"docker_log_permissions","sha":"617b982ea5adf033cbcf93cef858cf6719b5ea17","user":{"login":"pgwillia","id":1220762,"node_id":"MDQ6VXNlcjEyMjA3NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/1220762?v=4","gravatar_id":"","url":"https://api.github.com/users/pgwillia","html_url":"https://github.com/pgwillia","followers_url":"https://api.github.com/users/pgwillia/followers","following_url":"https://api.github.com/users/pgwillia/following{/other_user}","gists_url":"https://api.github.com/users/pgwillia/gists{/gist_id}","starred_url":"https://api.github.com/users/pgwillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgwillia/subscriptions","organizations_url":"https://api.github.com/users/pgwillia/orgs","repos_url":"https://api.github.com/users/pgwillia/repos","events_url":"https://api.github.com/users/pgwillia/events{/privacy}","received_events_url":"https://api.github.com/users/pgwillia/received_events","type":"User","site_admin":false},"repo":{"id":131650711,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE2NTA3MTE=","name":"discovery","full_name":"pgwillia/discovery","private":false,"owner":{"login":"pgwillia","id":1220762,"node_id":"MDQ6VXNlcjEyMjA3NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/1220762?v=4","gravatar_id":"","url":"https://api.github.com/users/pgwillia","html_url":"https://github.com/pgwillia","followers_url":"https://api.github.com/users/pgwillia/followers","following_url":"https://api.github.com/users/pgwillia/following{/other_user}","gists_url":"https://api.github.com/users/pgwillia/gists{/gist_id}","starred_url":"https://api.github.com/users/pgwillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgwillia/subscriptions","organizations_url":"https://api.github.com/users/pgwillia/orgs","repos_url":"https://api.github.com/users/pgwillia/repos","events_url":"https://api.github.com/users/pgwillia/events{/privacy}","received_events_url":"https://api.github.com/users/pgwillia/received_events","type":"User","site_admin":false},"html_url":"https://github.com/pgwillia/discovery","description":"UAL Discovery project blacklight","fork":true,"url":"https://api.github.com/repos/pgwillia/discovery","forks_url":"https://api.github.com/repos/pgwillia/discovery/forks","keys_url":"https://api.github.com/repos/pgwillia/discovery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pgwillia/discovery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pgwillia/discovery/teams","hooks_url":"https://api.github.com/repos/pgwillia/discovery/hooks","issue_events_url":"https://api.github.com/repos/pgwillia/discovery/issues/events{/number}","events_url":"https://api.github.com/repos/pgwillia/discovery/events","assignees_url":"https://api.github.com/repos/pgwillia/discovery/assignees{/user}","branches_url":"https://api.github.com/repos/pgwillia/discovery/branches{/branch}","tags_url":"https://api.github.com/repos/pgwillia/discovery/tags","blobs_url":"https://api.github.com/repos/pgwillia/discovery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pgwillia/discovery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pgwillia/discovery/git/refs{/sha}","trees_url":"https://api.github.com/repos/pgwillia/discovery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pgwillia/discovery/statuses/{sha}","languages_url":"https://api.github.com/repos/pgwillia/discovery/languages","stargazers_url":"https://api.github.com/repos/pgwillia/discovery/stargazers","contributors_url":"https://api.github.com/repos/pgwillia/discovery/contributors","subscribers_url":"https://api.github.com/repos/pgwillia/discovery/subscribers","subscription_url":"https://api.github.com/repos/pgwillia/discovery/subscription","commits_url":"https://api.github.com/repos/pgwillia/discovery/commits{/sha}","git_commits_url":"https://api.github.com/repos/pgwillia/discovery/git/commits{/sha}","comments_url":"https://api.github.com/repos/pgwillia/discovery/comments{/number}","issue_comment_url":"https://api.github.com/repos/pgwillia/discovery/issues/comments{/number}","contents_url":"https://api.github.com/repos/pgwillia/discovery/contents/{+path}","compare_url":"https://api.github.com/repos/pgwillia/discovery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pgwillia/discovery/merges","archive_url":"https://api.github.com/repos/pgwillia/discovery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pgwillia/discovery/downloads","issues_url":"https://api.github.com/repos/pgwillia/discovery/issues{/number}","pulls_url":"https://api.github.com/repos/pgwillia/discovery/pulls{/number}","milestones_url":"https://api.github.com/repos/pgwillia/discovery/milestones{/number}","notifications_url":"https://api.github.com/repos/pgwillia/discovery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pgwillia/discovery/labels{/name}","releases_url":"https://api.github.com/repos/pgwillia/discovery/releases{/id}","deployments_url":"https://api.github.com/repos/pgwillia/discovery/deployments","created_at":"2018-04-30T21:58:03Z","updated_at":"2018-05-17T19:06:19Z","pushed_at":"2018-12-13T21:10:33Z","git_url":"git://github.com/pgwillia/discovery.git","ssh_url":"git@github.com:pgwillia/discovery.git","clone_url":"https://github.com/pgwillia/discovery.git","svn_url":"https://github.com/pgwillia/discovery","homepage":"","size":348861,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ualbertalib:master","ref":"master","sha":"477b836d3ee8244f47c57cff82ae8c0ceb726f31","user":{"login":"ualbertalib","id":2856757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTY3NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2856757?v=4","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"repo":{"id":17919669,"node_id":"MDEwOlJlcG9zaXRvcnkxNzkxOTY2OQ==","name":"discovery","full_name":"ualbertalib/discovery","private":false,"owner":{"login":"ualbertalib","id":2856757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTY3NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2856757?v=4","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ualbertalib/discovery","description":"Discovery is the University of Alberta Libraries' catalogue interface, built using Blacklight","fork":false,"url":"https://api.github.com/repos/ualbertalib/discovery","forks_url":"https://api.github.com/repos/ualbertalib/discovery/forks","keys_url":"https://api.github.com/repos/ualbertalib/discovery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ualbertalib/discovery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ualbertalib/discovery/teams","hooks_url":"https://api.github.com/repos/ualbertalib/discovery/hooks","issue_events_url":"https://api.github.com/repos/ualbertalib/discovery/issues/events{/number}","events_url":"https://api.github.com/repos/ualbertalib/discovery/events","assignees_url":"https://api.github.com/repos/ualbertalib/discovery/assignees{/user}","branches_url":"https://api.github.com/repos/ualbertalib/discovery/branches{/branch}","tags_url":"https://api.github.com/repos/ualbertalib/discovery/tags","blobs_url":"https://api.github.com/repos/ualbertalib/discovery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ualbertalib/discovery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ualbertalib/discovery/git/refs{/sha}","trees_url":"https://api.github.com/repos/ualbertalib/discovery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ualbertalib/discovery/statuses/{sha}","languages_url":"https://api.github.com/repos/ualbertalib/discovery/languages","stargazers_url":"https://api.github.com/repos/ualbertalib/discovery/stargazers","contributors_url":"https://api.github.com/repos/ualbertalib/discovery/contributors","subscribers_url":"https://api.github.com/repos/ualbertalib/discovery/subscribers","subscription_url":"https://api.github.com/repos/ualbertalib/discovery/subscription","commits_url":"https://api.github.com/repos/ualbertalib/discovery/commits{/sha}","git_commits_url":"https://api.github.com/repos/ualbertalib/discovery/git/commits{/sha}","comments_url":"https://api.github.com/repos/ualbertalib/discovery/comments{/number}","issue_comment_url":"https://api.github.com/repos/ualbertalib/discovery/issues/comments{/number}","contents_url":"https://api.github.com/repos/ualbertalib/discovery/contents/{+path}","compare_url":"https://api.github.com/repos/ualbertalib/discovery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ualbertalib/discovery/merges","archive_url":"https://api.github.com/repos/ualbertalib/discovery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ualbertalib/discovery/downloads","issues_url":"https://api.github.com/repos/ualbertalib/discovery/issues{/number}","pulls_url":"https://api.github.com/repos/ualbertalib/discovery/pulls{/number}","milestones_url":"https://api.github.com/repos/ualbertalib/discovery/milestones{/number}","notifications_url":"https://api.github.com/repos/ualbertalib/discovery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ualbertalib/discovery/labels{/name}","releases_url":"https://api.github.com/repos/ualbertalib/discovery/releases{/id}","deployments_url":"https://api.github.com/repos/ualbertalib/discovery/deployments","created_at":"2014-03-19T20:43:56Z","updated_at":"2018-12-14T19:18:54Z","pushed_at":"2018-12-14T19:36:00Z","git_url":"git://github.com/ualbertalib/discovery.git","ssh_url":"git@github.com:ualbertalib/discovery.git","clone_url":"https://github.com/ualbertalib/discovery.git","svn_url":"https://github.com/ualbertalib/discovery","homepage":"http://library.ualberta.ca","size":351876,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":140,"license":null,"forks":3,"open_issues":140,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ualbertalib/discovery/pulls/1429"},"html":{"href":"https://github.com/ualbertalib/discovery/pull/1429"},"issue":{"href":"https://api.github.com/repos/ualbertalib/discovery/issues/1429"},"comments":{"href":"https://api.github.com/repos/ualbertalib/discovery/issues/1429/comments"},"review_comments":{"href":"https://api.github.com/repos/ualbertalib/discovery/pulls/1429/comments"},"review_comment":{"href":"https://api.github.com/repos/ualbertalib/discovery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ualbertalib/discovery/pulls/1429/commits"},"statuses":{"href":"https://api.github.com/repos/ualbertalib/discovery/statuses/617b982ea5adf033cbcf93cef858cf6719b5ea17"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"murny"}}