{"action":"created","comment":{"url":"https://api.github.com/repos/docker-library/rabbitmq/pulls/comments/45282071","id":45282071,"diff_hunk":"@@ -1,6 +1,15 @@\n #!/bin/bash\n set -e\n \n+# If long & short hostnames are not the same, use long hostnames\n+if [ $(hostname) != $(hostname -s) ]; then","path":"docker-entrypoint.sh","position":5,"original_position":5,"commit_id":"0f23170b4264cd8d2f15190d752136b4dcc9039e","original_commit_id":"0f23170b4264cd8d2f15190d752136b4dcc9039e","user":{"login":"tianon","id":161631,"avatar_url":"https://avatars.githubusercontent.com/u/161631?v=3","gravatar_id":"","url":"https://api.github.com/users/tianon","html_url":"https://github.com/tianon","followers_url":"https://api.github.com/users/tianon/followers","following_url":"https://api.github.com/users/tianon/following{/other_user}","gists_url":"https://api.github.com/users/tianon/gists{/gist_id}","starred_url":"https://api.github.com/users/tianon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianon/subscriptions","organizations_url":"https://api.github.com/users/tianon/orgs","repos_url":"https://api.github.com/users/tianon/repos","events_url":"https://api.github.com/users/tianon/events{/privacy}","received_events_url":"https://api.github.com/users/tianon/received_events","type":"User","site_admin":false},"body":"Can you please quote both of these? ie, `if [ \"$(hostname)\" != \"$(hostname -s)\" ]; then`","created_at":"2015-11-19T00:12:20Z","updated_at":"2015-11-19T00:12:20Z","html_url":"https://github.com/docker-library/rabbitmq/pull/49#discussion_r45282071","pull_request_url":"https://api.github.com/repos/docker-library/rabbitmq/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/docker-library/rabbitmq/pulls/comments/45282071"},"html":{"href":"https://github.com/docker-library/rabbitmq/pull/49#discussion_r45282071"},"pull_request":{"href":"https://api.github.com/repos/docker-library/rabbitmq/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/docker-library/rabbitmq/pulls/49","id":49405999,"html_url":"https://github.com/docker-library/rabbitmq/pull/49","diff_url":"https://github.com/docker-library/rabbitmq/pull/49.diff","patch_url":"https://github.com/docker-library/rabbitmq/pull/49.patch","issue_url":"https://api.github.com/repos/docker-library/rabbitmq/issues/49","number":49,"state":"open","locked":false,"title":"SSL and FDN support","user":{"login":"vovanbo","id":877240,"avatar_url":"https://avatars.githubusercontent.com/u/877240?v=3","gravatar_id":"","url":"https://api.github.com/users/vovanbo","html_url":"https://github.com/vovanbo","followers_url":"https://api.github.com/users/vovanbo/followers","following_url":"https://api.github.com/users/vovanbo/following{/other_user}","gists_url":"https://api.github.com/users/vovanbo/gists{/gist_id}","starred_url":"https://api.github.com/users/vovanbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovanbo/subscriptions","organizations_url":"https://api.github.com/users/vovanbo/orgs","repos_url":"https://api.github.com/users/vovanbo/repos","events_url":"https://api.github.com/users/vovanbo/events{/privacy}","received_events_url":"https://api.github.com/users/vovanbo/received_events","type":"User","site_admin":false},"body":"This is \"cherrypick\" of SSL and FDN support from [alpine-rmq](https://github.com/gonkulator/alpine-rmq). Entrypoint is improved to support SSL configuration generation. Updated gosu to v1.6.\r\n\r\nNew environment variables:\r\n- RABBIT_SSL_CERT_FILE (`certfile`)\r\n- RABBIT_SSL_KEY_FILE (`keyfile`)\r\n- RABBIT_SSL_CA_FILE (`cacertfile`)\r\n- RABBIT_MANAGEMENT_ENABLED (flag used in Dockerfile with management plugin)","created_at":"2015-11-02T08:36:20Z","updated_at":"2015-11-19T00:12:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89fe29ed34541f03c20684f86d0af1832c72b745","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker-library/rabbitmq/pulls/49/commits","review_comments_url":"https://api.github.com/repos/docker-library/rabbitmq/pulls/49/comments","review_comment_url":"https://api.github.com/repos/docker-library/rabbitmq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker-library/rabbitmq/issues/49/comments","statuses_url":"https://api.github.com/repos/docker-library/rabbitmq/statuses/0f23170b4264cd8d2f15190d752136b4dcc9039e","head":{"label":"vovanbo:ssl-support","ref":"ssl-support","sha":"0f23170b4264cd8d2f15190d752136b4dcc9039e","user":{"login":"vovanbo","id":877240,"avatar_url":"https://avatars.githubusercontent.com/u/877240?v=3","gravatar_id":"","url":"https://api.github.com/users/vovanbo","html_url":"https://github.com/vovanbo","followers_url":"https://api.github.com/users/vovanbo/followers","following_url":"https://api.github.com/users/vovanbo/following{/other_user}","gists_url":"https://api.github.com/users/vovanbo/gists{/gist_id}","starred_url":"https://api.github.com/users/vovanbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovanbo/subscriptions","organizations_url":"https://api.github.com/users/vovanbo/orgs","repos_url":"https://api.github.com/users/vovanbo/repos","events_url":"https://api.github.com/users/vovanbo/events{/privacy}","received_events_url":"https://api.github.com/users/vovanbo/received_events","type":"User","site_admin":false},"repo":{"id":45343815,"name":"rabbitmq","full_name":"vovanbo/rabbitmq","owner":{"login":"vovanbo","id":877240,"avatar_url":"https://avatars.githubusercontent.com/u/877240?v=3","gravatar_id":"","url":"https://api.github.com/users/vovanbo","html_url":"https://github.com/vovanbo","followers_url":"https://api.github.com/users/vovanbo/followers","following_url":"https://api.github.com/users/vovanbo/following{/other_user}","gists_url":"https://api.github.com/users/vovanbo/gists{/gist_id}","starred_url":"https://api.github.com/users/vovanbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovanbo/subscriptions","organizations_url":"https://api.github.com/users/vovanbo/orgs","repos_url":"https://api.github.com/users/vovanbo/repos","events_url":"https://api.github.com/users/vovanbo/events{/privacy}","received_events_url":"https://api.github.com/users/vovanbo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vovanbo/rabbitmq","description":"Docker Official Image packaging for RabbitMQ","fork":true,"url":"https://api.github.com/repos/vovanbo/rabbitmq","forks_url":"https://api.github.com/repos/vovanbo/rabbitmq/forks","keys_url":"https://api.github.com/repos/vovanbo/rabbitmq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vovanbo/rabbitmq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vovanbo/rabbitmq/teams","hooks_url":"https://api.github.com/repos/vovanbo/rabbitmq/hooks","issue_events_url":"https://api.github.com/repos/vovanbo/rabbitmq/issues/events{/number}","events_url":"https://api.github.com/repos/vovanbo/rabbitmq/events","assignees_url":"https://api.github.com/repos/vovanbo/rabbitmq/assignees{/user}","branches_url":"https://api.github.com/repos/vovanbo/rabbitmq/branches{/branch}","tags_url":"https://api.github.com/repos/vovanbo/rabbitmq/tags","blobs_url":"https://api.github.com/repos/vovanbo/rabbitmq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vovanbo/rabbitmq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vovanbo/rabbitmq/git/refs{/sha}","trees_url":"https://api.github.com/repos/vovanbo/rabbitmq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vovanbo/rabbitmq/statuses/{sha}","languages_url":"https://api.github.com/repos/vovanbo/rabbitmq/languages","stargazers_url":"https://api.github.com/repos/vovanbo/rabbitmq/stargazers","contributors_url":"https://api.github.com/repos/vovanbo/rabbitmq/contributors","subscribers_url":"https://api.github.com/repos/vovanbo/rabbitmq/subscribers","subscription_url":"https://api.github.com/repos/vovanbo/rabbitmq/subscription","commits_url":"https://api.github.com/repos/vovanbo/rabbitmq/commits{/sha}","git_commits_url":"https://api.github.com/repos/vovanbo/rabbitmq/git/commits{/sha}","comments_url":"https://api.github.com/repos/vovanbo/rabbitmq/comments{/number}","issue_comment_url":"https://api.github.com/repos/vovanbo/rabbitmq/issues/comments{/number}","contents_url":"https://api.github.com/repos/vovanbo/rabbitmq/contents/{+path}","compare_url":"https://api.github.com/repos/vovanbo/rabbitmq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vovanbo/rabbitmq/merges","archive_url":"https://api.github.com/repos/vovanbo/rabbitmq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vovanbo/rabbitmq/downloads","issues_url":"https://api.github.com/repos/vovanbo/rabbitmq/issues{/number}","pulls_url":"https://api.github.com/repos/vovanbo/rabbitmq/pulls{/number}","milestones_url":"https://api.github.com/repos/vovanbo/rabbitmq/milestones{/number}","notifications_url":"https://api.github.com/repos/vovanbo/rabbitmq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vovanbo/rabbitmq/labels{/name}","releases_url":"https://api.github.com/repos/vovanbo/rabbitmq/releases{/id}","created_at":"2015-11-01T14:35:20Z","updated_at":"2015-11-01T14:35:21Z","pushed_at":"2015-11-06T08:24:07Z","git_url":"git://github.com/vovanbo/rabbitmq.git","ssh_url":"git@github.com:vovanbo/rabbitmq.git","clone_url":"https://github.com/vovanbo/rabbitmq.git","svn_url":"https://github.com/vovanbo/rabbitmq","homepage":"http://www.rabbitmq.com/","size":118,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker-library:master","ref":"master","sha":"e5547042de5883aac5d00ee5365bb216630f9f4d","user":{"login":"docker-library","id":7739233,"avatar_url":"https://avatars.githubusercontent.com/u/7739233?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-library","html_url":"https://github.com/docker-library","followers_url":"https://api.github.com/users/docker-library/followers","following_url":"https://api.github.com/users/docker-library/following{/other_user}","gists_url":"https://api.github.com/users/docker-library/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-library/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-library/subscriptions","organizations_url":"https://api.github.com/users/docker-library/orgs","repos_url":"https://api.github.com/users/docker-library/repos","events_url":"https://api.github.com/users/docker-library/events{/privacy}","received_events_url":"https://api.github.com/users/docker-library/received_events","type":"Organization","site_admin":false},"repo":{"id":27836599,"name":"rabbitmq","full_name":"docker-library/rabbitmq","owner":{"login":"docker-library","id":7739233,"avatar_url":"https://avatars.githubusercontent.com/u/7739233?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-library","html_url":"https://github.com/docker-library","followers_url":"https://api.github.com/users/docker-library/followers","following_url":"https://api.github.com/users/docker-library/following{/other_user}","gists_url":"https://api.github.com/users/docker-library/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-library/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-library/subscriptions","organizations_url":"https://api.github.com/users/docker-library/orgs","repos_url":"https://api.github.com/users/docker-library/repos","events_url":"https://api.github.com/users/docker-library/events{/privacy}","received_events_url":"https://api.github.com/users/docker-library/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker-library/rabbitmq","description":"Docker Official Image packaging for RabbitMQ","fork":false,"url":"https://api.github.com/repos/docker-library/rabbitmq","forks_url":"https://api.github.com/repos/docker-library/rabbitmq/forks","keys_url":"https://api.github.com/repos/docker-library/rabbitmq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker-library/rabbitmq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker-library/rabbitmq/teams","hooks_url":"https://api.github.com/repos/docker-library/rabbitmq/hooks","issue_events_url":"https://api.github.com/repos/docker-library/rabbitmq/issues/events{/number}","events_url":"https://api.github.com/repos/docker-library/rabbitmq/events","assignees_url":"https://api.github.com/repos/docker-library/rabbitmq/assignees{/user}","branches_url":"https://api.github.com/repos/docker-library/rabbitmq/branches{/branch}","tags_url":"https://api.github.com/repos/docker-library/rabbitmq/tags","blobs_url":"https://api.github.com/repos/docker-library/rabbitmq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker-library/rabbitmq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker-library/rabbitmq/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker-library/rabbitmq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker-library/rabbitmq/statuses/{sha}","languages_url":"https://api.github.com/repos/docker-library/rabbitmq/languages","stargazers_url":"https://api.github.com/repos/docker-library/rabbitmq/stargazers","contributors_url":"https://api.github.com/repos/docker-library/rabbitmq/contributors","subscribers_url":"https://api.github.com/repos/docker-library/rabbitmq/subscribers","subscription_url":"https://api.github.com/repos/docker-library/rabbitmq/subscription","commits_url":"https://api.github.com/repos/docker-library/rabbitmq/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker-library/rabbitmq/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker-library/rabbitmq/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker-library/rabbitmq/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker-library/rabbitmq/contents/{+path}","compare_url":"https://api.github.com/repos/docker-library/rabbitmq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker-library/rabbitmq/merges","archive_url":"https://api.github.com/repos/docker-library/rabbitmq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker-library/rabbitmq/downloads","issues_url":"https://api.github.com/repos/docker-library/rabbitmq/issues{/number}","pulls_url":"https://api.github.com/repos/docker-library/rabbitmq/pulls{/number}","milestones_url":"https://api.github.com/repos/docker-library/rabbitmq/milestones{/number}","notifications_url":"https://api.github.com/repos/docker-library/rabbitmq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker-library/rabbitmq/labels{/name}","releases_url":"https://api.github.com/repos/docker-library/rabbitmq/releases{/id}","created_at":"2014-12-10T19:45:16Z","updated_at":"2015-11-17T06:57:28Z","pushed_at":"2015-11-18T19:06:16Z","git_url":"git://github.com/docker-library/rabbitmq.git","ssh_url":"git@github.com:docker-library/rabbitmq.git","clone_url":"https://github.com/docker-library/rabbitmq.git","svn_url":"https://github.com/docker-library/rabbitmq","homepage":"http://www.rabbitmq.com/","size":56,"stargazers_count":23,"watchers_count":23,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":12,"forks":43,"open_issues":12,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker-library/rabbitmq/pulls/49"},"html":{"href":"https://github.com/docker-library/rabbitmq/pull/49"},"issue":{"href":"https://api.github.com/repos/docker-library/rabbitmq/issues/49"},"comments":{"href":"https://api.github.com/repos/docker-library/rabbitmq/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/docker-library/rabbitmq/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/docker-library/rabbitmq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker-library/rabbitmq/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/docker-library/rabbitmq/statuses/0f23170b4264cd8d2f15190d752136b4dcc9039e"}}}}