Skip to content

Commit

Permalink
travis: fix Apache Arrow installation on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 27, 2019
1 parent 7c65f39 commit 276825c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
10 changes: 6 additions & 4 deletions travis/Dockerfile.ubuntu-14.04
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ RUN \

RUN \
apt update -qq && \
apt install -qq -y apt-transport-https lsb-release && \
wget -O /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" > \
apt install -qq -y \
apt-transport-https \
curl \
lsb-release && \
curl https://dist.apache.org/repos/dist/dev/arrow/KEYS | apt-key add - \
echo "deb [arch=amd64] 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 && \
apt update -qq && \
apt install -qq -y libarrow-dev
Expand Down
10 changes: 6 additions & 4 deletions travis/Dockerfile.ubuntu-16.04
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ RUN \

RUN \
apt update -qq && \
apt install -qq -y apt-transport-https lsb-release && \
wget -O /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" > \
apt install -qq -y \
apt-transport-https \
curl \
lsb-release && \
curl https://dist.apache.org/repos/dist/dev/arrow/KEYS | apt-key add - \
echo "deb [arch=amd64] 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 && \
apt update -qq && \
apt install -qq -y libarrow-dev
Expand Down
5 changes: 4 additions & 1 deletion travis/Dockerfile.ubuntu-18.04
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ RUN \

RUN \
apt update -qq && \
apt install -qq -y apt-transport-https lsb-release && \
apt install -qq -y \
apt-transport-https \
lsb-release \
wget && \
wget -O /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" > \
Expand Down

0 comments on commit 276825c

Please sign in to comment.