{"action":"created","comment":{"url":"https://api.github.com/repos/docker-library/golang/pulls/comments/37213811","id":37213811,"diff_hunk":"@@ -7,17 +7,19 @@ RUN apt-get update && apt-get install -y \\\n \t&& rm -rf /var/lib/apt/lists/*\n \n ENV GOLANG_VERSION 1.4.2\n+ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz\n+ENV GOLANG_DOWNLOAD_SHA1 6fede71082a2f57c13f2521ecd054b86ae77d0e5\n \n-RUN curl -sSL https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz \\\n-\t\t| tar -v -C /usr/src -xz\n+RUN mkdir -p /usr/src/golang \\\n+\t&& curl -sSL \"$GOLANG_DOWNLOAD_URL\" -o golang.tar.gz \\\n+\t&& echo \"$GOLANG_DOWNLOAD_SHA1 golang.tar.gz\" | sha1sum -c - \\","path":"1.4/wheezy/Dockerfile","position":11,"original_position":11,"commit_id":"bfc6952f31fdda24f16d0b9217a1c40e77bb3447","original_commit_id":"bfc6952f31fdda24f16d0b9217a1c40e77bb3447","user":{"login":"mattrobenolt","id":375744,"avatar_url":"https://avatars.githubusercontent.com/u/375744?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrobenolt","html_url":"https://github.com/mattrobenolt","followers_url":"https://api.github.com/users/mattrobenolt/followers","following_url":"https://api.github.com/users/mattrobenolt/following{/other_user}","gists_url":"https://api.github.com/users/mattrobenolt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrobenolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrobenolt/subscriptions","organizations_url":"https://api.github.com/users/mattrobenolt/orgs","repos_url":"https://api.github.com/users/mattrobenolt/repos","events_url":"https://api.github.com/users/mattrobenolt/events{/privacy}","received_events_url":"https://api.github.com/users/mattrobenolt/received_events","type":"User","site_admin":false},"body":"Any idea why these don't work on wheezy builds? I get:\r\n\r\n```\r\nsha1sum: standard input: no properly formatted SHA1 checksum lines found\r\n```","created_at":"2015-08-17T17:37:46Z","updated_at":"2015-08-17T17:37:46Z","html_url":"https://github.com/docker-library/golang/pull/53#discussion_r37213811","pull_request_url":"https://api.github.com/repos/docker-library/golang/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/docker-library/golang/pulls/comments/37213811"},"html":{"href":"https://github.com/docker-library/golang/pull/53#discussion_r37213811"},"pull_request":{"href":"https://api.github.com/repos/docker-library/golang/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/docker-library/golang/pulls/53","id":40306076,"html_url":"https://github.com/docker-library/golang/pull/53","diff_url":"https://github.com/docker-library/golang/pull/53.diff","patch_url":"https://github.com/docker-library/golang/pull/53.patch","issue_url":"https://api.github.com/repos/docker-library/golang/issues/53","number":53,"state":"open","locked":false,"title":"verify the golang tarball against it's expected sha1","user":{"login":"mattrobenolt","id":375744,"avatar_url":"https://avatars.githubusercontent.com/u/375744?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrobenolt","html_url":"https://github.com/mattrobenolt","followers_url":"https://api.github.com/users/mattrobenolt/followers","following_url":"https://api.github.com/users/mattrobenolt/following{/other_user}","gists_url":"https://api.github.com/users/mattrobenolt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrobenolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrobenolt/subscriptions","organizations_url":"https://api.github.com/users/mattrobenolt/orgs","repos_url":"https://api.github.com/users/mattrobenolt/repos","events_url":"https://api.github.com/users/mattrobenolt/events{/privacy}","received_events_url":"https://api.github.com/users/mattrobenolt/received_events","type":"User","site_admin":false},"body":"```\r\n$ docker build --rm -t golang .\r\nSending build context to Docker daemon 7.168 kB\r\nSending build context to Docker daemon\r\nStep 0 : FROM buildpack-deps:jessie-scm\r\n ---> 607e965985c1\r\nStep 1 : RUN apt-get update && apt-get install -y \t\tgcc libc6-dev make \t\t--no-install-recommends \t&& rm -rf /var/lib/apt/lists/*\r\n ---> Using cache\r\n ---> 0f5121dd42a6\r\nStep 2 : ENV GOLANG_VERSION 1.5beta2\r\n ---> Using cache\r\n ---> c92528fb03b2\r\nStep 3 : ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz\r\n ---> Using cache\r\n ---> 34a0f184ce3a\r\nStep 4 : ENV GOLANG_DOWNLOAD_SHA1 6fede71082a2f57c13f2521ecd054b86ae77d0e5\r\n ---> Using cache\r\n ---> 35f4ff2e25d0\r\nStep 5 : RUN mkdir -p /usr/src/golang     && curl -sSL \"$GOLANG_DOWNLOAD_URL\" -o golang.tar.gz     && echo \"$GOLANG_DOWNLOAD_SHA1 golang.tar.gz\" | sha1sum -c - \t&& tar -v -C /usr/local -xzf golang.tar.gz     && rm -r /usr/src/golang\r\n ---> Using cache\r\n ---> f678c7bc4b61\r\nStep 6 : ENV GOPATH /go\r\n ---> Using cache\r\n ---> 66fbc26058fc\r\nStep 7 : ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH\r\n ---> Using cache\r\n ---> b0ea28e5efe0\r\nStep 8 : RUN mkdir -p \"$GOPATH/src\" \"$GOPATH/bin\" && chmod -R 777 \"$GOPATH\"\r\n ---> Using cache\r\n ---> e34211001826\r\nStep 9 : WORKDIR $GOPATH\r\n ---> Using cache\r\n ---> e42cd8beeb89\r\nStep 10 : COPY go-wrapper /usr/local/bin/\r\n ---> Using cache\r\n ---> 5d5d929f9960\r\nSuccessfully built 5d5d929f9960\r\n```\r\n```\r\n$ docker run --rm golang go version\r\ngo version go1.5beta2 linux/amd64\r\n```\r\n\r\nI wasn't sure if it was worth adding this to all the previous versions. I assumed just going forward with 1.5 was sufficient. Lemme know if you want me to add this to all the others.\r\n\r\nFixes #47\r\n\r\n:tada:","created_at":"2015-07-19T10:05:00Z","updated_at":"2015-08-17T17:37:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53b8e2b058279e81d4f59f9136075d8993431284","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker-library/golang/pulls/53/commits","review_comments_url":"https://api.github.com/repos/docker-library/golang/pulls/53/comments","review_comment_url":"https://api.github.com/repos/docker-library/golang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker-library/golang/issues/53/comments","statuses_url":"https://api.github.com/repos/docker-library/golang/statuses/bfc6952f31fdda24f16d0b9217a1c40e77bb3447","head":{"label":"mattrobenolt:verify","ref":"verify","sha":"bfc6952f31fdda24f16d0b9217a1c40e77bb3447","user":{"login":"mattrobenolt","id":375744,"avatar_url":"https://avatars.githubusercontent.com/u/375744?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrobenolt","html_url":"https://github.com/mattrobenolt","followers_url":"https://api.github.com/users/mattrobenolt/followers","following_url":"https://api.github.com/users/mattrobenolt/following{/other_user}","gists_url":"https://api.github.com/users/mattrobenolt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrobenolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrobenolt/subscriptions","organizations_url":"https://api.github.com/users/mattrobenolt/orgs","repos_url":"https://api.github.com/users/mattrobenolt/repos","events_url":"https://api.github.com/users/mattrobenolt/events{/privacy}","received_events_url":"https://api.github.com/users/mattrobenolt/received_events","type":"User","site_admin":false},"repo":{"id":39329590,"name":"golang","full_name":"mattrobenolt/golang","owner":{"login":"mattrobenolt","id":375744,"avatar_url":"https://avatars.githubusercontent.com/u/375744?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrobenolt","html_url":"https://github.com/mattrobenolt","followers_url":"https://api.github.com/users/mattrobenolt/followers","following_url":"https://api.github.com/users/mattrobenolt/following{/other_user}","gists_url":"https://api.github.com/users/mattrobenolt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrobenolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrobenolt/subscriptions","organizations_url":"https://api.github.com/users/mattrobenolt/orgs","repos_url":"https://api.github.com/users/mattrobenolt/repos","events_url":"https://api.github.com/users/mattrobenolt/events{/privacy}","received_events_url":"https://api.github.com/users/mattrobenolt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattrobenolt/golang","description":"Docker Official Image packaging for golang","fork":true,"url":"https://api.github.com/repos/mattrobenolt/golang","forks_url":"https://api.github.com/repos/mattrobenolt/golang/forks","keys_url":"https://api.github.com/repos/mattrobenolt/golang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattrobenolt/golang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattrobenolt/golang/teams","hooks_url":"https://api.github.com/repos/mattrobenolt/golang/hooks","issue_events_url":"https://api.github.com/repos/mattrobenolt/golang/issues/events{/number}","events_url":"https://api.github.com/repos/mattrobenolt/golang/events","assignees_url":"https://api.github.com/repos/mattrobenolt/golang/assignees{/user}","branches_url":"https://api.github.com/repos/mattrobenolt/golang/branches{/branch}","tags_url":"https://api.github.com/repos/mattrobenolt/golang/tags","blobs_url":"https://api.github.com/repos/mattrobenolt/golang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattrobenolt/golang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattrobenolt/golang/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattrobenolt/golang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattrobenolt/golang/statuses/{sha}","languages_url":"https://api.github.com/repos/mattrobenolt/golang/languages","stargazers_url":"https://api.github.com/repos/mattrobenolt/golang/stargazers","contributors_url":"https://api.github.com/repos/mattrobenolt/golang/contributors","subscribers_url":"https://api.github.com/repos/mattrobenolt/golang/subscribers","subscription_url":"https://api.github.com/repos/mattrobenolt/golang/subscription","commits_url":"https://api.github.com/repos/mattrobenolt/golang/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattrobenolt/golang/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattrobenolt/golang/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattrobenolt/golang/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattrobenolt/golang/contents/{+path}","compare_url":"https://api.github.com/repos/mattrobenolt/golang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattrobenolt/golang/merges","archive_url":"https://api.github.com/repos/mattrobenolt/golang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattrobenolt/golang/downloads","issues_url":"https://api.github.com/repos/mattrobenolt/golang/issues{/number}","pulls_url":"https://api.github.com/repos/mattrobenolt/golang/pulls{/number}","milestones_url":"https://api.github.com/repos/mattrobenolt/golang/milestones{/number}","notifications_url":"https://api.github.com/repos/mattrobenolt/golang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattrobenolt/golang/labels{/name}","releases_url":"https://api.github.com/repos/mattrobenolt/golang/releases{/id}","created_at":"2015-07-19T10:01:58Z","updated_at":"2015-07-19T10:01:59Z","pushed_at":"2015-08-17T17:33:27Z","git_url":"git://github.com/mattrobenolt/golang.git","ssh_url":"git@github.com:mattrobenolt/golang.git","clone_url":"https://github.com/mattrobenolt/golang.git","svn_url":"https://github.com/mattrobenolt/golang","homepage":"https://golang.org","size":122,"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":"88de3a60a8d7f085caf75e6c75d93baa68210468","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":22478116,"name":"golang","full_name":"docker-library/golang","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/golang","description":"Docker Official Image packaging for golang","fork":false,"url":"https://api.github.com/repos/docker-library/golang","forks_url":"https://api.github.com/repos/docker-library/golang/forks","keys_url":"https://api.github.com/repos/docker-library/golang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker-library/golang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker-library/golang/teams","hooks_url":"https://api.github.com/repos/docker-library/golang/hooks","issue_events_url":"https://api.github.com/repos/docker-library/golang/issues/events{/number}","events_url":"https://api.github.com/repos/docker-library/golang/events","assignees_url":"https://api.github.com/repos/docker-library/golang/assignees{/user}","branches_url":"https://api.github.com/repos/docker-library/golang/branches{/branch}","tags_url":"https://api.github.com/repos/docker-library/golang/tags","blobs_url":"https://api.github.com/repos/docker-library/golang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker-library/golang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker-library/golang/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker-library/golang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker-library/golang/statuses/{sha}","languages_url":"https://api.github.com/repos/docker-library/golang/languages","stargazers_url":"https://api.github.com/repos/docker-library/golang/stargazers","contributors_url":"https://api.github.com/repos/docker-library/golang/contributors","subscribers_url":"https://api.github.com/repos/docker-library/golang/subscribers","subscription_url":"https://api.github.com/repos/docker-library/golang/subscription","commits_url":"https://api.github.com/repos/docker-library/golang/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker-library/golang/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker-library/golang/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker-library/golang/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker-library/golang/contents/{+path}","compare_url":"https://api.github.com/repos/docker-library/golang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker-library/golang/merges","archive_url":"https://api.github.com/repos/docker-library/golang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker-library/golang/downloads","issues_url":"https://api.github.com/repos/docker-library/golang/issues{/number}","pulls_url":"https://api.github.com/repos/docker-library/golang/pulls{/number}","milestones_url":"https://api.github.com/repos/docker-library/golang/milestones{/number}","notifications_url":"https://api.github.com/repos/docker-library/golang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker-library/golang/labels{/name}","releases_url":"https://api.github.com/repos/docker-library/golang/releases{/id}","created_at":"2014-07-31T17:20:41Z","updated_at":"2015-08-14T08:43:15Z","pushed_at":"2015-08-17T17:33:27Z","git_url":"git://github.com/docker-library/golang.git","ssh_url":"git@github.com:docker-library/golang.git","clone_url":"https://github.com/docker-library/golang.git","svn_url":"https://github.com/docker-library/golang","homepage":"https://golang.org","size":458,"stargazers_count":86,"watchers_count":86,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":11,"forks":43,"open_issues":11,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker-library/golang/pulls/53"},"html":{"href":"https://github.com/docker-library/golang/pull/53"},"issue":{"href":"https://api.github.com/repos/docker-library/golang/issues/53"},"comments":{"href":"https://api.github.com/repos/docker-library/golang/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/docker-library/golang/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/docker-library/golang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker-library/golang/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/docker-library/golang/statuses/bfc6952f31fdda24f16d0b9217a1c40e77bb3447"}}}}