Apache DataFusion SQL Query Engine
ARROW-1765: [Doc] Use dependencies from conda in C++ docker build
Korn, Uwe0e72c58f7d59
diff --git a/dev/gen_apidocs/Dockerfile b/dev/gen_apidocs/Dockerfileindex 0b2844cc84..eaeb548184 100644--- a/dev/gen_apidocs/Dockerfile+++ b/dev/gen_apidocs/Dockerfile@@ -15,8 +15,6 @@# limitations under the License.#FROM ubuntu:14.04-ADD . /apache-arrow-WORKDIR /apache-arrow# Prerequsites for apt-add-repositoryRUN apt-get update && apt-get install -y \software-properties-common python-software-properties@@ -34,14 +32,6 @@ RUN wget -O /tmp/miniconda.sh \https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \bash /tmp/miniconda.sh -b -p /home/ubuntu/miniconda && \rm /tmp/miniconda.sh-# C++ dependencies-RUN /home/ubuntu/miniconda/bin/conda install -c conda-forge \- boost-cpp \- doxygen \- maven \- cmake \- zlib \- thrift-cpp# C_Glib dependenciesRUN apt-get install -y \libgtk2.0-dev \@@ -69,6 +59,7 @@ RUN /home/ubuntu/miniconda/bin/conda create -y -q -n pyarrow-dev \six \setuptools \# C+++ boost-cpp \cmake \flatbuffers \rapidjson \@@ -79,5 +70,9 @@ RUN /home/ubuntu/miniconda/bin/conda create -y -q -n pyarrow-dev \jemalloc \lz4-c \zstd \+ doxygen \+ maven \-c conda-forge+ADD . /apache-arrow+WORKDIR /apache-arrowCMD arrow/dev/gen_apidocs/create_documents.shdiff --git a/dev/gen_apidocs/create_documents.sh b/dev/gen_apidocs/create_documents.shindex afbe041506..762b85222b 100755--- a/dev/gen_apidocs/create_documents.sh+++ b/dev/gen_apidocs/create_documents.sh@@ -16,6 +16,8 @@# limitations under the License.#+set -ex+# Set up environment and output directory for C++ librariescd /apache-arrowrm -rf dist@@ -25,8 +27,6 @@ export ARROW_HOME=$(pwd)/distexport PARQUET_HOME=$(pwd)/distCONDA_BASE=/home/ubuntu/minicondaexport LD_LIBRARY_PATH=$(pwd)/dist/lib:${CONDA_BASE}/lib:${LD_LIBRARY_PATH}-export THRIFT_HOME=${CONDA_BASE}-export BOOST_ROOT=${CONDA_BASE}export PATH=${CONDA_BASE}/bin:${PATH}# Prepare the asf-site before copying api docs@@ -41,6 +41,10 @@ popd# Make Python documentation (Depends on C++ )# Build Arrow C++source activate pyarrow-dev++export ARROW_BUILD_TOOLCHAIN=$CONDA_PREFIX+export PARQUET_BUILD_TOOLCHAIN=$CONDA_PREFIX+rm -rf arrow/cpp/buildmkdir arrow/cpp/buildpushd arrow/cpp/build