- Docker should be installed.
- nvidia-docker should be installed.
In the root path of cuDF repo, run below command to build the docker image.
docker build -f java/ci/Dockerfile.centos7 --build-arg CUDA_VERSION=10.1 -t cudf-build:10.1-devel-centos7 .We support different CUDA versions as below:
- CUDA 10.1
- CUDA 10.2
- CUDA 11.0
Change the --build-arg CUDA_VERSION to what you need. You can replace the tag "cudf-build:10.1-devel-centos7" with another name you like.
Run below command to start a docker container with GPU.
nvidia-docker run -it cudf-build:10.1-devel-centos7 bashYou can download the cuDF repo in the docker container or you can mount it into the container. Here I choose to download again in the container.
git clone --recursive https://github.com/rapidsai/cudf.git -b branch-0.17cd cudf
export WORKSPACE=`pwd`
scl enable devtoolset-7 "java/ci/build-in-docker.sh"You can find the cuDF jar in java/target/ like cudf-0.17-SNAPSHOT-cuda10-1.jar.