Use volumes for volatile directories. Use "tomcat" instead of "tomcat7" for CATALINA_BASE to help insulate child images from the version.