Skip to content

Instantly share code, notes, and snippets.

@wesm
Created October 21, 2017 02:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wesm/1e1f05868f94521950e623d29d40f2c6 to your computer and use it in GitHub Desktop.
Save wesm/1e1f05868f94521950e623d29d40f2c6 to your computer and use it in GitHub Desktop.
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM base/archlinux
RUN pacman -Syu && \
pacman -S --noconfirm --needed base-devel
RUN pacman -S --noconfirm --needed \
wget git cmake doxygen
RUN mkdir /home/root
RUN wget -O /tmp/miniconda.sh \
https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
bash /tmp/miniconda.sh -b -p /home/root/miniconda && \
rm /tmp/miniconda.sh
WORKDIR /home/root
RUN mkdir toolchain
RUN /home/root/miniconda/bin/conda install -c conda-forge \
-p /home/root/toolchain \
boost-cpp \
maven \
zlib \
thrift-cpp \
snappy \
flatbuffers \
brotli \
lz4-c \
zstd \
gflags \
rapidjson
ENV BOOST_ROOT /home/root/toolchain
ENV ARROW_BUILD_TOOLCHAIN /home/root/toolchain
RUN git clone https://github.com/apache/arrow.git &&\
mkdir arrow/cpp/build
WORKDIR /home/root/arrow/cpp/build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment