Skip to content

Instantly share code, notes, and snippets.

@flavono123
Created August 3, 2022 02:20
Show Gist options
  • Select an option

  • Save flavono123/8d8a950ad8944dbd3e2a41b68177eeef to your computer and use it in GitHub Desktop.

Select an option

Save flavono123/8d8a950ad8944dbd3e2a41b68177eeef to your computer and use it in GitHub Desktop.
Install the "red-parquet" in Ubuntu bionic, RVM
FROM ubuntu:bionic
# Prerequisuite
RUN apt update && apt install -y ca-certificates lsb-release wget software-properties-common
# Libarrow
## ref. https://arrow.apache.org/install/
RUN wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
RUN apt install -y ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && apt update
RUN apt install -y libarrow-dev
# Ruby
RUN apt-add-repository -y ppa:rael-gc/rvm && apt update && apt install -y rvm
SHELL ["/bin/bash", "-c", "-l"]
RUN rvm use 2.7.1 --install --binary --fuzzy && gem install red-parquet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment