Skip to content

Apache DataFusion SQL Query Engine

ARROW-3057: [INTEGRATION] Fix spark and hdfs dockerfiles

Krisztián Szűcs039ef3f52d3f
diff --git a/dev/hdfs_integration/Dockerfile b/dev/hdfs_integration/Dockerfile
index 1279efc06e..56b8cb14b8 100644
--- a/dev/hdfs_integration/Dockerfile
+++ b/dev/hdfs_integration/Dockerfile
@@ -33,8 +33,10 @@ RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -
&& /bin/bash conda.sh -b -p /opt/conda \
&& rm conda.sh
+ENV PATH="/opt/conda/bin:${PATH}"
+
RUN conda create -y -q -c conda-forge -n pyarrow-dev \
- python=$1 \
+ python=3.6 \
ipython \
matplotlib \
nomkl \
@@ -60,8 +62,6 @@ RUN conda create -y -q -c conda-forge -n pyarrow-dev \
setuptools_scm \
&& conda clean --all
-ENV PATH="/opt/conda/bin:${PATH}"
-
# installing in the previous step boost=1.60 and boost-cpp=1.67 gets installed,
# cmake finds 1.60 and parquet fails to compile
# installing it in a separate step, boost=1.60 and boost-cpp=1.64 gets
diff --git a/dev/spark_integration/Dockerfile b/dev/spark_integration/Dockerfile
index 84b93c9a6e..81b801cc62 100644
--- a/dev/spark_integration/Dockerfile
+++ b/dev/spark_integration/Dockerfile
@@ -17,21 +17,19 @@
FROM maven:3.5.2-jdk-8-slim
# Basic OS utilities
-RUN apt-get update && \
- apt-get install -y \
- wget \
- 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 /opt/conda && \
- rm /tmp/miniconda.sh && \
- # Python dependencies
- apt-get install -y \
- pkg-config && \
+RUN apt-get update \
+ && apt-get install -y \
+ wget \
+ git \
+ pkg-config \
+ build-essential \
+ software-properties-common \
+ && apt-get clean
+
+# install conda in /home/ubuntu/miniconda
+RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O conda.sh \
+ && /bin/bash conda.sh -b -p /opt/conda \
+ && rm conda.sh
ENV PATH="/opt/conda/bin:${PATH}"