Note: jlink on Windows should be properly tested, might worth its own issue.
Extracted here if it needs to be merged separately.
Testing done
### 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 sets jlink compression arg to
zip-6
for Windows jdk21 image like it's done in Linux jdk21 images.From https://github.com/jenkinsci/docker/pull/1857:
Extracted here if it needs to be merged separately.
Testing done