Created
September 27, 2019 11:25
-
-
Save tschm/8141a9b410aad183e12341f0e62c9d31 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rocker/rstudio:3.6.1 | |
# see https://arrow.apache.org/install/ | |
# rocker/rstudio is based on debian | |
RUN apt update && \ | |
apt install -y -V apt-transport-https curl gnupg lsb-release apt-utils | |
RUN echo "deb http://deb.debian.org/debian $(lsb_release --codename --short)-backports main contrib" >> /etc/apt/sources.list.d/backports.list && \ | |
curl --output /usr/share/keyrings/apache-arrow-keyring.gpg https://dl.bintray.com/apache/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-keyring.gpg && \ | |
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/apache-arrow-keyring.gpg] https://dl.bintray.com/apache/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/ $(lsb_release --codename --short) main" >> /etc/apt/sources.list.d/apache-arrow.list && \ | |
echo "deb-src [signed-by=/usr/share/keyrings/apache-arrow-keyring.gpg] https://dl.bintray.com/apache/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/ $(lsb_release --codename --short) main" >> /etc/apt/sources.list.d/apache-arrow.list && \ | |
curl https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - && \ | |
echo "deb http://apt.llvm.org/$(lsb_release --codename --short)/ llvm-toolchain-$(lsb_release --codename --short)-7 main" >> /etc/apt/sources.list.d/llvm.list && \ | |
echo "deb-src http://apt.llvm.org/$(lsb_release --codename --short)/ llvm-toolchain-$(lsb_release --codename --short)-7 main" >> /etc/apt/sources.list.d/llvm.list && \ | |
echo "deb http://deb.debian.org/debian $(lsb_release --codename --short) contrib" >> /etc/apt/sources.list.d/contrib.list && \ | |
echo "deb http://deb.debian.org/debian $(lsb_release --codename --short) non-free" >> /etc/apt/sources.list.d/non-free.list | |
RUN apt update && \ | |
apt install -y -V -f \ | |
libarrow-dev \ | |
libarrow-glib-dev \ | |
libarrow-flight-dev \ | |
libparquet-dev \ | |
libparquet-glib-dev \ | |
libgandiva-dev \ | |
libgandiva-glib-dev \ | |
libplasma-dev \ | |
libplasma-glib-dev \ | |
libxml2-dev | |
RUN install2.r --error \ | |
--deps TRUE \ | |
arrow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment