{"action":"closed","issue":{"url":"https://api.github.com/repos/vapor/toolbox/issues/83","repository_url":"https://api.github.com/repos/vapor/toolbox","labels_url":"https://api.github.com/repos/vapor/toolbox/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/vapor/toolbox/issues/83/comments","events_url":"https://api.github.com/repos/vapor/toolbox/issues/83/events","html_url":"https://github.com/vapor/toolbox/issues/83","id":176248466,"number":83,"title":"Dockerfile update is required to use curl as it failed during docker build process","user":{"login":"dhamukrish","id":9908852,"avatar_url":"https://avatars.githubusercontent.com/u/9908852?v=3","gravatar_id":"","url":"https://api.github.com/users/dhamukrish","html_url":"https://github.com/dhamukrish","followers_url":"https://api.github.com/users/dhamukrish/followers","following_url":"https://api.github.com/users/dhamukrish/following{/other_user}","gists_url":"https://api.github.com/users/dhamukrish/gists{/gist_id}","starred_url":"https://api.github.com/users/dhamukrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhamukrish/subscriptions","organizations_url":"https://api.github.com/users/dhamukrish/orgs","repos_url":"https://api.github.com/users/dhamukrish/repos","events_url":"https://api.github.com/users/dhamukrish/events{/privacy}","received_events_url":"https://api.github.com/users/dhamukrish/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-11T15:12:58Z","updated_at":"2016-09-14T14:42:17Z","closed_at":"2016-09-14T14:42:17Z","body":"I am trying to fix one of the vapor docker issue and came across this error. Please note I was running all the commands directly rather than using `vapor docker` commands to figure out from console output.\r\n\r\n`/usr/bin/swift-build: error while loading shared libraries: libcurl.so.4: cannot open shared object file: `\r\n\r\nTo fix above error, we need to update Dockerfile located at `docker.vapor.sh` (`vapor docker init`).\r\n\r\n```\r\nRUN apt-get update && \\\r\n    apt-get install -y build-essential wget clang curl libedit-dev python2.7 python2.7-dev libicu52 rsync libxml2 git && \\\r\n    apt-get clean && \\\r\n    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*\r\n```\r\n\r\nCommands I used\r\n\r\n`docker build --rm -t vapor/swift:DEVELOPMENT-SNAPSHOT-2016-09-06-a --build-arg SWIFT_VERSION=DEVELOPMENT-SNAPSHOT-2016-09-06-a .\r\n`\r\n\r\n`docker run --rm -it -v $(PWD):/vapor -p 8080:8080 vapor/swift:DEVELOPMENT-SNAPSHOT-2016-09-06-a\r\n`\r\n\r\nPlease advise"}}
{"actor":{"display_login":"dhamukrish"}}