{"action":"created","comment":{"url":"https://api.github.com/repos/phase2/docker-keel/pulls/comments/136648001","pull_request_review_id":60221810,"id":136648001,"diff_hunk":"@@ -0,0 +1,15 @@\n+#!/bin/bash\n+\n+# This script is intended to pair with a docker-compose volume line\n+# like /data/project_dir/bash:/root/bash to result in persistent\n+# project restricted bash history preservation between build container\n+# invocations\n+\n+TRIGGER_DIR=~/bash\n+\n+if [ -e $TRIGGER_DIR ]; then\n+  if [ -e ~/.bash_history ]; then\n+    rm -f ~/.bash_history\n+  fi\n+  ln -sf $TRIGGER_DIR/.bash_history ~/.bash_history","path":"root/etc/profile.d/switch_bash_history.sh","position":14,"original_position":14,"commit_id":"780db46d8fa7a74e247c05d94aee21091eb63fad","original_commit_id":"780db46d8fa7a74e247c05d94aee21091eb63fad","user":{"login":"tekante","id":223075,"avatar_url":"https://avatars3.githubusercontent.com/u/223075?v=4","gravatar_id":"","url":"https://api.github.com/users/tekante","html_url":"https://github.com/tekante","followers_url":"https://api.github.com/users/tekante/followers","following_url":"https://api.github.com/users/tekante/following{/other_user}","gists_url":"https://api.github.com/users/tekante/gists{/gist_id}","starred_url":"https://api.github.com/users/tekante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tekante/subscriptions","organizations_url":"https://api.github.com/users/tekante/orgs","repos_url":"https://api.github.com/users/tekante/repos","events_url":"https://api.github.com/users/tekante/events{/privacy}","received_events_url":"https://api.github.com/users/tekante/received_events","type":"User","site_admin":false},"body":"Should we consider expanding this to all of the .bash items in the home directory? We'd likely want to copy over .bash_profile and .bashrc if they didn't exist in $TRIGGER_DIR rather than just link like we can with .bash_history.\r\n\r\nSpecifically I've found that I desire this when working with things like Acquia's BLT toolset which sets up a blt alias in .bash_profile as an alternative to PATH manipulations to get vendor/bin pulled in.","created_at":"2017-09-01T19:20:02Z","updated_at":"2017-09-01T19:20:02Z","html_url":"https://github.com/phase2/docker-keel/pull/1#discussion_r136648001","pull_request_url":"https://api.github.com/repos/phase2/docker-keel/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/phase2/docker-keel/pulls/comments/136648001"},"html":{"href":"https://github.com/phase2/docker-keel/pull/1#discussion_r136648001"},"pull_request":{"href":"https://api.github.com/repos/phase2/docker-keel/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/phase2/docker-keel/pulls/1","id":138789969,"html_url":"https://github.com/phase2/docker-keel/pull/1","diff_url":"https://github.com/phase2/docker-keel/pull/1.diff","patch_url":"https://github.com/phase2/docker-keel/pull/1.patch","issue_url":"https://api.github.com/repos/phase2/docker-keel/issues/1","number":1,"state":"open","locked":false,"title":"Add docker-keel.","user":{"login":"grayside","id":283489,"avatar_url":"https://avatars2.githubusercontent.com/u/283489?v=4","gravatar_id":"","url":"https://api.github.com/users/grayside","html_url":"https://github.com/grayside","followers_url":"https://api.github.com/users/grayside/followers","following_url":"https://api.github.com/users/grayside/following{/other_user}","gists_url":"https://api.github.com/users/grayside/gists{/gist_id}","starred_url":"https://api.github.com/users/grayside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grayside/subscriptions","organizations_url":"https://api.github.com/users/grayside/orgs","repos_url":"https://api.github.com/users/grayside/repos","events_url":"https://api.github.com/users/grayside/events{/privacy}","received_events_url":"https://api.github.com/users/grayside/received_events","type":"User","site_admin":false},"body":"Here's a first cut at a CLI base image. The build containers would be rebased onto this.","created_at":"2017-08-31T23:48:36Z","updated_at":"2017-09-01T19:20:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a811f93b69e0653b0fe1a0d704d23f4739ac9a1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/phase2/docker-keel/pulls/1/commits","review_comments_url":"https://api.github.com/repos/phase2/docker-keel/pulls/1/comments","review_comment_url":"https://api.github.com/repos/phase2/docker-keel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phase2/docker-keel/issues/1/comments","statuses_url":"https://api.github.com/repos/phase2/docker-keel/statuses/780db46d8fa7a74e247c05d94aee21091eb63fad","head":{"label":"phase2:keel","ref":"keel","sha":"780db46d8fa7a74e247c05d94aee21091eb63fad","user":{"login":"phase2","id":148441,"avatar_url":"https://avatars1.githubusercontent.com/u/148441?v=4","gravatar_id":"","url":"https://api.github.com/users/phase2","html_url":"https://github.com/phase2","followers_url":"https://api.github.com/users/phase2/followers","following_url":"https://api.github.com/users/phase2/following{/other_user}","gists_url":"https://api.github.com/users/phase2/gists{/gist_id}","starred_url":"https://api.github.com/users/phase2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase2/subscriptions","organizations_url":"https://api.github.com/users/phase2/orgs","repos_url":"https://api.github.com/users/phase2/repos","events_url":"https://api.github.com/users/phase2/events{/privacy}","received_events_url":"https://api.github.com/users/phase2/received_events","type":"Organization","site_admin":false},"repo":{"id":101823963,"name":"docker-keel","full_name":"phase2/docker-keel","owner":{"login":"phase2","id":148441,"avatar_url":"https://avatars1.githubusercontent.com/u/148441?v=4","gravatar_id":"","url":"https://api.github.com/users/phase2","html_url":"https://github.com/phase2","followers_url":"https://api.github.com/users/phase2/followers","following_url":"https://api.github.com/users/phase2/following{/other_user}","gists_url":"https://api.github.com/users/phase2/gists{/gist_id}","starred_url":"https://api.github.com/users/phase2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase2/subscriptions","organizations_url":"https://api.github.com/users/phase2/orgs","repos_url":"https://api.github.com/users/phase2/repos","events_url":"https://api.github.com/users/phase2/events{/privacy}","received_events_url":"https://api.github.com/users/phase2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phase2/docker-keel","description":"Foundational image on which to base cross-functional command-line containers.","fork":false,"url":"https://api.github.com/repos/phase2/docker-keel","forks_url":"https://api.github.com/repos/phase2/docker-keel/forks","keys_url":"https://api.github.com/repos/phase2/docker-keel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phase2/docker-keel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phase2/docker-keel/teams","hooks_url":"https://api.github.com/repos/phase2/docker-keel/hooks","issue_events_url":"https://api.github.com/repos/phase2/docker-keel/issues/events{/number}","events_url":"https://api.github.com/repos/phase2/docker-keel/events","assignees_url":"https://api.github.com/repos/phase2/docker-keel/assignees{/user}","branches_url":"https://api.github.com/repos/phase2/docker-keel/branches{/branch}","tags_url":"https://api.github.com/repos/phase2/docker-keel/tags","blobs_url":"https://api.github.com/repos/phase2/docker-keel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phase2/docker-keel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phase2/docker-keel/git/refs{/sha}","trees_url":"https://api.github.com/repos/phase2/docker-keel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phase2/docker-keel/statuses/{sha}","languages_url":"https://api.github.com/repos/phase2/docker-keel/languages","stargazers_url":"https://api.github.com/repos/phase2/docker-keel/stargazers","contributors_url":"https://api.github.com/repos/phase2/docker-keel/contributors","subscribers_url":"https://api.github.com/repos/phase2/docker-keel/subscribers","subscription_url":"https://api.github.com/repos/phase2/docker-keel/subscription","commits_url":"https://api.github.com/repos/phase2/docker-keel/commits{/sha}","git_commits_url":"https://api.github.com/repos/phase2/docker-keel/git/commits{/sha}","comments_url":"https://api.github.com/repos/phase2/docker-keel/comments{/number}","issue_comment_url":"https://api.github.com/repos/phase2/docker-keel/issues/comments{/number}","contents_url":"https://api.github.com/repos/phase2/docker-keel/contents/{+path}","compare_url":"https://api.github.com/repos/phase2/docker-keel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phase2/docker-keel/merges","archive_url":"https://api.github.com/repos/phase2/docker-keel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phase2/docker-keel/downloads","issues_url":"https://api.github.com/repos/phase2/docker-keel/issues{/number}","pulls_url":"https://api.github.com/repos/phase2/docker-keel/pulls{/number}","milestones_url":"https://api.github.com/repos/phase2/docker-keel/milestones{/number}","notifications_url":"https://api.github.com/repos/phase2/docker-keel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phase2/docker-keel/labels{/name}","releases_url":"https://api.github.com/repos/phase2/docker-keel/releases{/id}","deployments_url":"https://api.github.com/repos/phase2/docker-keel/deployments","created_at":"2017-08-30T01:32:47Z","updated_at":"2017-08-30T01:32:47Z","pushed_at":"2017-08-31T23:48:36Z","git_url":"git://github.com/phase2/docker-keel.git","ssh_url":"git@github.com:phase2/docker-keel.git","clone_url":"https://github.com/phase2/docker-keel.git","svn_url":"https://github.com/phase2/docker-keel","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"phase2:master","ref":"master","sha":"cbdbd7692a5054ec1c02ef87e3124a9e48c6ed07","user":{"login":"phase2","id":148441,"avatar_url":"https://avatars1.githubusercontent.com/u/148441?v=4","gravatar_id":"","url":"https://api.github.com/users/phase2","html_url":"https://github.com/phase2","followers_url":"https://api.github.com/users/phase2/followers","following_url":"https://api.github.com/users/phase2/following{/other_user}","gists_url":"https://api.github.com/users/phase2/gists{/gist_id}","starred_url":"https://api.github.com/users/phase2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase2/subscriptions","organizations_url":"https://api.github.com/users/phase2/orgs","repos_url":"https://api.github.com/users/phase2/repos","events_url":"https://api.github.com/users/phase2/events{/privacy}","received_events_url":"https://api.github.com/users/phase2/received_events","type":"Organization","site_admin":false},"repo":{"id":101823963,"name":"docker-keel","full_name":"phase2/docker-keel","owner":{"login":"phase2","id":148441,"avatar_url":"https://avatars1.githubusercontent.com/u/148441?v=4","gravatar_id":"","url":"https://api.github.com/users/phase2","html_url":"https://github.com/phase2","followers_url":"https://api.github.com/users/phase2/followers","following_url":"https://api.github.com/users/phase2/following{/other_user}","gists_url":"https://api.github.com/users/phase2/gists{/gist_id}","starred_url":"https://api.github.com/users/phase2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase2/subscriptions","organizations_url":"https://api.github.com/users/phase2/orgs","repos_url":"https://api.github.com/users/phase2/repos","events_url":"https://api.github.com/users/phase2/events{/privacy}","received_events_url":"https://api.github.com/users/phase2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phase2/docker-keel","description":"Foundational image on which to base cross-functional command-line containers.","fork":false,"url":"https://api.github.com/repos/phase2/docker-keel","forks_url":"https://api.github.com/repos/phase2/docker-keel/forks","keys_url":"https://api.github.com/repos/phase2/docker-keel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phase2/docker-keel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phase2/docker-keel/teams","hooks_url":"https://api.github.com/repos/phase2/docker-keel/hooks","issue_events_url":"https://api.github.com/repos/phase2/docker-keel/issues/events{/number}","events_url":"https://api.github.com/repos/phase2/docker-keel/events","assignees_url":"https://api.github.com/repos/phase2/docker-keel/assignees{/user}","branches_url":"https://api.github.com/repos/phase2/docker-keel/branches{/branch}","tags_url":"https://api.github.com/repos/phase2/docker-keel/tags","blobs_url":"https://api.github.com/repos/phase2/docker-keel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phase2/docker-keel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phase2/docker-keel/git/refs{/sha}","trees_url":"https://api.github.com/repos/phase2/docker-keel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phase2/docker-keel/statuses/{sha}","languages_url":"https://api.github.com/repos/phase2/docker-keel/languages","stargazers_url":"https://api.github.com/repos/phase2/docker-keel/stargazers","contributors_url":"https://api.github.com/repos/phase2/docker-keel/contributors","subscribers_url":"https://api.github.com/repos/phase2/docker-keel/subscribers","subscription_url":"https://api.github.com/repos/phase2/docker-keel/subscription","commits_url":"https://api.github.com/repos/phase2/docker-keel/commits{/sha}","git_commits_url":"https://api.github.com/repos/phase2/docker-keel/git/commits{/sha}","comments_url":"https://api.github.com/repos/phase2/docker-keel/comments{/number}","issue_comment_url":"https://api.github.com/repos/phase2/docker-keel/issues/comments{/number}","contents_url":"https://api.github.com/repos/phase2/docker-keel/contents/{+path}","compare_url":"https://api.github.com/repos/phase2/docker-keel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phase2/docker-keel/merges","archive_url":"https://api.github.com/repos/phase2/docker-keel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phase2/docker-keel/downloads","issues_url":"https://api.github.com/repos/phase2/docker-keel/issues{/number}","pulls_url":"https://api.github.com/repos/phase2/docker-keel/pulls{/number}","milestones_url":"https://api.github.com/repos/phase2/docker-keel/milestones{/number}","notifications_url":"https://api.github.com/repos/phase2/docker-keel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phase2/docker-keel/labels{/name}","releases_url":"https://api.github.com/repos/phase2/docker-keel/releases{/id}","deployments_url":"https://api.github.com/repos/phase2/docker-keel/deployments","created_at":"2017-08-30T01:32:47Z","updated_at":"2017-08-30T01:32:47Z","pushed_at":"2017-08-31T23:48:36Z","git_url":"git://github.com/phase2/docker-keel.git","ssh_url":"git@github.com:phase2/docker-keel.git","clone_url":"https://github.com/phase2/docker-keel.git","svn_url":"https://github.com/phase2/docker-keel","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phase2/docker-keel/pulls/1"},"html":{"href":"https://github.com/phase2/docker-keel/pull/1"},"issue":{"href":"https://api.github.com/repos/phase2/docker-keel/issues/1"},"comments":{"href":"https://api.github.com/repos/phase2/docker-keel/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/phase2/docker-keel/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/phase2/docker-keel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phase2/docker-keel/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/phase2/docker-keel/statuses/780db46d8fa7a74e247c05d94aee21091eb63fad"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tekante"}}