-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
30 lines (25 loc) · 1004 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ARG UBUNTU_TAG=focal
# FROM ubuntu:${UBUNTU_TAG} as ubuntu
FROM rapidsai/rapidsai-core-dev-nightly:21.08-cuda11.2-devel-ubuntu20.04-py3.8 as ubuntu
ENV DEBIAN_FRONTEND noninteractive
FROM ubuntu as basics
RUN apt-get update && \
apt-get install -y \
g++ \
make \
git \
curl \
pkg-config \
uuid-dev \
libboost1.71-dev \
libcuda1-340
RUN curl -L https://github.com/Kitware/CMake/releases/download/v3.20.5/cmake-3.20.5-linux-x86_64.tar.gz | tar xz --strip-components=1 -C /usr
FROM basics as arrow
RUN apt-get update
RUN apt-get install -y -V ca-certificates lsb-release wget && \
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 && \
apt-get install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
apt-get update && \
apt-get install -y -V libarrow-dev
COPY jsontest/cpp /src
ENTRYPOINT ["/bin/bash"]