22 lines
577 B
Plaintext
22 lines
577 B
Plaintext
IMAGE build
|
|
LAYER shared/alpine3.9
|
|
LAYER shared/alpine3.9-java8
|
|
LAYER shared/alpine3.9-tomcat7
|
|
|
|
RUN EOF
|
|
# Install Tomcat 7
|
|
wget https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.93/bin/apache-tomcat-7.0.93.tar.gz -O - | tar xzf - -C /srv
|
|
mv /srv/apache-tomcat-7.0.93 /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
|