See phpbrew/phpbrew on Docker Hub https://hub.docker.com/r/phpbrew/phpbrew/tags
The build script already provides the magic to build all the images:
./build
To build the phpbrew base image only:
./build phpbrew-base
To build a specific image only:
./build phpbrew/18.04-minimum