The JDK21 preview build failed with the jdk download scripts, kept as is since it's already a bit different than the other Linux Dockerfiles.
For Windows images:
Using the happy path of api.adoptium.net, retrieving the MSI installer from jdk version only (retrieving it from the GitHub releases requires the use of several variation of the jdk version)
Using a Windows Server Core jdk-core base image for the nanoserver image: we can't use a nanoserver one as we need to retrieve some files from a Windows Server Core anyway.
### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue
This PR switches from Temurin base images to the Temurin installer.
Benefits:
Notes:
Ref:
Testing done
Local builds + CI