Add a Java base image docker configuration.