This repo contains files useful for building and developing FoundationDB. In particular it contains the docker image definitions used by FoundationDB team members for development, and the image definitions used by the FoundationDB CI/CD system.
Here's an example on how to build FoundationDB using the build image. First you need to run the container:
docker pull foundationdb/build:centos7-latest
docker run -it foundationdb/build:centos7-latest
Then, inside the container, you can run:
source /opt/rh/devtoolset-8/enable
source /opt/rh/rh-python38/enable
source /opt/rh/rh-ruby27/enable
git clone https://github.com/apple/foundationdb.git
mkdir build && cd build
cmake -G Ninja ../foundationdb
ninja # If this crashes it probably ran out of memory. Try ninja -j1