Spotter-VM/basic-runtimes/tomcat.lxcfile

19 lines
554 B
Plaintext
Raw Normal View History

2018-09-05 18:25:27 +02:00
IMAGE build
2018-09-05 17:41:38 +02:00
LAYER shared/alpine
LAYER shared/java
LAYER shared/tomcat
SCRIPT
# Install Tomcat 8
2018-09-06 21:15:43 +02:00
wget http://mirror.hosting90.cz/apache/tomcat/tomcat-8/v8.0.53/bin/apache-tomcat-8.0.53.tar.gz | tar xzf - -C /srv
2018-09-05 17:41:38 +02:00
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
RUN
2018-09-05 21:21:07 +02:00
COPY lxc-tomcat