The "build" target in the Makefile uses the current git branch name as version tag for all newly built Docker images. However, the images of Hadoop components (namenode, etc.) are not based on the newly built "hadoop-base" image. Instead, the version of the hadoop-base image is hardwired in the Dockerfiles off the components. The Makefile should pass the tag/version of "hadoop-base" image forward to Docker builds of components, so that all newly built component images are based on the same "hadoop-base" image.
The "build" target in the Makefile uses the current git branch name as version tag for all newly built Docker images. However, the images of Hadoop components (namenode, etc.) are not based on the newly built "hadoop-base" image. Instead, the version of the hadoop-base image is hardwired in the Dockerfiles off the components. The Makefile should pass the tag/version of "hadoop-base" image forward to Docker builds of components, so that all newly built component images are based on the same "hadoop-base" image.