{"action":"created","issue":{"url":"https://api.github.com/repos/moby/buildkit/issues/757","repository_url":"https://api.github.com/repos/moby/buildkit","labels_url":"https://api.github.com/repos/moby/buildkit/issues/757/labels{/name}","comments_url":"https://api.github.com/repos/moby/buildkit/issues/757/comments","events_url":"https://api.github.com/repos/moby/buildkit/issues/757/events","html_url":"https://github.com/moby/buildkit/issues/757","id":391834638,"node_id":"MDU6SXNzdWUzOTE4MzQ2Mzg=","number":757,"title":"[systemd-resolved] Exception when building with buildkit","user":{"login":"nerro","id":5961772,"node_id":"MDQ6VXNlcjU5NjE3NzI=","avatar_url":"https://avatars1.githubusercontent.com/u/5961772?v=4","gravatar_id":"","url":"https://api.github.com/users/nerro","html_url":"https://github.com/nerro","followers_url":"https://api.github.com/users/nerro/followers","following_url":"https://api.github.com/users/nerro/following{/other_user}","gists_url":"https://api.github.com/users/nerro/gists{/gist_id}","starred_url":"https://api.github.com/users/nerro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerro/subscriptions","organizations_url":"https://api.github.com/users/nerro/orgs","repos_url":"https://api.github.com/users/nerro/repos","events_url":"https://api.github.com/users/nerro/events{/privacy}","received_events_url":"https://api.github.com/users/nerro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-17T18:22:41Z","updated_at":"2018-12-18T12:20:57Z","closed_at":"2018-12-18T12:20:57Z","author_association":"NONE","body":"Hey-hey, I'm trying to use buildkit when building docker images in our pipeline and get some strange error (perhaps issue is on my side).\r\n\r\nHere is the log output when I build with buildkit (if I build image without buildkit it works like a charm):\r\n```\r\nRUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends         wget         ca-certificates     && rm -rf /var/lib/apt/lists     && rm -rf /var/log/*     && rm -rf /tmp/*:\r\n#5 33.60 Err http://deb.debian.org wheezy Release.gpg\r\n#5 33.60   Temporary failure resolving 'deb.debian.org'\r\n#5 33.60 Err http://security.debian.org wheezy/updates Release.gpg\r\n#5 33.60   Temporary failure resolving 'security.debian.org'\r\n#5 65.63 Err http://deb.debian.org wheezy-updates Release.gpg\r\n#5 65.63   Temporary failure resolving 'deb.debian.org'\r\n#5 65.64 Reading package lists...\r\n#5 65.65 W: Failed to fetch http://deb.debian.org/debian/dists/wheezy/Release.gpg  Temporary failure resolving 'deb.debian.org'\r\n#5 65.65\r\n#5 65.65 W: Failed to fetch http://security.debian.org/debian-security/dists/wheezy/updates/Release.gpg  Temporary failure resolving 'security.debian.org'\r\n#5 65.65\r\n#5 65.65 W: Failed to fetch http://deb.debian.org/debian/dists/wheezy-updates/Release.gpg  Temporary failure resolving 'deb.debian.org'\r\n#5 65.66\r\n#5 65.66 W: Some index files failed to download. They have been ignored, or old ones used instead.\r\n#5 65.67 Reading package lists...\r\n#5 65.68 Building dependency tree...\r\n#5 65.68 Reading state information...\r\n#5 65.68 E: Unable to locate package wget\r\n#5 65.68 E: Unable to locate package ca-certificates\r\n------\r\nexecutor failed running [/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends         wget         ca-certificates     && rm -rf /var/lib/apt/lists     && rm -rf /var/log/*     && rm -rf /tmp/*]: exit code: 100\r\n```\r\n\r\nDockerfile looks so:\r\n```Dockerfile\r\nFROM debian:wheezy-slim\r\nENV LANG=C.UTF-8\r\nRUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \\\r\n        wget \\\r\n        ca-certificates \\\r\n    && rm -rf /var/lib/apt/lists \\\r\n    && rm -rf /var/log/* \\\r\n    && rm -rf /tmp/*\r\n```\r\n\r\ndocker version output:\r\n```\r\nClient:\r\n Version:           18.09.0\r\n API version:       1.39\r\n Go version:        go1.10.4\r\n Git commit:        4d60db4\r\n Built:             Wed Nov  7 00:49:01 2018\r\n OS/Arch:           linux/amd64\r\n Experimental:      false\r\n\r\nServer: Docker Engine - Community\r\n Engine:\r\n  Version:          18.09.0\r\n  API version:      1.39 (minimum version 1.12)\r\n  Go version:       go1.10.4\r\n  Git commit:       4d60db4\r\n  Built:            Wed Nov  7 00:16:44 2018\r\n  OS/Arch:          linux/amd64\r\n  Experimental:     false\r\n```\r\n\r\nAny suggestions how I can fix it? Thanks."},"comment":{"url":"https://api.github.com/repos/moby/buildkit/issues/comments/448202197","html_url":"https://github.com/moby/buildkit/issues/757#issuecomment-448202197","issue_url":"https://api.github.com/repos/moby/buildkit/issues/757","id":448202197,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODIwMjE5Nw==","user":{"login":"nerro","id":5961772,"node_id":"MDQ6VXNlcjU5NjE3NzI=","avatar_url":"https://avatars1.githubusercontent.com/u/5961772?v=4","gravatar_id":"","url":"https://api.github.com/users/nerro","html_url":"https://github.com/nerro","followers_url":"https://api.github.com/users/nerro/followers","following_url":"https://api.github.com/users/nerro/following{/other_user}","gists_url":"https://api.github.com/users/nerro/gists{/gist_id}","starred_url":"https://api.github.com/users/nerro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerro/subscriptions","organizations_url":"https://api.github.com/users/nerro/orgs","repos_url":"https://api.github.com/users/nerro/repos","events_url":"https://api.github.com/users/nerro/events{/privacy}","received_events_url":"https://api.github.com/users/nerro/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T12:20:57Z","updated_at":"2018-12-18T12:20:57Z","author_association":"NONE","body":"@tonistiigi, thx for quick response.  I'm going to close this issue, since you track it in another issue."}}
{"actor":{"display_login":"nerro"}}