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
|
|
|
|
|
2018-09-12 16:08:10 +02:00
|
|
|
RUN EOF
|
2018-09-05 17:41:38 +02:00
|
|
|
# Install Tomcat 8
|
2018-09-12 14:19:36 +02:00
|
|
|
wget http://mirror.hosting90.cz/apache/tomcat/tomcat-8/v8.0.53/bin/apache-tomcat-8.0.53.tar.gz -O - | 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
|
2018-09-12 16:08:10 +02:00
|
|
|
EOF
|
2018-09-05 17:41:38 +02:00
|
|
|
|
2018-09-05 21:21:07 +02:00
|
|
|
COPY lxc-tomcat
|