Update JVM dockerfile to fix build stability

Merge request reports