Update JVM dockerfile to current standard to fix image stability

Merge request reports