Fail to generate multiple images with docker-compose

Hello,
I have defined a Dockerfile with 3 ubuntu-based images : https://github.com/babonet13/HostYourNode/blob/master/Docker/ubuntu-base/Dockerfile

And I’m trying to generate those 3 images in 1 single step with the “docker-compose up” commande using this .yml file : https://github.com/babonet13/HostYourNode/blob/master/Docker/ubuntu-base/docker-compose.yml

This trial fail ! And I got this error :
satoshi@nakamoto:/HostYourNode/Docker/ubuntu-base$ docker-compose up
ERROR: The Compose file ‘./docker-compose.yml’ is invalid because:
Unsupported config option for services.ubuntu-bin: ‘target’
Unsupported config option for services.ubuntu-pkg: ‘target’
Unsupported config option for services.ubuntu-src: ‘target’
services.ubuntu-bin.build contains an invalid type, it should be a string, or an object
services.ubuntu-pkg.build contains an invalid type, it should be a string, or an object
services.ubuntu-src.build contains an invalid type, it should be a string, or an object

Can you help me to find where the problem come from ?

Best Regards

Bernard