Spotter-VM/lxc-shared/alpine3.9-tomcat7/lxcfile

22 lines
578 B
Plaintext
Raw Normal View History

2019-09-18 11:29:58 +02:00
IMAGE alpine3.9-tomcat7_7.0.94-190620
2019-11-30 09:59:32 +01:00
FROM alpine3.9-java8_8.212.04-190620
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
# 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
2019-09-18 11:29:58 +02:00
RUN catalina.sh run