IMAGE build LAYER shared/alpine3.9 LAYER shared/alpine3.9-java8 LAYER shared/alpine3.9-tomcat8 RUN EOF # Install Tomcat 8 wget https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.53/bin/apache-tomcat-8.0.53.tar.gz -O - | tar xzf - -C /srv mv /srv/apache-tomcat-8.0.53 /srv/tomcat # Make catalina.sh available globally ln -s /srv/tomcat/bin/catalina.sh /usr/bin/catalina.sh # Cleanup rm -rf /srv/tomcat/webapps/ROOT /srv/tomcat/webapps/docs /srv/tomcat/webapps/examples /srv/tomcat/webapps/host-manager /srv/tomcat/webapps/manager EOF COPY lxc