docker: Refactor of buildDocker.sh (#1982)
docker: Refactor of buildDocker.sh (#1982)

* docker: Refactor of buildDocker.sh

* Code standards fixes

* Improve logic to set JDK_MAX / JDK_GA in buildDocker.sh
karianna/openjdk-build,karianna/openjdk-build,AdoptOpenJDK/openjdk-build,AdoptOpenJDK/openjdk-build