Rook is composed of a golang project and can be built directly with standard golang
tools,
and storage software (like Ceph) that are built inside containers. We currently support
these platforms for building:
Recommend 2+ cores, 8+ GB of memory and 128GB of SSD. Inside your build environment (Docker for Mac or a VM), 2+ GB memory is also recommended.
The following tools are need on the host:
You can build the Rook binaries and all container images for the host platform by simply running the
command below. Building in parallel with the -j
option is recommended.
make -j4 build
Run make help
for more options.
Every PR and every merge to master triggers the CI process in GitHub actions. On every commit to PR and master the CI will build, run unit tests, and run integration tests. If the build is for master or a release, the build will also be published to dockerhub.com.
You can also run the build for all supported platforms:
make -j4 build.all