Update jdk used by the docker builds (#37621)
Update jdk used by the docker builds (#37621)

With the release of 11.0.2, the old URLs no longer work. This exposed a
few small bugs in the gradle config. One was that --no-cache was not
present in the docker build command, so it was not failing at
first. Then once only the ext.expansions was changed and the docker
build task was not, it was not executing it.

GlenRSmith/elasticsearch,coding0011/elasticsearch,robin13/elasticsearch,coding0011/elasticsearch,gingerwizard/elasticsearch,scorpionvicky/elasticsearch,nknize/elasticsearch,scorpionvicky/elasticsearch,coding0011/elasticsearch,gingerwizard/elasticsearch,nknize/elasticsearch,gingerwizard/elasticsearch,nknize/elasticsearch,GlenRSmith/elasticsearch,gingerwizard/elasticsearch,scorpionvicky/elasticsearch,coding0011/elasticsearch,GlenRSmith/elasticsearch,HonzaKral/elasticsearch,robin13/elasticsearch,GlenRSmith/elasticsearch,scorpionvicky/elasticsearch,gingerwizard/elasticsearch,uschindler/elasticsearch,HonzaKral/elasticsearch,uschindler/elasticsearch,robin13/elasticsearch,gingerwizard/elasticsearch,scorpionvicky/elasticsearch,GlenRSmith/elasticsearch,nknize/elasticsearch,uschindler/elasticsearch,robin13/elasticsearch,HonzaKral/elasticsearch,uschindler/elasticsearch,coding0011/elasticsearch,uschindler/elasticsearch,HonzaKral/elasticsearch,nknize/elasticsearch,robin13/elasticsearch,gingerwizard/elasticsearch