various dockerfile improvements

Rationale:

  • java 14 is no longer supported and is not an LTS version
  • using the gradle wrapper instead of the gradle image ensures that the gradle version in the image is the same as the gradle version when building locally. See https://docs.gradle.org/current/userguide/gradle_wrapper.html
  • adoptopenjdk is just a personal preference over oracles openjdk builds
Edited by Jakob Leonard Hördt