{"action":"created","issue":{"url":"https://api.github.com/repos/tianon/docker-brew-debian/issues/23","repository_url":"https://api.github.com/repos/tianon/docker-brew-debian","labels_url":"https://api.github.com/repos/tianon/docker-brew-debian/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/tianon/docker-brew-debian/issues/23/comments","events_url":"https://api.github.com/repos/tianon/docker-brew-debian/issues/23/events","html_url":"https://github.com/tianon/docker-brew-debian/issues/23","id":77546414,"number":23,"title":"Add resolvconf in the rootfs archive","user":{"login":"christopherobin","id":308493,"avatar_url":"https://avatars.githubusercontent.com/u/308493?v=3","gravatar_id":"","url":"https://api.github.com/users/christopherobin","html_url":"https://github.com/christopherobin","followers_url":"https://api.github.com/users/christopherobin/followers","following_url":"https://api.github.com/users/christopherobin/following{/other_user}","gists_url":"https://api.github.com/users/christopherobin/gists{/gist_id}","starred_url":"https://api.github.com/users/christopherobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopherobin/subscriptions","organizations_url":"https://api.github.com/users/christopherobin/orgs","repos_url":"https://api.github.com/users/christopherobin/repos","events_url":"https://api.github.com/users/christopherobin/events{/privacy}","received_events_url":"https://api.github.com/users/christopherobin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T07:50:48Z","updated_at":"2016-02-15T23:08:35Z","closed_at":null,"body":"The `resolvconf` package is depended upon by several packages and cannot be installed by any other mean than the rootfs archive that is added at the beginning. This is because it tries to remove `resolv.conf` at install time and docker forbids this sorts of modification to the file.\r\n\r\nIt would really help if it was included. I can do a PR if necessary."},"comment":{"url":"https://api.github.com/repos/tianon/docker-brew-debian/issues/comments/184435033","html_url":"https://github.com/tianon/docker-brew-debian/issues/23#issuecomment-184435033","issue_url":"https://api.github.com/repos/tianon/docker-brew-debian/issues/23","id":184435033,"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},"created_at":"2016-02-15T23:08:35Z","updated_at":"2016-02-15T23:08:35Z","body":"Oh man, this is a nasty one that slipped through the cracks in my email until just now. :disappointed:\r\n\r\nI think the workarounds provided in https://github.com/docker/docker/issues/1297#issuecomment-115360187 are probably worth documenting.  I don't think I've run into a package yet with a _hard_ dependency on `resolvconf`, but I'd love some prominent examples so we can update the docs to mention some of them explicitly.\r\n\r\nFor the sake of completeness, the workarounds provided there are to do one of the following:\r\n```Dockerfile\r\nRUN mkdir -p /var/lib/resolvconf && touch /var/lib/resolvconf/linkified\r\n```\r\nOr:\r\n```Dockerfile\r\nRUN echo 'resolvconf resolvconf/linkify-resolvconf boolean false' | debconf-set-selections\r\n```\r\n\r\n(Both of which should be essentially equivalent, but with the latter probably being more well-supported in the face of future `resolvconf` versions.)"}}