{"action":"opened","number":1983,"pull_request":{"url":"https://api.github.com/repos/google/cadvisor/pulls/1983","id":197941714,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3OTQxNzE0","html_url":"https://github.com/google/cadvisor/pull/1983","diff_url":"https://github.com/google/cadvisor/pull/1983.diff","patch_url":"https://github.com/google/cadvisor/pull/1983.patch","issue_url":"https://api.github.com/repos/google/cadvisor/issues/1983","number":1983,"state":"open","locked":false,"title":"fix: ./deploy/build.sh can not find Dockerfile","user":{"login":"moooofly","id":7439290,"node_id":"MDQ6VXNlcjc0MzkyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/7439290?v=4","gravatar_id":"","url":"https://api.github.com/users/moooofly","html_url":"https://github.com/moooofly","followers_url":"https://api.github.com/users/moooofly/followers","following_url":"https://api.github.com/users/moooofly/following{/other_user}","gists_url":"https://api.github.com/users/moooofly/gists{/gist_id}","starred_url":"https://api.github.com/users/moooofly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moooofly/subscriptions","organizations_url":"https://api.github.com/users/moooofly/orgs","repos_url":"https://api.github.com/users/moooofly/repos","events_url":"https://api.github.com/users/moooofly/events{/privacy}","received_events_url":"https://api.github.com/users/moooofly/received_events","type":"User","site_admin":false},"body":"\r\n- `git clone` from master branch latest commit (b1535b8)\r\n- `./deploy/build.sh` failed\r\n\r\n```\r\n[#15#root@ubuntu-1604 /go/src/github.com/moooofly/cadvisor]$./deploy/build.sh\r\n+ make build\r\n>> building assets\r\n>> building binaries\r\n>> building cadvisor\r\n+ docker build -t google/cadvisor:beta .\r\nunable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /go/src/github.com/moooofly/cadvisor/Dockerfile: no such file or directory\r\n[#16#root@ubuntu-1604 /go/src/github.com/moooofly/cadvisor]$\r\n```\r\n\r\n- fix by adding `-f $(dirname $0)/Dockerfile`\r\n\r\n```\r\n[#16#root@ubuntu-1604 /go/src/github.com/moooofly/cadvisor]$vi ./deploy/build.sh\r\n[#17#root@ubuntu-1604 /go/src/github.com/moooofly/cadvisor]$\r\n[#17#root@ubuntu-1604 /go/src/github.com/moooofly/cadvisor]$git diff\r\ndiff --git a/deploy/build.sh b/deploy/build.sh\r\nindex 4869ee0..a5657cd 100755\r\n--- a/deploy/build.sh\r\n+++ b/deploy/build.sh\r\n@@ -19,4 +19,4 @@ set -x\r\n\r\n make build\r\n\r\n-docker build -t google/cadvisor:beta .\r\n+docker build -t google/cadvisor:beta -f $(dirname $0)/Dockerfile .\r\n[#18#root@ubuntu-1604 /go/src/github.com/moooofly/cadvisor]$\r\n```\r\n\r\n- works fine to me.\r\n\r\n```\r\n[#18#root@ubuntu-1604 /go/src/github.com/moooofly/cadvisor]$./deploy/build.sh\r\n+ make build\r\n>> building assets\r\n>> building binaries\r\n>> building cadvisor\r\n+ docker build -t google/cadvisor:beta -f deploy/Dockerfile .\r\nSending build context to Docker daemon   74.3MB\r\nStep 1/7 : FROM alpine:3.7\r\n ---> 3fd9065eaf02\r\nStep 2/7 : MAINTAINER dengnan@google.com vmarmol@google.com vishnuk@google.com jimmidyson@gmail.com stclair@google.com\r\n ---> Using cache\r\n ---> a92175d342a6\r\nStep 3/7 : ENV GLIBC_VERSION \"2.27-r0\"\r\n ---> Using cache\r\n ---> bc822a9e7e8c\r\nStep 4/7 : RUN apk --no-cache add ca-certificates wget device-mapper findutils &&     apk --no-cache add zfs --repository http://dl-3.alpinelinux.org/alpine/edge/main/ &&     apk --no-cache add thin-provisioning-tools --repository http://dl-3.alpinelinux.org/alpine/edge/main/ &&     wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://raw.githubusercontent.com/sgerrand/alpine-pkg-glibc/master/sgerrand.rsa.pub &&     wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk &&     wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-bin-${GLIBC_VERSION}.apk &&     apk add glibc-${GLIBC_VERSION}.apk glibc-bin-${GLIBC_VERSION}.apk &&     /usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib &&     echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf &&     rm -rf /var/cache/apk/*\r\n ---> Using cache\r\n ---> 2ced18032556\r\nStep 5/7 : ADD cadvisor /usr/bin/cadvisor\r\n ---> df83d9714cc7\r\nStep 6/7 : EXPOSE 8080\r\n ---> Running in 2c4da1dbfd72\r\nRemoving intermediate container 2c4da1dbfd72\r\n ---> d440afb468ed\r\nStep 7/7 : ENTRYPOINT [\"/usr/bin/cadvisor\", \"-logtostderr\"]\r\n ---> Running in 67e5369d0f2e\r\nRemoving intermediate container 67e5369d0f2e\r\n ---> 23322fdd7de5\r\nSuccessfully built 23322fdd7de5\r\nSuccessfully tagged google/cadvisor:beta\r\n[#19#root@ubuntu-1604 /go/src/github.com/moooofly/cadvisor]$\r\n[#19#root@ubuntu-1604 /go/src/github.com/moooofly/cadvisor]$docker images google/cadvisor\r\nREPOSITORY          TAG                 IMAGE ID            CREATED             SIZE\r\ngoogle/cadvisor     beta                23322fdd7de5        14 seconds ago      64MB\r\ngoogle/cadvisor     latest              75f88e3ec333        6 months ago        62.2MB\r\n[#20#root@ubuntu-1604 /go/src/github.com/moooofly/cadvisor]$\r\n```","created_at":"2018-06-28T07:36:55Z","updated_at":"2018-06-28T07:36:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/cadvisor/pulls/1983/commits","review_comments_url":"https://api.github.com/repos/google/cadvisor/pulls/1983/comments","review_comment_url":"https://api.github.com/repos/google/cadvisor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/cadvisor/issues/1983/comments","statuses_url":"https://api.github.com/repos/google/cadvisor/statuses/f760e2b4d6f97b354333eec1a12e8b26170632b2","head":{"label":"moooofly:develop","ref":"develop","sha":"f760e2b4d6f97b354333eec1a12e8b26170632b2","user":{"login":"moooofly","id":7439290,"node_id":"MDQ6VXNlcjc0MzkyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/7439290?v=4","gravatar_id":"","url":"https://api.github.com/users/moooofly","html_url":"https://github.com/moooofly","followers_url":"https://api.github.com/users/moooofly/followers","following_url":"https://api.github.com/users/moooofly/following{/other_user}","gists_url":"https://api.github.com/users/moooofly/gists{/gist_id}","starred_url":"https://api.github.com/users/moooofly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moooofly/subscriptions","organizations_url":"https://api.github.com/users/moooofly/orgs","repos_url":"https://api.github.com/users/moooofly/repos","events_url":"https://api.github.com/users/moooofly/events{/privacy}","received_events_url":"https://api.github.com/users/moooofly/received_events","type":"User","site_admin":false},"repo":{"id":138980622,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg5ODA2MjI=","name":"cadvisor","full_name":"moooofly/cadvisor","owner":{"login":"moooofly","id":7439290,"node_id":"MDQ6VXNlcjc0MzkyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/7439290?v=4","gravatar_id":"","url":"https://api.github.com/users/moooofly","html_url":"https://github.com/moooofly","followers_url":"https://api.github.com/users/moooofly/followers","following_url":"https://api.github.com/users/moooofly/following{/other_user}","gists_url":"https://api.github.com/users/moooofly/gists{/gist_id}","starred_url":"https://api.github.com/users/moooofly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moooofly/subscriptions","organizations_url":"https://api.github.com/users/moooofly/orgs","repos_url":"https://api.github.com/users/moooofly/repos","events_url":"https://api.github.com/users/moooofly/events{/privacy}","received_events_url":"https://api.github.com/users/moooofly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moooofly/cadvisor","description":"Analyzes resource usage and performance characteristics of running containers.","fork":true,"url":"https://api.github.com/repos/moooofly/cadvisor","forks_url":"https://api.github.com/repos/moooofly/cadvisor/forks","keys_url":"https://api.github.com/repos/moooofly/cadvisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moooofly/cadvisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moooofly/cadvisor/teams","hooks_url":"https://api.github.com/repos/moooofly/cadvisor/hooks","issue_events_url":"https://api.github.com/repos/moooofly/cadvisor/issues/events{/number}","events_url":"https://api.github.com/repos/moooofly/cadvisor/events","assignees_url":"https://api.github.com/repos/moooofly/cadvisor/assignees{/user}","branches_url":"https://api.github.com/repos/moooofly/cadvisor/branches{/branch}","tags_url":"https://api.github.com/repos/moooofly/cadvisor/tags","blobs_url":"https://api.github.com/repos/moooofly/cadvisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moooofly/cadvisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moooofly/cadvisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/moooofly/cadvisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moooofly/cadvisor/statuses/{sha}","languages_url":"https://api.github.com/repos/moooofly/cadvisor/languages","stargazers_url":"https://api.github.com/repos/moooofly/cadvisor/stargazers","contributors_url":"https://api.github.com/repos/moooofly/cadvisor/contributors","subscribers_url":"https://api.github.com/repos/moooofly/cadvisor/subscribers","subscription_url":"https://api.github.com/repos/moooofly/cadvisor/subscription","commits_url":"https://api.github.com/repos/moooofly/cadvisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/moooofly/cadvisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/moooofly/cadvisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/moooofly/cadvisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/moooofly/cadvisor/contents/{+path}","compare_url":"https://api.github.com/repos/moooofly/cadvisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moooofly/cadvisor/merges","archive_url":"https://api.github.com/repos/moooofly/cadvisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moooofly/cadvisor/downloads","issues_url":"https://api.github.com/repos/moooofly/cadvisor/issues{/number}","pulls_url":"https://api.github.com/repos/moooofly/cadvisor/pulls{/number}","milestones_url":"https://api.github.com/repos/moooofly/cadvisor/milestones{/number}","notifications_url":"https://api.github.com/repos/moooofly/cadvisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moooofly/cadvisor/labels{/name}","releases_url":"https://api.github.com/repos/moooofly/cadvisor/releases{/id}","deployments_url":"https://api.github.com/repos/moooofly/cadvisor/deployments","created_at":"2018-06-28T07:13:05Z","updated_at":"2018-06-28T07:13:07Z","pushed_at":"2018-06-28T07:30:46Z","git_url":"git://github.com/moooofly/cadvisor.git","ssh_url":"git@github.com:moooofly/cadvisor.git","clone_url":"https://github.com/moooofly/cadvisor.git","svn_url":"https://github.com/moooofly/cadvisor","homepage":"","size":27374,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"b1535b8a39eddaf5761481508cff0bec8ac4c399","user":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":20653934,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY1MzkzNA==","name":"cadvisor","full_name":"google/cadvisor","owner":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/cadvisor","description":"Analyzes resource usage and performance characteristics of running containers.","fork":false,"url":"https://api.github.com/repos/google/cadvisor","forks_url":"https://api.github.com/repos/google/cadvisor/forks","keys_url":"https://api.github.com/repos/google/cadvisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/cadvisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/cadvisor/teams","hooks_url":"https://api.github.com/repos/google/cadvisor/hooks","issue_events_url":"https://api.github.com/repos/google/cadvisor/issues/events{/number}","events_url":"https://api.github.com/repos/google/cadvisor/events","assignees_url":"https://api.github.com/repos/google/cadvisor/assignees{/user}","branches_url":"https://api.github.com/repos/google/cadvisor/branches{/branch}","tags_url":"https://api.github.com/repos/google/cadvisor/tags","blobs_url":"https://api.github.com/repos/google/cadvisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/cadvisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/cadvisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/cadvisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/cadvisor/statuses/{sha}","languages_url":"https://api.github.com/repos/google/cadvisor/languages","stargazers_url":"https://api.github.com/repos/google/cadvisor/stargazers","contributors_url":"https://api.github.com/repos/google/cadvisor/contributors","subscribers_url":"https://api.github.com/repos/google/cadvisor/subscribers","subscription_url":"https://api.github.com/repos/google/cadvisor/subscription","commits_url":"https://api.github.com/repos/google/cadvisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/cadvisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/cadvisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/cadvisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/cadvisor/contents/{+path}","compare_url":"https://api.github.com/repos/google/cadvisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/cadvisor/merges","archive_url":"https://api.github.com/repos/google/cadvisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/cadvisor/downloads","issues_url":"https://api.github.com/repos/google/cadvisor/issues{/number}","pulls_url":"https://api.github.com/repos/google/cadvisor/pulls{/number}","milestones_url":"https://api.github.com/repos/google/cadvisor/milestones{/number}","notifications_url":"https://api.github.com/repos/google/cadvisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/cadvisor/labels{/name}","releases_url":"https://api.github.com/repos/google/cadvisor/releases{/id}","deployments_url":"https://api.github.com/repos/google/cadvisor/deployments","created_at":"2014-06-09T16:36:33Z","updated_at":"2018-06-28T06:53:41Z","pushed_at":"2018-06-27T23:07:42Z","git_url":"git://github.com/google/cadvisor.git","ssh_url":"git@github.com:google/cadvisor.git","clone_url":"https://github.com/google/cadvisor.git","svn_url":"https://github.com/google/cadvisor","homepage":"","size":27374,"stargazers_count":7605,"watchers_count":7605,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1094,"mirror_url":null,"archived":false,"open_issues_count":277,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1094,"open_issues":277,"watchers":7605,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/cadvisor/pulls/1983"},"html":{"href":"https://github.com/google/cadvisor/pull/1983"},"issue":{"href":"https://api.github.com/repos/google/cadvisor/issues/1983"},"comments":{"href":"https://api.github.com/repos/google/cadvisor/issues/1983/comments"},"review_comments":{"href":"https://api.github.com/repos/google/cadvisor/pulls/1983/comments"},"review_comment":{"href":"https://api.github.com/repos/google/cadvisor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/cadvisor/pulls/1983/commits"},"statuses":{"href":"https://api.github.com/repos/google/cadvisor/statuses/f760e2b4d6f97b354333eec1a12e8b26170632b2"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"moooofly"}}