2019-06-25 15:56:35 +02:00
|
|
|
IMAGE alpine3.9-tomcat7 7.0.94-190620
|
|
|
|
META title Alpine 3.9 Tomcat 7
|
|
|
|
META desc-cs Základní LXC vrstva s JSP a servlet kontejnerem Tomcat 7
|
|
|
|
META desc-en Basic LXC layer with Tomcat 7 JSP and servlet container
|
|
|
|
META type layer
|
|
|
|
META license GPL
|
|
|
|
|
|
|
|
LAYER alpine3.9 3.9.4-190620
|
|
|
|
LAYER alpine3.9-java8 8.212.04-190620
|
2019-03-01 12:21:49 +01:00
|
|
|
|
|
|
|
RUN EOF
|
|
|
|
# Install Tomcat 7
|
2019-05-08 10:00:49 +02:00
|
|
|
wget https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz -O - | tar xzf - -C /srv
|
|
|
|
mv /srv/apache-tomcat-7.0.94 /srv/tomcat
|
2019-03-01 12:21:49 +01:00
|
|
|
|
|
|
|
# Make catalina.sh available globally
|
|
|
|
ln -s /srv/tomcat/bin/catalina.sh /usr/bin/catalina.sh
|
|
|
|
|
|
|
|
# Cleanup
|
|
|
|
rm -f /srv/tomcat/bin/tomcat-native.tar.gz
|
|
|
|
rm -f /srv/tomcat/temp/safeToDelete.tmp
|
|
|
|
rm -rf /srv/tomcat/webapps
|
|
|
|
mkdir /srv/tomcat/webapps
|
|
|
|
EOF
|
|
|
|
|
|
|
|
COPY lxc
|