Build docker image with
$ docker build -t local/antora:custom -f Dockerfile.custom
Create an antora playbook named antora-playbook-from-scratch.yml
and build it with
$ docker run -u $(id -u) -v $PWD:/antora:Z --rm -t local/antora:custom antora-playbook-from-scratch.yml