message: Add mongo-cxx-driver back to docker
diff: @@ -13,7 +13,7 @@ RUN echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main" >> /et
  && apt-get update \
  && DEBIAN_FRONTEND=noninteractive apt-get install -y git-core automake autoconf libtool build-essential pkg-config libtool \
  mpi-default-dev libicu-dev python-dev python3-dev libbz2-dev zlib1g-dev libssl-dev libgmp-dev \
  - clang-4.0 lldb-4.0 lld-4.0 llvm-4.0-dev libclang-4.0-dev ninja-build \
  + clang-4.0 lldb-4.0 lld-4.0 llvm-4.0-dev libclang-4.0-dev libsasl2-dev ninja-build \
  && rm -rf /var/lib/apt/lists/*
  RUN update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-4.0/bin/clang 400 \
  @@ -61,6 +61,25 @@ RUN git clone --depth 1 git://github.com/cryptonomex/secp256k1-zkp \
  && make install \
  && cd .. && rm -rf secp256k1-zkp
  +RUN wget https://github.com/mongodb/libbson/releases/download/1.9.3/libbson-1.9.3.tar.gz -O - | tar -xz \
  + && cd libbson-1.9.3 \
  + && ./configure --prefix=/usr/local \
  + && cmake -H. -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release \
  + && cmake --build build --target install \
  + && cd .. && rm -rf libbson-1.9.3
  +
  +RUN wget https://github.com/mongodb/mongo-c-driver/releases/download/1.9.3/mongo-c-driver-1.9.3.tar.gz -O - | tar -xz \
  + && cd mongo-c-driver-1.9.3 \
  + && ./configure --disable-automatic-init-and-cleanup --prefix=/usr/local \
  + && cmake -H. -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release \
  + && cmake --build build --target install \
  + && cd .. && rm -rf mongo-c-driver-1.9.3
  +
  +RUN git clone --depth 1 -b releases/stable git://github.com/mongodb/mongo-cxx-driver \
  + && cd mongo-cxx-driver \
  + && cmake -H. -Bbuild -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local\
  + && cmake --build build --target install
  +
  ### If you don't want to change the depedencies, you can comment out above lines and uncomnent the following line to get faster build time.
  # FROM huangminghuang/eos_builder as builder
  @@ -70,8 +89,6 @@ RUN git clone -b master --depth 1 https://github.com/EOSIO/eos.git --recursive \
  -DCMAKE_C_COMPILER=clang -DCMAKE_INSTALL_PREFIX=/opt/eos -DSecp256k1_ROOT_DIR=/usr/local \
  && cmake --build /tmp/build --target install
  -
  -
  FROM ubuntu:16.04
  RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install openssl && rm -rf /var/lib/apt/lists/*
  COPY --from=builder /usr/local/lib/* /usr/local/lib/
  