From bdfd8602843df862e46355323e74d8b5d677278b Mon Sep 17 00:00:00 2001 From: Harvey Tuch Date: Tue, 31 Jan 2017 10:38:38 -0500 Subject: [PATCH] Add c-ares 1.12.0 to Docker image (#143). --- ci/build_container/build_container.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ci/build_container/build_container.sh b/ci/build_container/build_container.sh index 7347db131da5..60235c93197e 100755 --- a/ci/build_container/build_container.sh +++ b/ci/build_container/build_container.sh @@ -4,7 +4,7 @@ set -e # Setup basic requirements and install them. apt-get update -apt-get install -y wget software-properties-common make cmake git python python-pip clang-format-3.6 bc +apt-get install -y wget software-properties-common make cmake git python python-pip clang-format-3.6 bc libtool automake apt-get install -y golang add-apt-repository -y ppa:ubuntu-toolchain-r/test apt-get update @@ -65,6 +65,16 @@ make install cd .. rm -fr nghttp2* +# c-ares +wget https://github.com/c-ares/c-ares/archive/cares-1_12_0.tar.gz +tar xf cares-1_12_0.tar.gz +cd c-ares-cares-1_12_0 +./buildconf +./configure --prefix=$THIRDPARTY_BUILD --enable-shared=no --enable-lib-only +make install +cd .. +rm -fr cares* c-ares* + # protobuf wget https://github.com/google/protobuf/releases/download/v3.0.0/protobuf-cpp-3.0.0.tar.gz tar xf protobuf-cpp-3.0.0.tar.gz