Dockerfile for Java: switched from branches to subfolders