{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/folly/issues/336","labels_url":"https://api.github.com/repos/facebook/folly/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/facebook/folly/issues/336/comments","events_url":"https://api.github.com/repos/facebook/folly/issues/336/events","html_url":"https://github.com/facebook/folly/issues/336","id":112434439,"number":336,"title":"Add ./build/deps_ubuntu_14.04.sh similar to ./build/deps_ubuntu_12.04.sh ?","user":{"login":"kevinquinnyo","id":593681,"avatar_url":"https://avatars.githubusercontent.com/u/593681?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinquinnyo","html_url":"https://github.com/kevinquinnyo","followers_url":"https://api.github.com/users/kevinquinnyo/followers","following_url":"https://api.github.com/users/kevinquinnyo/following{/other_user}","gists_url":"https://api.github.com/users/kevinquinnyo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinquinnyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinquinnyo/subscriptions","organizations_url":"https://api.github.com/users/kevinquinnyo/orgs","repos_url":"https://api.github.com/users/kevinquinnyo/repos","events_url":"https://api.github.com/users/kevinquinnyo/events{/privacy}","received_events_url":"https://api.github.com/users/kevinquinnyo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-20T18:47:02Z","updated_at":"2015-10-20T18:47:02Z","closed_at":null,"body":"We're pre-compling binaries for .deb packages via docker to improve deployment speed on instances that utilize facebook/mcrouter for ubuntu 12.04 and ubuntu 14.04, and inside our Dockerfile we have logic like this:\r\n\r\n```\r\nRUN apt-get -y update && if [ ${RELEASE} = \"12.04\" ]; then \\\r\n        ./build/deps_ubuntu_12.04.sh && apt-get -y install libboost-program-options1.54-dev; \\\r\n        else \\\r\n        apt-get install -y \\\r\n        software-properties-common \\\r\n        python-software-properties \\\r\n        autoconf \\\r\n        binutils-dev \\\r\n        g++ \\\r\n        gcc \\\r\n        libboost-context1.54-dev \\\r\n        libboost-filesystem1.54-dev \\\r\n        libboost-program-options1.54-dev \\\r\n        libboost-regex1.54-dev \\\r\n        libboost-system1.54-dev \\\r\n        libboost-thread1.54-dev \\\r\n        libboost1.54-dev \\\r\n        libdouble-conversion-dev \\\r\n        libevent-dev \\\r\n        libgflags-dev \\\r\n        libgoogle-glog-dev \\\r\n        libssl-dev \\\r\n        libtool \\\r\n        make \\\r\n        python-dev \\\r\n        ragel; \\\r\nfi\r\n```\r\n\r\nIf there were a `./build/deps_ubuntu_14.04.sh` it would make our downstream Dockerfile simpler and more reliable since the dependencies would be defined by folly instead of us for ubuntu 14.04.\r\n\r\nI believe most of what's in `./build/deps_ubuntu_12.04.sh` do not apply for 14.04 and the only thing required are the toolchain packages above and the dev packages.\r\n\r\nIs this something you'd be interested in looking into, or would you accept a PR if I added a very simple `/build/deps_ubuntu_14.04.sh`?\r\n\r\n\r\n"}}