This directory contains the Dockerfiles used to build the CI system.
These are not the Dockerfiles that build the rayproject/ray
releases. These
are found in the /docker
directory under the root.
The Dockerfiles are hierarchical and will be built in different places during a CI run.
The base images are built per-branch either when they are first requested or on a periodic basis (for the master branch). The base images contain the latest dependencies of the respective branch. Every per-commit build will always install the latest dependencies to make sure everything is up to date. However, by using the base images as a source, this will mostly be a no or low cost operation.
base.test.Dockerfile
contains common dependencies for all imagesbase.build.Dockerfile
inherits frombase.test
and installs build dependencies like Java and LLVMbase.ml.Dockerfile
inherits frombase.test
and installs ML dependencies like torch/tensorflowbase.gpu.Dockerfile
inherits from a CUDA base image and otherwise contains the same content asbase.test
andbase.ml
.
On every commit, the following images are built in this order:
build.Dockerfile
(based onbase.build
) which will build the Ray binariestest.Dockerfile
(based onbase.test
), where we will inject the built Ray librariesml.Dockerfile
(based onbase.ml
), where we will inject the built Ray librariesgpu.Dockerfile
(based onbase.ml
), where we will inject the built Ray libraries