Apache DataFusion SQL Query Engine
ARROW-2350: Consolidated RUN step in spark_integration Dockerfile
James Lambbacc1ddd82b0
diff --git a/dev/spark_integration/Dockerfile b/dev/spark_integration/Dockerfileindex d1b3cf89f0..f96ee35789 100644--- a/dev/spark_integration/Dockerfile+++ b/dev/spark_integration/Dockerfile@@ -17,24 +17,23 @@FROM maven:3.5.2-jdk-8-slim# Basic OS utilities-RUN apt-get update && apt-get install -y \+RUN apt-get update && \+ apt-get install -y \wget \- git build-essential \- software-properties-common--# This will install conda in /home/ubuntu/miniconda-RUN wget -O /tmp/miniconda.sh \+ git \+ build-essential \+ software-properties-common && \+ apt-get clean && \+ # install conda in /home/ubuntu/miniconda+ 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--# Python dependencies-RUN apt-get install -y \- pkg-config--# Create Conda environment-ENV PATH="/home/ubuntu/miniconda/bin:${PATH}"-RUN conda create -y -q -n pyarrow-dev \+ rm /tmp/miniconda.sh && \+ # Python dependencies+ apt-get install -y \+ pkg-config && \+ # Create Conda environment+ /home/ubuntu/miniconda/bin/conda create -y -q -n pyarrow-dev \# Pythonpython=2.7 \numpy \@@ -59,7 +58,10 @@ RUN conda create -y -q -n pyarrow-dev \jemalloc \lz4-c \zstd \- -c conda-forge+ -c conda-forge && \+ /home/ubuntu/miniconda/bin/conda clean --all++ENV PATH="/home/ubuntu/miniconda/bin:${PATH}"ADD . /apache-arrowWORKDIR /apache-arrow