Change base image for official java and refactoring build instructions