Build the infrastructure Docker image:
docker build -t --build-arg YB_VERSION=2.7.1.1 yb-psql-ext-build-infra:2.7.1.1 .
On a 44 core machine the Docker image build process takes close to an hour. The resulting image is 18.2GB 12.3GB in size.
Assuming that the extension sources reside in $(pwd)/extension
:
docker run --rm \
-v $(pwd)/extension:/yb-source/build/release-gcc-dynamic-ninja/extension \
-ti yb-psql-ext-build-infra:2.7.1.1